• gsclarke

    (@gsclarke)


    I’m not very technical so I am hoping someone can point me in the right direction.

    I updated an old WordPress site and somehow I am left with prev/next type navigation near the footer. It does it with most themes but not all. I suspect it is something left from an old plugin or theme but I have no idea where to look.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator t-p

    (@t-p)

    Does it work if you switched to the default Theme (Twenty Seventeen)?

    Thread Starter gsclarke

    (@gsclarke)

    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.

    Michael

    (@alchymyth)

    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?

    Thread Starter gsclarke

    (@gsclarke)

    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.

    Thread Starter gsclarke

    (@gsclarke)

    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.

    Michael

    (@alchymyth)

    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; }

    Thread Starter gsclarke

    (@gsclarke)

    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.

    Thread Starter gsclarke

    (@gsclarke)

    oops that took out all navigation and now I cant see where to remove it

    Thread Starter gsclarke

    (@gsclarke)

    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="https://www.portraitcorner.co.uk/" target="_self" rel="noopener noreferrer"><img alt="Portraits" src="https://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="https://www.portraitcorner.co.uk/turkish-van-cat.htm" rel="prev"><span class="meta-nav">&larr;</span> Turkish Van Cat</a></div>		<div class="nav-next"><a href="https://www.portraitcorner.co.uk/portraits-from-photographs.htm" rel="next">Family Portraits from Photographs <span class="meta-nav">&rarr;</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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Prev Next Navigation Problems’ is closed to new replies.