WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Post-Plugin Library Conflicts (8 posts)

  1. drudarby
    Member
    Posted 2 years ago #

    I use the post-plugin library to display a list of recent posts on my home page with an excerpt.

    When the events-manager plugin is enabled, the excerpt (or even full post, i've tried it all) is replaced with a search form for the events manager plugin! I tried disabling the search feature, then it replaces the excerpt with a LIST of events that are in event manager.

    If I visit the permalink for the posts, there is no event list or search form - the post displays just as it should.

    I pretty much have ALL default settings in events manager at this point (except for disabling the search form).

    Any help would be greatly appreciated!

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

  2. agelonwl
    Member
    Posted 2 years ago #

    Can you share both JS and PHP error if possible? can you try to disable EM search form

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    since events aren't posts, you wouldn't be able to show single events in your post plugin.

  4. drudarby
    Member
    Posted 2 years ago #

    @agelonwl, there aren't any errors. It is just replacing my post information on the home page when it shouldnt. Also, as I said in my original post, I disabled the search form already, and it didn't show the search anymore, but instead showed a list of the events.

    @marcus - I'm not trying to show single events in my post plugin. In fact I wish it wouldnt. It's messing up my homepage.

  5. agelonwl
    Member
    Posted 2 years ago #

    Can you please post a code snipset of your post plugin on how you configure it to work for you? I tried the plugin myself and can't seem to duplicate it

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    in the other plugin, could you not just exclude the page from showing?

  7. drudarby
    Member
    Posted 2 years ago #

    @agelonwl: All i did was install the post-plugin library and wherever I want it to display, I put <?php recent_posts(); ?> in the template file. No matter if I set the output to "excerpt" or "fullpost" it replaces my post content with the events list. (only in the list created by the post-plugin.... when you view the actual permalink, all is good.)

    @marcus: I already have the post-plugin set to display only posts, not pages. However, just to give it a shot, under exclude I put the ID of the page that SHOULD show the events. This didn't change anything.

    If you guys care to take a look at what's going on, you can: http://harvesttt.com

    You'll see on the home page the list of posts shows the right title, author and permalink, but not the right content. I'm stumped.

    Thanks again guys

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    that is really strange... I don't get why it would do that, am tempted to blame the other plugin.

    EM takes over the_content only when this comes true:

    $events_page_id = get_option ( 'dbem_events_page' );
    if ( get_the_ID() == $events_page_id && $events_page_id != 0 ) {
    ...

    so the other plugin must be giving the wrong ID or something, because otherwise it shouldn't allow EM to take over the content.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic