How to display Events of Pro Site members on main homepage?

My site's Pro Site members have the Events module enabled. When they post upcoming events, how do I display all the various posted events on my site's main home page?

For the Marketplace plugin, the Global Product List widget does this. Is there a similar widget for Events?

  • Jack Kitterhing
    • Code Norris

    Hi there @eHangar,

    Hope you're well today and thanks for your question.

    Currently there isn't a global events widget, one way to show all events would be to use Post Indexer https://premium.wpmudev.org/project/post-indexer/
    Which can index all events and then use https://premium.wpmudev.org/project/recent-posts/#usage

    Which will allow you to display recent added events. :slight_smile:

    Thanks!

    Kind Regards
    Jack.

  • Jack Kitterhing
    • Code Norris

    Hi there @eHangar,

    Hope you're well today. :slight_smile:

    Post indexer will index the events and then you'll use this plugin to display them https://premium.wpmudev.org/project/recent-posts/#usage

    With that you can use the following shortcode in a text widget to display the events

    [globalrecentposts number”10” content_character=“200” posttype=“incsub_event]

    These are the available parameters

    number=”5? – How many posts you want to display
    title_characters=”250? – Maximum number of characters in each title.
    content_characters=”200? – Maximum number of characters in the content of each entry
    title_content_divider=”-” – What to use to separate the title from the content. If this parameter is not included, the content will display beneath the title.
    title_link=”no” – By default, the title links to the post. You can use this to remove the link.
    show_avatars=”yes” – Displays the author avatar if avatars are used on your site.
    avatar_size=”32? – Sets the square size of the avatars.

    Thanks!

    Kind Regards
    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.