Get Oxygen

Forums

Home Forums Oxygen Pagination issues

This topic contains 5 replies, has 4 voices, and was last updated by  Andrea Accalai 1 month, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #27213

    Vangberg
    Participant

    Hi.

    Sorry if this has already been debated. I can't find a search function in the forum.

    I am having problems with pagination. Well, pagination is created below a grid of blog posts (made with the easy post element) in an archive template, but when I click the next number page the same 9 posts are rendered. Same if I click "next".

    I have limited the number of posts to 9 in WordPress settings, reading. In the Oxygen template, I don't limit the number of post in the query.

    Any ideas?

    My site is http://www.vangberg.dk

    PS. Does anyone know an easy way to include basic navigation like next/previous/back in a singular blog post template, is this done by shortcodes, custom PHP or is there a drag and drop element for this?

    #28821

    Sridhar Katakam
    Participant

    I can't find a search function in the forum.

    https://wpdevdesign.com/how-to-search-oxygens-website/

    Does anyone know an easy way to include basic navigation like next/previous/back in a singular blog post template

    https://wpdevdesign.com/how-to-add-links-to-previous-and-next-posts-in-oxygen/

    #28881

    Vangberg
    Participant

    Thanks 🙂

    Did not solve the main issue however.

    #45107

    Balla Alin
    Participant

    Hi,

    I have this problem to. I think it's from them... don't know for sure.

    #45993

    Balla Alin
    Participant

    If you've had this problem like mines, here is the fix.

    "It turns out this is not an Oxygen issue, but rather a quirk with WordPress and post loops on static front pages: https://codex.wordpress.org/Pagination#static_front_page. To correct this, add a Code Block to your static front page and drop this code in the PHP & HTML editor:"

    <?php
    if ( get_query_var('paged') ) { $paged = get_query_var('paged'); }
    elseif ( get_query_var('page') ) { $paged = get_query_var('page'); }
    else { $paged = 1; }

    query_posts('posts_per_page=9&paged=' . $paged);
    ?>

    #83591

    Andrea Accalai
    Participant

    Here is the answer:
    https://oxygenbuilder.com/documentation/builder-elements/easy-posts/ > PAGINATION
    God bless you all!

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

You must be logged in to reply to this topic.

Soflyy is proud to offer you Oxygen, our vision for what visual website design can be. We love it, and we think you will too.
More About Us

Stay up to date with Oxygen

© Soflyy 2019
Designed with Oxygen.
LegalTrademark Policy
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram