WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Events manager and WPML showing ALL posts

[Resolved] Events manager and WPML showing ALL posts

  • dcooney
    Participant

    @dcooney

    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marcus
    Participant

    @netweblogic

    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?

    dcooney
    Participant

    @dcooney

    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

    dcooney
    Participant

    @dcooney

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

    Thanks for your time.

    Plugin Author Marcus
    Participant

    @netweblogic

    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

    dcooney
    Participant

    @dcooney

    I did see the warning at the very beginning of the build, but ‘dismissed’ it… 3 months later I had forgotten about it 🙂

    -d

    Plugin Author Marcus
    Participant

    @netweblogic

    ok so you were warned 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Events manager and WPML showing ALL posts’ is closed to new replies.