Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    yes however you might want to use shortcode [events_list scope=”Today”] or [events_list scope=”tomorrow”]

    https://wp-events-plugin.com/documentation/shortcodes/
    https://wp-events-plugin.com/documentation/event-search-attributes/

    Thread Starter racchi

    (@racchi)

    The shortcode I insert it into another page and then take the url to make a link. In the instructions is not explained this feature. Could you help me to implement two links, one that shows the events of today and another that contains those of tomorrow. Possibly on the same page without opening additional pages.

    Thanks a million and Best Regards.

    Hiya,

    I’m not entirely sure what you mean – but are you looking for something like this?:

    Today
    [events_list scope=”Today”]

    Tomorrow
    [events_list scope=”tomorrow”]

    Thanks,
    Phil

    Thread Starter racchi

    (@racchi)

    Yes!
    Today and tomorrow should be included in the events page. So when a user clicks on today, appear the event today, when a user clicks on tomorrow, appear the events of tomorrow.

    Thread Starter racchi

    (@racchi)

    It is a very simple function, present in almost all websites that deal with events. It should, in my opinion, already be implemented in the Event manager plugin. ??

    Thread Starter racchi

    (@racchi)

    In the end how can I get the required result?

    You could create new pages called “today” and “tomorrow” and put the shortcodes Phil mentioned in those pages. Then you can link to those pages as normal from your pages.

    Thread Starter racchi

    (@racchi)

    I think I have resolved not assigning any page in the events. I’ve created a page where I put the shortcode

    Today
    [events_list scope=”Today”]

    Tomorrow
    [events_list scope=”tomorrow”]

    and then with two anchors link I solved everything.

    Now I want to change the formatting of the events and put a limit to the automatic excerpt. How can I do?

    Hiya,

    You can change the formatting of events in Events > Settings > Formatting.

    As for the excerpt, are you using the #_EVENTEXCERPT placeholder to insert that?

    Thanks,
    Phil

    Thread Starter racchi

    (@racchi)

    Thank you very much. Yes I am using # _EVENTEXCERPT but every time I enter the summary manually.

    You should be able use code like this:

    function new_excerpt_length($length) {
       return 45;
    }
    add_filter('excerpt_length', 'new_excerpt_length');

    Just change 45 to the number of characters you want your excerpt to be.

    Actually, here’s an even easier way:

    _EVENTEXCERPT{50,more...}

    Using this, 50 is the number of characters and “more” is what the link will say-

    Thread Starter racchi

    (@racchi)

    All done. Thanks a million. ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Events today tomorrow week’ is closed to new replies.