Hi josealvin!
Please use the use the shortcode:
[mw eventwidget]
with the optional parameters:
grp=”…” – comma separated list of event categories to pull from (default all)
cnt=”3″ – number of upcoming events to display (default 3)
lgo=”1″ – display event thumbnail
szp=”1″ – do not display event start date/time
ezp=”1″ – do not display event end date/time
adn=”1″ – display event location
For example:
[mw eventwidget grp=”0,1,2″ cnt=”5″ lgo=”1″ adn=”1″]
will display 5 upcoming events from event categories 0,1 and 2, with event thumbnail, start/end date/times and location.
Okay, I’ll try it. Thank You
Hi,
The shortcode doesn’t work https://ibb.co/TktMhgb.
Thanks
Hi josealvin,
The shortcode only works in areas where the content is passed through the_content filter. If this part of the page is not processed through the_content it will not work.
Hi,
Ohhh, okay, Is there any way to run it outside the content? Anyway, while waiting I do some searching.
Thanks
Hi,
This what I did and it works. I added the this code wit the shortcode.
<?php echo apply_filters( ‘the_content’, ‘[mw open=”!event-list”]’); ?>
Thanks
-
This reply was modified 7 years, 3 months ago by
josealvin.
Hi josealvin,
We recommend you use the [mw eventwidget] widget shortcode instead. The [mw open=”…”] can only be used once per page, so if you have a member signup form, etc. those features will not work.
Hi,
I see, so I can manipulate the display by css or javascript.
Thanks