Support » Plugin: Event Organiser » [Plugin: Event Organiser] Displaying the content/description with eo_events shortcode

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi tinynow,

    I assume are you using a custom template with the shortcode? http://www.harriswebsolutions.co.uk/event-organiser/documentation/shortcodes/event-list-shortcode/

    The documentation needs updating but you can use the %event_excerpt% tag to display the event excerpt. There isn’t a tag for the full description, but I shall consider adding this in a future version.

    Thank you! That is what I needed.

    Sincerely,
    Matt Kreiling

    Yooakim

    (@yooakim)

    I would also very much like to be able to get the event description when using the eo_events shortcode. So add my vote for implementing this!

    deecee2000

    (@deecee2000)

    I have same issue here.
    I tried to put [eo_events att1=”val1″ att2=”val2″] in my events page, but still it is not showing its description here.
    Do I need to change any other settings?
    I also tried [eo_events att1=”val1″ att2=”val2″ att3=”val3″ att4=”val4″….], but no luck.

    Also in event page it is not showing left side bar, though I have set up all the pages in 2 columns. How do I figure out this?

    Thanks in advance.

    Stephen Harris

    (@stephenh1988)

    @yooakim – I’m looking to add this to 1.6.

    @deecee2000 – you need to replace the ‘att*’ by the attribute name and ‘val*’ by the corresponding values. With regards to including the excerpt, you need to wrap the shortcode around a placeholder – see examples here.

    deecee2000

    (@deecee2000)

    @stephen
    There is no “event_content” attribute available in shortcuts.
    I have modified the following file and get the work done.
    wp-content/plugins/event-organiser/classes/class-eventorganiser-shortcodes.php

    In function read_template() added
    $patterns[0] = ‘/%(event_content)%/’;

    In function parse_template() added
    case ‘event_content’:
    $replacement = get_the_content();
    break;
    Usage:
    [eo_events] %event_content% [/eo_events]

    Stephen Harris

    (@stephenh1988)

    I know – see the above posts – I’ll be adding into 1.6.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Event Organiser] Displaying the content/description with eo_events shortcode’ is closed to new replies.