• Resolved korbball

    (@korbball)


    Hi there

    It seems like the shortcode to list events is not working.
    [event_list title="" team="0" league="0" season="0" venue="0" status="default" format="default" date="0" date_from="default" date_to="default" date_past="" date_future="" date_relative="0" day="" number="5" order="default" columns="event,teams,time,league,season,venue,article,event_specs" show_all_events_link="0" align="none"]

    Block and calenderview are working, also the Eventlist widget is working.

    best regards
    korbball

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Roch

    (@rochesterj)

    Hi there!

    Thanks for reaching out.

    What happens when you remove all these empty elements? And what if you add the calendar ID there?

    Thanks!

    Thread Starter korbball

    (@korbball)

    Hi Roch

    This makes no difference. The shortcode was created by the classic editor addon.

    Blockview:
    [event_blocks title="" team="0" league="0" season="0" venue="0" status="default" format="default" date="0" date_from="default" date_to="default" date_past="" date_future="" date_relative="0" day="" number="5" order="default" columns="event,teams,time,league,season,venue,article,event_specs" show_all_events_link="0" align="none"]

    works!

    but listview does not work.
    [event_list title="" team="0" league="0" season="0" venue="0" status="default" format="default" date="0" date_from="default" date_to="default" date_past="" date_future="" date_relative="0" day="" number="5" order="default" columns="event,teams,time,league,season,venue,article,event_specs" show_all_events_link="0" align="none"]

    As you can see, there is no difference.
    I’m working since 2018 with sportspress an I guess there is a small bug in the latest release.

    It looks like @jakemaspin has the same issue.

    best regards
    korbball

    @korbball
    Maybe you have the same problem as i had, look here: https://www.ads-software.com/support/topic/event-list-18/

    Greetings
    Stephan Fischer

    @korbball
    War gerade auf deiner Seite und sehe das wir deutsch schreiben k?nnen.
    Und es ist genau das selbe Problem wie ich hatte.
    Das sollte helfen:

    Savvas (@savvasha)
    1 week, 5 days ago
    Until I find a permanent solution please go to SportsPress/templates/event-list.php and change the line 54
    from: if ( $format != ‘all’ )
    to: if ( $format != ‘default’ )
    Thanks,
    Savvas

    @funger78 does changing that work to have it to for a fixture list for one team.

    Thread Starter korbball

    (@korbball)

    @funger78
    Thank you very much, this helped.

    @jakemaspin
    yes. btw, I guess it worked before on team page.

    @rochesterj
    looks like an issue in event-list.php

    best regards
    korbball

    Struggling to find where this is:

    SportsPress/templates/event-list.php and change the line 54

    @jakemaspin

    It’s here :
    /wp-content/plugins/sportspress/includes/sportspress/templates/

    However, make sure you are editing the file in a child theme, so you would copy the file to here :
    /wp-content/themes/yourtheme-child/sportspress/

    See custom page templates :
    https://support.themeboy.com/article/58-theme-integration-guide

    @corrinarusso does it have to be in a child theme?

    @jakemaspin

    The short answer is no.
    The long answer is :
    If you edit the plugin files directly, then every time there is an update to the SportsPress plugin, your changes will be removed / over-written.

    Child theme is best practice, but really should be looked at as required.

    It’s very easy :
    https://developer.www.ads-software.com/themes/advanced-topics/child-themes/

    or you can use a plugin :
    https://www.ads-software.com/plugins/child-theme-generator/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘List view doesnt work’ is closed to new replies.