Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #713308

    When we try to use pagination on a blog post, the posts don’t change when clicking on the next page number. The URL changes, but the same posts show. I saw another discussion on this same problem (post-702862) but we don’t have the same CSS code, so I couldn’t use the same fix. Also, I already tried turning off all the plugins and that didn’t help either. Any suggestion?

    Thank you,
    Nancy

    #714440

    Hey MBARI-WP,

    Sorry for the late reply. Thanks for the link though we don’t have static IPs so it will be difficult to give you one, would it be possible for you to give us access in some other way?

    Best regards,
    Rikard

    #715681

    Hello Rikard,
    I will have to look into this further next week because this is a holiday week in the U.S. I will see what we can do on Monday.
    Thank you,
    Nancy

    #715783

    Hi Nancy,

    Ok, thanks for the feeback. Please get back to us once you get a chance.

    Best regards,
    Rikard

    #717930

    Hi again, Rikard,

    We do not open up our site widely as a security precaution. My understanding is that dynamic IP addresses don’t usually change that often, so if you can give us an IP address, we will open up our site to that IP address and it should be fine for the brief duration of troubleshooting.

    Does that sound feasible?

    Thank you,
    Nancy

    #719550

    Hi Nancy,

    Ok, we can try it out. Please see private content.

    Best regards,
    Rikard

    #719862

    Excellent, thank you. See the private info for credentials.

    #720013

    Hi,

    Thanks for that, I got in. I’m not sure what’s going on with that page but there seems to be a conflict when having more than one blog posts element. I created a test page it’s working as it should, see private.

    I’m not sure what’s going on with your builder either, there seems to be a lot of elements missing. Did you make any customisations to any of the core files?

    Best regards,
    Rikard

    #720663

    Hi Rikard,

    Nancy is on vacation so I am taking this over in the mean time.

    We did hide some theme elements from the Advanced Layout Editor via CSS in a child functions.php because we have a lot of staff editing pages and wanted to force them to only a few options for consistency sake.

    Example:
    // This hides elements from the avia shortcode builder
    add_action( ‘admin_print_styles’, ‘enfold_customization_admin’ );
    function enfold_customization_admin() {
    echo ‘<style type = “text/css”>’;
    echo ‘a[href=”#avia_sc_animated_numbers”] { display: none; }’;
    echo ‘a[href=”#avia_sc_countdown”] { display: none; }’;
    echo ‘</style>’;
    }

    I reviewed your test page and it looks like having a single blog post element will let pagination work but on pages with multiple blog post elements pagination will not work. We use multiple blog post elements in many places to bring things like team members and related posts in. Are you guys going to work on that as a bug?

    Joe Gomez
    Systems Administrator
    MBARI

    #721973

    Hi,

    make sure you remove any theme customizations you’ve done. Then delete all theme files via FTP, before getting a fresh theme copy from your themeforest account. So make sure you’re using a clean installation of everything (without plugins, cache, etc.), to see if the issue persists or not. Let us know about your results.

    Best regards,
    Andy

    #722288

    Hi Andy,

    I have figured out that it is our child-theme functions.php causing issues with pagination for our instance. However, once removing our child functions.php, there is a second pagination issue that exists only when multiple blog post elements on the same page.

    When multiple elements are involved, all 3 elements will switch to the second page when choosing to go to page 2 of a single element. Even if there are not two pages worth of content for the other elements.

    To confirm this isn’t a configuration issue with our main website, I did the following:

    I setup a test WordPress installation with Enfold and no other plugins or customizations. I created fake content and configured multiple blog post elements on a single page. All 3 blog post elements are switching to page 2 when choosing to go to page two of a single element.

    I put a link to the test page in the private content. We can deal with the first bug in the child functions.php, but we do not know what to do about the second bug we discovered.

    Joe Gomez
    Systems Administrator
    MBARI

    #722499

    All 3 blog post elements are switching to page 2 when choosing to go to page two of a single element.

    I don’t see such an error on the link you’ve provided, but I’m not sure if I really understand everything. Maybe best to include a screencast, to show us the error.

    Best regards,
    Andy

    #723312

    Here are two screenshots. There are three blog post elements on the page tagged with different tags (Molecular Ecology, Team, and Technology). When choosing the second page (circled) all three blog post elements switch to a second page, even though there is no second page to switch to for the other two.

    First Image
    First Image

    Second Image
    Second Image

    • This reply was modified 7 years, 4 months ago by MBARI-WP.
    #726449

    Hi,

    When multiple elements are involved, all 3 elements will switch to the second page when choosing to go to page 2 of a single element. Even if there are not two pages worth of content for the other elements.

    I’m sorry but this is the default behaviour of the WordPress pagination. This is why it’s not advisable to add multiple blog posts element with pagination in a single page.

    Best regards,
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.