Can you share both JS and PHP error if possible? can you try to disable EM search form
since events aren’t posts, you wouldn’t be able to show single events in your post plugin.
@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.
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
in the other plugin, could you not just exclude the page from showing?
@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
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.