Moderator
t-p
(@t-p)
Does it work if you switched to the default Theme (Twenty Seventeen)?
Yes I started with Transference then its parent. Tried about 8 more of which only 2 didnt do it. The links are pretty random which makes me think an old plugin but they are all gone.
Moderator
t-p
(@t-p)
If it works with the default theme, then the issue is with your theme.
Please identify exactly which theme you are using and then post in that theme’s dedicated forum via its page in the Theme Repository.
For pro or commercial product support please contact the author directly on their site. They cannot support their customers here. – As the author is aware, commercial products are not supported in these forums.
no plugin involved in the currently use theme ‘Adventurous’;
it is done via the function adventurous_content_nav( $nav_id ) as defined in /inc/adventurous-template-tags.php
many themes are using similar functions…
what is your actual problem with the prev/next links?
They are appearing and I don’t want them to but I cant find out where they are coming from. It does it with most themes.
Sorry I should have added it is not theme related as most themes do it. I have tried several today. Its almost behaving like a plug in to put random category links except the links are static and not well related. I just cant find it to get rid of it.
if you stick with the ‘Adventurous’ theme, you can use this, for example in the ‘Appearance – Additional CSS’, to hide those links:
.single #content .site-navigation { display: none; }
Thank you so much Michael. That did the trick.
I would still like to work out what is triggering the prev/next navigation. It seems there is old data somewhere allocating the links. I just can’t see where. I would like to get rid of it if I can find it.
oops that took out all navigation and now I cant see where to remove it
ok I now have a pretty looking website (still an issue with Google Ads displaying, see below in case there is a connection.)
The prev/next navigation doesn’t show yet I found this in the code.
</header><!-- #masthead .site-header -->
<div id="main-wrapper">
<div id="header-featured-image"><a title="Portraits" href="http://www.portraitcorner.co.uk/" target="_self" rel="noopener noreferrer"><img alt="Portraits" src="http://www.portraitcorner.co.uk/wp-content/uploads/portraitbanner-1.jpg" /></a>
</div><!-- #header-featured-image -->
<div id="main">
<div id="content-sidebar" class="container">
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<nav role="navigation" id="nav-above" class="site-navigation post-navigation">
<h3 class="assistive-text">Post navigation</h3>
<div class="nav-previous"><a href="http://www.portraitcorner.co.uk/turkish-van-cat.htm" rel="prev"><span class="meta-nav">←</span> Turkish Van Cat</a></div> <div class="nav-next"><a href="http://www.portraitcorner.co.uk/portraits-from-photographs.htm" rel="next">Family Portraits from Photographs <span class="meta-nav">→</span></a></div>
</nav><!-- #nav-above -->
May or may not be part of same issue if faulty includes or something similar:
1. I have 18 sites with Advanced Ads for Google Auto Ads. All are working perfectly except for this site. It displays ads on mobile but not on desktop.
2. It’s clear that when I find a theme that doesn’t display prev/next links, they are still there, just not displayed.
3. The theme I am currently using displayed an old menu in the header until I re-saved the menu then it displayed proper navigation. Again I don’t know where this old navigation comes from.
Any and all ideas where to look would be very welcome.