• I am using the same events block on two different pages and the fixtures are being displayed in a different order on the two pages;

    This page displays correctly – https://binfieldfc.com/test/
    Whereas on this page, the sort order is reversed – https://binfieldfc.com/

    They are both using this block;

    [event_blocks number=”5″ status=”future” show_all_events_link = “1” paginated=”0″ order=”ASC” ]

    Any ideas?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi there @lensdigital ,

    Are you sure you are using the exact same shortcode on both pages? For example on the “test” page I cannot see the “Show All Events” link, while on the homepage is there.

    Thanks,
    Savvas

    Thread Starter Lens Digital

    (@lensdigital)

    Yep, that is just a separate button that links through to another page.

    The Test page just uses the shortcode in isolation. There is nothing else on that page. Whereas the homepage shows the shortcode how it is planned to be used.

    Plugin Contributor Savvas

    (@savvasha)

    Can you provide with some screenshots of how you are implementing it at Test page and Homepage?

    Thanks,
    Savvas

    Plugin Contributor Savvas

    (@savvasha)

    Please make sure to use the “id” attribute also like below:

    [event_blocks id="XXXX" number="5" status="future" show_all_events_link = "1" paginated="0" order="ASC" ]

    Where XXXX should be your calendar ID.

    Thanks,
    Savvas

    Thread Starter Lens Digital

    (@lensdigital)

    Savvas,

    I have added the calendar ID and that hasn’t changed anything.

    Attached is a screenshot of the implementation of the shortcode on the homepage. Interestingly (!), it is displayed correctly when I am logged into the WordPress editor but not when viewed outside of the editor.

    • This reply was modified 1 week, 6 days ago by Lens Digital.
    Plugin Contributor Savvas

    (@savvasha)

    You will need to clear your cache then.

    Thread Starter Lens Digital

    (@lensdigital)

    I have flushed the cache and turned caching off – the problem is still there

    Plugin Contributor Savvas

    (@savvasha)

    Next think to try is to disable all your plugins except SportsPress and switch to a default theme like “TwentyTwenty”. After clearing your cache, check if there is still the same issue. If everything is working as it should, then try to switch to your theme and check again. Then try to enable your plugins one by one until you identify what is causing this odd behaviour.

    For more details about following the above procedure, please check below:
    https://savvasha.com/troubleshooting-plugin-and-theme-conflicts-with-site-health-wordpress-plugin/

    Thanks,
    Savvas

    Thread Starter Lens Digital

    (@lensdigital)

    OK, I will do this but it will take me a little time. I will report back with the results.

    Thread Starter Lens Digital

    (@lensdigital)

    It is a clash with this plugin – https://en-gb.www.ads-software.com/plugins/ultimate-post-kit/ which is a bit worrying as it is the main plugin I use for posts on the home page.

    Plugin Contributor Savvas

    (@savvasha)

    Hi there @lensdigital ,

    Please try to come in contact with this plugin’s support team. For some reason it seams like it is altering the behaviour of SportsPress shortcodes output.

    Thanks,
    Savvas

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