WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Events manager and WPML showing ALL posts (7 posts)

  1. dcooney
    Member
    Posted 1 year ago #

    Hey there,
    Small issue with the Events Manager plugin where the [event_list] shortcode is showing both EN and FR posts.
    Is this a known bug or am I missing a set up step?

    I am using the following shortcode:

    <?php echo do_shortcode('[events_list scope="future" limit="3"]
    	<li>
    	<h3>#_EVENTLINK</h3>
    	<p class="meta">#_EVENTDATES <br/><strong>#_LOCATIONADDRESS, #_LOCATIONTOWN, #_LOCATIONSTATE</strong></p>
    	<p>#_EVENTEXCERPT</p>
    	</li>
    	[/events_list]'); ?>

    I checked through the Events Manager setting but don't see anything there.

    thanks in advance.
    -d

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    where are you outputting this?

    the plugin checks to see what language is currently active and adds a filter to the search to weed out the other languages.

    what happens if you just paste that shortcode onto a page somewhere?

  3. dcooney
    Member
    Posted 1 year ago #

    I'm outputting this on a custom events template page and the sidebar of single.php.

    It doesn't matter where I place the code it returns both EN and FR posts.

    -d

  4. dcooney
    Member
    Posted 1 year ago #

    I just installed the Events Manager WPML Compatability plugin and everything is working.

    Thanks for your time.

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    aha, i forgot to ask :)

    btw, did you see a warning about not having that plugin installed? it should do in recent versions if you run EM and WPML together

  6. dcooney
    Member
    Posted 1 year ago #

    I did see the warning at the very beginning of the build, but 'dismissed' it... 3 months later I had forgotten about it :)

    -d

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    ok so you were warned :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic