I had a problem: prev, next, shortlink links in page head

I had a problem: prev, next, shortlink links in page head

WordPress › Support » Remove Post Relational Links from wp_head theme development - How to remove “prev, next, shortlink” from wp_head()? - WordPress Development Stack Exchange

I could do this: add_action( 'wpseo_head', array( $this, 'adjacent_rel_links' ), 21 );

/Removes prev and next links/ remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’);

wp_shortlink_wp_head

global $paged;

No. You’re doing your themes wrong if wp_query has a paged and a max pages setting there. Not something to fix in my plugin but in your theme…

date 01. Jan 0001 | modified 10. Jun 2024
filename: Problem - Wordpress - Prev & Next in page head