gmeyer30
Member
Posted 1 year ago #
I am using the following code to display events on my blog page and feeds.
My question is how can I modify this to exclude a specific Event Category or Post. The problem is that it continues to show past events on the blog page and i would like to (for lack of a better term) archive them but still have them available as previous post. In other words just move past events to a category called past-events and they would no longer show up on the feed or blog page. Thank you for your help.
[Code moderated as per the Forum Rules. Please use the pastebin]
http://wordpress.org/extend/plugins/all-in-one-event-calendar/
gmeyer30
Member
Posted 1 year ago #
gmeyer30
Member
Posted 1 year ago #
Got it working using simply exclude plugin
Thank you for sharing this!
vidaldewit
Member
Posted 1 year ago #
If I use your pastebin in fucntions.php but when I go to the homepage it still displays an event from 2011 as first post?? I want it to be sorted by most recent events...
Is that possible?
thanks
vidaldewit
Member
Posted 1 year ago #
gmeyer30
Member
Posted 1 year ago #
I use "Post Types Order" Plugin to manually sort them and it works great.
vidaldewit
Member
Posted 1 year ago #
Installed,...I really have no clue what to do with this plug,...how does this work? Need extra code for this? Also the posts should be sorted on the Event start dates, not post dates.
gmeyer30
Member
Posted 1 year ago #
Sorry i must have overlooked this.. just go to the "events" tab and click "reorder" (added to the bottom of the events menu in the admin).. drag and drop the events in the order you want them, and that is all it takes.