Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • LouisePriceKelly
    Participant
    Post count: 2
    in reply to: Previous/Next #620396

    Hi – thank you! My apologies – I actually did figure this out and now have the previous – next link working the way I want – at least on the single post pages. But for some weird reason what displays when I select ‘display recent posts’ as the home page, the layout of THAT page is different than the layout when I go to an individual post. It must be a different template that controls that. Very frustrating.

    And I hear you about ‘next-previous’ being out of date but this site is a webcomic and apparently that is pretty common navigation for that particular type of content.

    Thanks for your help! I am going to submit a ticket to Avada to find out what template / php file controls the way a post displays when you select ‘most recent posts’ for your home page settings (and/or the layout for the blog element – in both cases the layout isn’t the same as a single post). I’m hoping I can just pop the same next / previous code into that template. And FYI – in my case, the pagination options provided with Avada’s blog element don’t work because they consider ‘next’ to be the post that was published EARLIER and Previous shows the post that was published LATER – which is the opposite of how a webcomic needs to work. I’ll try to remember to post when I get this figured out so others can benefit from this…

    LouisePriceKelly
    Participant
    Post count: 2
    in reply to: Previous/Next #620123

    Hi – thank you so much for commenting on this – this is something I’m trying to figure out for my daughter’s webcomic site. I tried to use the updated code but I think the last line of the code is still causing errors – when I tried to use it, I got these errors:

    Warning: Use of undefined constant ‘avada_after_additional_post_content’ – assumed ‘‘avada_after_additional_post_content’’ (this will throw an Error in a future version of PHP) in /home/crm4good/staging/1/wp-content/themes/Avada-child/functions.php on line 40

    Warning: Use of undefined constant ‘put_the_single_post_navigation_at_the_bottom_of_the_post’ – assumed ‘‘put_the_single_post_navigation_at_the_bottom_of_the_post’’ (this will throw an Error in a future version of PHP) in /home/crm4good/staging/1/wp-content/themes/Avada-child/functions.php on line 40

    Do you have any advice on how to fix this? Thanks in advance!

Viewing 2 posts - 1 through 2 (of 2 total)