[Resolved] right above the sitebar 2 images made with NEXT and PREVIOUS

Home Forums Support [Resolved] right above the sitebar 2 images made with NEXT and PREVIOUS

Home Forums Support right above the sitebar 2 images made with NEXT and PREVIOUS

Viewing 15 posts - 1 through 15 (of 49 total)
  • Author
    Posts
  • #1542803
    diedrich

    hello,
    I have a question, in my time at Elegant Themes (switched to you 3 weeks ago) I had the theme Extra, they have it for me (e.g. https://www.davidbowieworld.nl/mijn-bootlegs-2-2/tour-recordings/1972-1973-the-ziggy-stardust-tour/attachment/david-bowie-live-1972-front/#main) on my attachment pages right above the sitebar 2 images made with NEXT and PREVIOUS so that the to the next or previous attachmend page, is it possible you can create this too or is this going to be very difficult now, I would be very happy
    greeting Diedrich

    #1542886
    Leo
    Staff
    Customer Support

    Hi there,

    Would the post navigation option in the customizer work for you?
    https://docs.generatepress.com/article/blog-content-layout/#single

    #1543040
    diedrich

    hey Leo, that’s not going to work, this is an attachment page and not a post

    #1543437
    Leo
    Staff
    Customer Support
    #1544747
    diedrich

    hello, thanks for your help but this is not working .
    can you help me

    greeting Diedrich

    #1544906
    Leo
    Staff
    Customer Support

    What exactly isn’t working? Did anything get added at all?

    It was working for another user.

    #1544922
    diedrich

    Hi Leo ,

    nothing is added at all, I don’t see anything changing

    Diedrich

    #1544946
    Leo
    Staff
    Customer Support

    Can you please clear and disable WP Rocket first?

    Please always do that when we are helping.

    #1544956
    diedrich

    I always do this Leo, sorry it doesn’t work

    #1544960
    Leo
    Staff
    Customer Support

    Is the plugin disabled?

    I’m still seeing WP Rocket activated in the source code.

    Maybe you have another caching plugin or server caching?

    #1544999
    diedrich

    the cache WP ROCKET is now completely disabled, but I don’t see anything yet

    #1545000
    diedrich

    i have try it again and i see nothing Leo

    #1545074
    Leo
    Staff
    Customer Support

    Question – How are you creating those attachment pages?

    #1545095
    diedrich

    go to PAGE
    go to ADD NEW
    go to AD MEDIA
    go to CREATE GALLERY
    Select the images you want to have

    #1545105
    Leo
    Staff
    Customer Support

    Sorry I found a mistake in David’s code.

    Can you try this instead?

    <?php
    if ( is_attachment() ) {?>
        <div class="attach-navigation">
            <span class="prev"><?php previous_image_link( 'thumbnail' );?></span>
            <span class="next"><?php next_image_link( 'thumbnail' );?></span>
        </div>
    <?php
    }
    ?>
Viewing 15 posts - 1 through 15 (of 49 total)
  • You must be logged in to reply to this topic.