Question
I'm trying to override WP's default URL structure for attachments where, if they're attached to a post, the URL is /post-slug/attachment-slug/ and if not it's simply /attachment-slug/. What I'd like instead is for attachments to behave like posts in that they ...
0
, 2 months 0 Answers 28 views

Question
I am using the following snippet in my functions.php. function add_noindex() { if(is_archive()) { echo '<meta name="robots" content="noindex,follow" />'; } } add_action( 'wp_head', 'add_noindex' ); I thought this would noindex all ...
0
, , 3 months 0 Answers 38 views

Question
I'm using the monthly archives on my website but my loop is currently displaying my posts this way : Category title Post title 1 Category title Post title 2 etc.. What I want to do is displaying all the posts from the active months grouped by ...
0
3 months 0 Answers 40 views