Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Xylus Themes

    (@xylus)

    Hello @neilthespacechimp,

    Thank you for reaching out to us.
    First please create a template file name is “single-facebook_events.php” then copy-paste the below template code in created template file. It’s just a file in which you can layout the template however you want. And can override the event template of the plugin.

    The Template file:??https://gist.github.com/Rajat1192/b48d4e12f95b14c91269ec563e4f38c9

    Thanks

    Thread Starter NeiltheSpacechimp

    (@neilthespacechimp)

    Thanks @xylus,
    I’m getting somewhere with the template and it’s looking good. However at the moment I’m using the_content(); to get the information from the main field which seem to automatically pull in info from the custom fields (IE the map and Venue, organiser and Details blocks) is there a better way to only bring in the info from the main field?

    Here’s a screenshot that explains what I’m trying to achieve
    https://snipboard.io/Flk7GC.jpg

    Many Thanks!

    Plugin Author Xylus Themes

    (@xylus)

    Hello @neilthespacechimp,

    Glad to hear the template file working fine.

    You can add the_content() function to the template file and get the description of the event. Due to which the description of the events will be displayed on the event details page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to override template?’ is closed to new replies.