Home / functions.php / Remove previous and next post links
  • How to Remove previous and next post links

    no thumbnail sorry: Remove previous and next post links

    Adding this PHP code to the functions.php of your wordpress theme will remove the previous and next post links within the wp_head of your wordpress theme.

    ( click code to copy )

    wordpress snippet : PHP

    <>
    remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0 );
    

    ( WordPress codex functions, hooks, in this snippet. )

    wp_head, remove_action, wp,