• Resolved Geotonics

    (@geotonics)


    I’m tring to follow the instructions on this page
    http://wp-events-plugin.com/documentation/using-template-file
    Which template file do I overide for the /events/ page? How do I figure out which template file to overide?

    The /events/ page is using events-list.php, but that doesn’t help because its simply outputing the list with EM_Events::output
    How do I change what is output by EM_Events::output? I need to access some custom fields to the output.

    • This topic was modified 7 years, 3 months ago by Geotonics.
    • This topic was modified 7 years, 3 months ago by Geotonics.
    • This topic was modified 7 years, 3 months ago by Geotonics.
    • This topic was modified 7 years, 3 months ago by Geotonics.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    just to confirm, did you mean single events page? if yes, you can also try under Events > Settings > Formatting > events

    Thread Starter Geotonics

    (@geotonics)

    No, I’m talking about the Events Page, which is also in those settings, but as far as I can see, there is no way to add any output from custom fields.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    did try to use placeholder #_ATT{key} where key is the custom attribute or field id?

    Thread Starter Geotonics

    (@geotonics)

    I’ve added #_ATT{event-key} to events->settings>general

    That created an entry in the Attributes area when I edit a recurring event
    Attribute Name
    event-key

    Under Value I’ve added: holistic-value

    When I go to the page which lists the recurring events,
    it does use the template that I copied into the theme.
    When I debug the attributes, this is what I get. event-key is in the array, but there is no value. What am I missing?

    attributes:2
    Array
    (
    [names] => Array
    (
    [0] => event-key
    )

    [values] => Array
    (
    [event-key] => Array
    (
    )
    )

    )

    • This reply was modified 7 years ago by Geotonics.
    • This reply was modified 7 years ago by Geotonics.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I find the correct template?’ is closed to new replies.