Skip to content
View yanceyk's full-sized avatar
🙃
I may be slow to respond.
🙃
I may be slow to respond.

Block or report yanceyk

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. my-fcc-projects my-fcc-projects Public

    Assets for my FCC projects

    CSS

  2. Generates social sharing icons and l... Generates social sharing icons and links for single posts and WooCommerce products.
    1
    <?php
    2
    /**
    3
     * Generates social sharing icons and links for posts and products.
    4
     * 
    5
     * For best results, make sure your site already includes OpenGraph support. 
  3. Prevent direct access via URL to a W... Prevent direct access via URL to a WordPress page
    1
    <?php 
    2
    function prefix_no_direct_access() {
    3
    	// Define Page URL for redirect.
    4
    	$careers = get_permalink( get_page_by_title( 'Careers' ) );
    5
    	
  4. Hide the price range for WooCommerce... Hide the price range for WooCommerce Variable Products and add 'from' text before the price.
    1
    <?php
    2
    	//Customizes the 'from' text span.
    3
    	add_filter( 'woocommerce_get_price_html_from_text', function( $html ) {
    4
        	$from_HTML = str_replace(
    5
    			_x( 'From:', 'min_price', 'textdomain' ) . ' </span>',
  5. Move WooCommerce Store Notice ABOVE ... Move WooCommerce Store Notice ABOVE Page Header
    1
    <?php
    2
    /**
    3
     * Unregister WooCommerce Store Notice from 'wp_footer' action
    4
     */
    5
    remove_action( 'wp_footer', 'woocommerce_demo_store' );