adjacent_rel_links doesn't seem to output the expected code
-
Hello there,
I have a CPT with archives enabled. As per the code in the adjacent_rel_links function I was expecting the rel=prev and rel=next output on my code, but there is anything.
I have added these two lines in the functions.php code
remove_action( ‘wp_head’, ‘parent_post_rel_link’); // Removes the prev link
remove_action( ‘wp_head’, ‘start_post_rel_link’); // Removes the start linkto prevent WP to output the next and prev all the time, but this doesn’t seem to be the problem as commenting them out the issue is still there.
Can you please advice?
- The topic ‘adjacent_rel_links doesn't seem to output the expected code’ is closed to new replies.