Tagged Questions
0
votes
3answers
547 views
Generating rel=prev and rel=next only on wordpress categories
I was trying to remove the rel=prev and rel=next tags from my website as my SEO gut suggested. I found those functions which perfectly do the magic:
remove_action('wp_head', 'start_post_rel_link', ...
0
votes
2answers
159 views
How to internationalize header image?
I have in the following code in the template:
<img src="<?php header_image(); ?>" />
However, I want to change this image according to the language selected (through GET parameter ...
2
votes
3answers
3k views
How to set custom cookies before output
What's a surefire way to check/set cookies before the php headers are sent? Is there an action or filter that would be the best place to hook a setcookie() function?