• Resolved stewcurtis

    (@stewcurtis)


    Hi,

    Could I ask if it’s possible to add an event spec (a custom event field I’ve created for Attendance against each event) to display within an event list please?

    Here is our fixtures/results page: [ redundant link removed ]

    I’ve added attendance as the event spec and populated the field in the one fixture which has already taken place. I’ve then added the variable name (attendance) within the listed columns in the event list code, but nothing displays on the front end? Here is said code:

    [event_list title=”2024/25″ team=”0″ league=”0″ season=”489″ venue=”0″ status=”past” date=”default” day=”” number=”-1″ order=”default” columns=”event,teams,time,league,venue,attendance,article” show_all_events_link=”0″ align=”none”]

    Any helps would be greatly appreciated.

    Many thanks!

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

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

    (@savvasha)

    Hi there @stewcurtis ,

    The easier way to create your event list as you wish, is by going to SportsPress->Events->Calendars->Create new Calendar and configure it as you wish. Then you can use something like the following shortcode:

    [event_list xxxxx] where xxxxx will be your calendar ID.

    Thanks,
    Savvas

    Thread Starter stewcurtis

    (@stewcurtis)

    Thank you Savvas. That’s really useful. Two other Qs if that’s ok?

    1. Is it possible to switch the order of the columns within a calendar layout? Ideally I’d like to switch the Recap column with the custom one I’ve added for attendance.
    2. I’m having an unusual bug when where I select a previous event and update my new event spec custom field and select save, it clears the season and league fields? Am I doing something wrong here? Only seems to have occurring on some of the matches.

    Kind regards.

    Plugin Contributor Savvas

    (@savvasha)

    Hi @stewcurtis ,

    Please open a new topic for each issue. This way it will be easier for users with similar questions to find and provide help.

    Thanks, Savvas

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