- This topic has 48 replies, 4 voices, and was last updated 5 years, 4 months ago by
Tom.
-
AuthorPosts
-
November 23, 2020 at 10:37 am #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 DiedrichNovember 23, 2020 at 11:32 am #1542886Leo
StaffCustomer SupportHi there,
Would the post navigation option in the customizer work for you?
https://docs.generatepress.com/article/blog-content-layout/#singleNovember 23, 2020 at 1:06 pm #1543040diedrich
hey Leo, that’s not going to work, this is an attachment page and not a post
November 23, 2020 at 8:49 pm #1543437Leo
StaffCustomer SupportSomething like this might work:
https://generatepress.com/forums/topic/previous-next-post-but-for-attachment-pages/November 24, 2020 at 9:54 am #1544747diedrich
hello, thanks for your help but this is not working .
can you help megreeting Diedrich
November 24, 2020 at 11:01 am #1544906Leo
StaffCustomer SupportWhat exactly isn’t working? Did anything get added at all?
It was working for another user.
November 24, 2020 at 11:08 am #1544922diedrich
Hi Leo ,
nothing is added at all, I don’t see anything changing
Diedrich
November 24, 2020 at 11:22 am #1544946Leo
StaffCustomer SupportCan you please clear and disable WP Rocket first?
Please always do that when we are helping.
November 24, 2020 at 11:25 am #1544956diedrich
I always do this Leo, sorry it doesn’t work
November 24, 2020 at 11:27 am #1544960Leo
StaffCustomer SupportIs the plugin disabled?
I’m still seeing WP Rocket activated in the source code.
Maybe you have another caching plugin or server caching?
November 24, 2020 at 11:59 am #1544999diedrich
the cache WP ROCKET is now completely disabled, but I don’t see anything yet
November 24, 2020 at 12:02 pm #1545000diedrich
i have try it again and i see nothing Leo
November 24, 2020 at 1:09 pm #1545074Leo
StaffCustomer SupportQuestion – How are you creating those attachment pages?
November 24, 2020 at 1:23 pm #1545095diedrich
go to PAGE
go to ADD NEW
go to AD MEDIA
go to CREATE GALLERY
Select the images you want to haveNovember 24, 2020 at 1:35 pm #1545105Leo
StaffCustomer SupportSorry 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 } ?> -
AuthorPosts
- You must be logged in to reply to this topic.