WordPress Default Theme Navigation
-
I’m trying to remove the “next” and “previous” post links above each post that I have on my blog (using default Kubrick theme)
So what I’m talking about are the links between the header and the actual post.
I searched around, and found out that I need to change “add_action” to “remove_action” in the default-filters php file, located in wp-includes folder.
Here’s what I’ve done:
remove_action( ‘wp_head’, ‘parent_post_rel_link’, 10, 0 );
remove_action( ‘wp_head’, ‘start_post_rel_link’, 10, 0 );
remove_action( ‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0 );However, the problem is that I still get the links displayed to next and previous posts, as normal.
Any ideas?
Thanks in advance
- The topic ‘WordPress Default Theme Navigation’ is closed to new replies.