• Resolved MalMac

    (@malmac)


    I have disabled all other plugins and there doesn’t appear to be a conflict…any other suggestions?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Hendra Setiawan

    (@hendcorp)

    Hi @malmac

    Thanks for ruling out a plugin conflict before posting, that saved a step.

    I had a look at your site. The page numbers are being added to the page correctly, but none of the plugin’s own style and script files are loading there, including the small script the page numbers need. The page numbers are not ordinary links: each one asks that script to fetch the next set of items and swap them into the display. When the script is missing, clicking them does nothing, which matches what you are seeing.

    The usual cause of that combination is the “Disable styles” option, which in the current version also keeps that script from loading. Could you check the following:

    1. Go to Aggregator > Settings > Advanced.
    2. If “Disable styles” is ticked, untick it and save.
    3. Clear any caching or optimization layer you have, at both plugin and host level, then reload the page and try the page numbers again.

    If you ticked that option on purpose so you could style the display yourself, you can have both. Leave “Disable styles” unticked and add the code below to your child theme’s functions.php file, or to a code snippets plugin if you use one. The first part removes our styling from the display. The second part puts back only the small piece that keeps the page numbers side by side on one line and makes them behave like normal clickable links:

    add_filter( 'style_loader_src', function ( $src, $handle ) {
    if ( in_array( $handle, array( 'wpra-displays', 'wpra-lightbox' ), true ) ) {
    return '';
    }
    return $src;
    }, 10, 2 );

    add_action( 'wp_head', function () {
    echo '<style>
    .wpra-nav-links { display: flex; flex-direction: row; gap: 10px; }
    .wpra-nav-links.numbered { justify-content: center; }
    .wpra-nav-links.wpra-default-nav-links { justify-content: space-between; }
    .wpra-nav-links a { cursor: pointer; }
    </style>';
    } );

    If you later want the page numbers to look different, the second part is the piece to change, and any web developer can adjust it for you. I tested both of these on a fresh site running the current version, and the page numbers worked in each case.

    If “Disable styles” is already unticked on your site, let me know along with the plugin version you are on, and I will take another look. I have also passed this behaviour to our development team, since the option is meant to affect styling only.

    Thread Starter MalMac

    (@malmac)

    Unchecking “Disable Styles” did the trick. Appreciate the help and the quick response!

    Malcolm

    Plugin Support Hendra Setiawan

    (@hendcorp)

    Hi @malmac

    That is good news, thanks for confirming. I can see the page numbers working on your
    site now.

    Thanks again for the clear report and for testing before you posted, it made this much
    quicker to pin down. I will mark this one as resolved, and feel free to open a new
    topic any time.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.