Excepts pulling text from the current page's template and not from recent posts
-
I am using a plugin from Modern Tribe called Community Events and it works in tandem with Modern Tribe’s Event Calendar Pro. Anyway, the Recent Posts Widget works fine on every page EXCEPT the ones which are using the Community Events plugin… this plugin creates a submission form that people can use to submit events to our calendar. The form is content is generated by a file titled edit-events.php. I have gone through this with a fine tooth comb and have added the following code to the bottom of the page:
<?php wp_reset_query(); ?>
Unfortunately, this has had no effect. The folks at Modern Tribe will not help me. I would use a seperate template for the submission form (omitting the recent blog posts plugin for that single page), BUT I can’t as you can only use one page template for both the submission form and the main calendar pages. I am not sure where I should begin…Here is the page that is “messing-up” (for lack of a better term):
https://www.sciotomile.com/events/submission/addNotice that on the regular calendar pages the plugin works fine:
https://www.sciotomile.com/events/Here is the code for the file that creates the submission form:
https://pastebin.com/RdPdBK0gHere is the template I am using for these event pages:
https://pastebin.com/x7dg12Hj
I don’t think it is this template file though since the calendar pages use this template as well and the plugin works fine on those pages.https://www.ads-software.com/plugins/recent-posts-widget-extended/
- The topic ‘Excepts pulling text from the current page's template and not from recent posts’ is closed to new replies.