How can I make my Blog category unindexed in Google?

Add the <meta name=”robots” content=”noindex”> meta tag within your <head>. Then look into is_category() to add it specifically to your category pages. Or alternatively, you can check if $cat_id is available: $cat_id = get_query_var(‘cat’); If it is available, then it is a category page. EDIT Just add it in an IF statement: if (is_category()){ <meta … Read more

Possibilities for customising the standard wordpress gallery?

Gallery shortcode output is handled by gallery_shortcode function. If you look at the source code I linked you can udersand there are different way to customize the output: Using filters You can completely override gallery output using ‘post_gallery’ filter. Customize size via atts One of the argument you can pass to function using shortcode is … Read more

Exclude the word comment from being referenced

I found a solution to add rel=”nofollow” to comments. My theme maker gave me this hack that you can add in functions.php (no guarantee it will work for everyone, might depend on your theme): function add_nofollow_to_comments_popup_link() { return ‘ rel=”nofollow” ‘; } add_filter( ‘comments_popup_link_attributes’, ‘add_nofollow_to_comments_popup_link’ );

Genesis / custom template page / setting the page title and meta desc

Yoast Support kindly provided me with the following reference: https://yoast.com/wordpress/plugins/seo/api/ Using the following filters calling my own functions, I was able to change everything in the header based on dynamic content. add_filter(‘wpseo_title’, ‘setPageTitle’, 10); add_filter(‘wpseo_metadesc’, ‘setMetaDesc’, 10); add_filter(‘wpseo_canonical’, ‘setCanonical’, 10); add_filter(‘wpseo_opengraph_image’, ‘setOG_Image’, 10); add_filter(‘the_title’, ‘setTitle’, 10);

Which Multi-language option for WordPress is best from an SEO and Woocommerce perspective?

If you need true localization, like a different checkout process, different themes or product descriptions, then you should use a multisite. You can activate plugins and themes per site here. The problem here is that almost all shopping plugins are not multisite compatible. You have to activate them per site, not as network plugin, or … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)