Home › Forums › Calendar Products › Filter Bar › Items Removed from Custom Field Dropdown in BackEnd, Still Appearing Front End.
- This topic has 7 replies, 2 voices, and was last updated 8 years, 8 months ago by
Jennifer.
-
AuthorPosts
-
July 27, 2017 at 10:48 am #1327028
Joelle
ParticipantI have no explanation for this. They do not exist in the custom field as options. They don’t have any past events assigned to them. They do not exist — and yet the front-end display is still showing them.
We are running WordPress 4.8, The Events Calendar Version 4.5.9, PRO Version 4.4.15 and Filter Bar Version 4.4.3. YES, I have deactivated all the plugs and themes first before posting. ?
Any thoughts, I appreciate it!
July 28, 2017 at 9:43 am #1327532Joelle
ParticipantHi, I’m following up on this. 🙂 thank you!
July 28, 2017 at 10:39 pm #1327819Jennifer
KeymasterHi Joelle,
Thanks for reaching out, and thanks for testing for conflicts with your theme and other plugins before posting!
I took a look at your site, and there are currently only a few options displaying in the filter bar. Were you able to get this resolved? If not, could you please send me a screenshot of the settings you have on the back end for the options that should not be appearing on the front end? Also, are you doing any type of caching on your site? If so, please try clearing the cache, and then check again to see if the deselected options are still displaying.
Thanks!
Jennifer
July 31, 2017 at 11:04 am #1328411Joelle
ParticipantNo, this is not resolved. There are only supposed to be a few options showing in the filter bar. My issue is that in one of those categories, “Instructor”, we have REMOVED instructors from the backend, entirely — completely — they have no listings or events under their name, they don’t even exist in the system and they were removed from the custom field options. Yet, they still show up in the front end. If you drop open the “Instructors” list, you’ll see Will and Lynn in that list — they don’t belong there. How can we get rid of them? (We have cleared the cache multiple times and checked this on multiple machines.)
-
This reply was modified 8 years, 9 months ago by
Joelle.
August 1, 2017 at 10:22 am #1328940Joelle
ParticipantHello! Checking in on this. 🙂 I’m uploading a photo to this post (not via email) For some reason, it didn’t appear in my last thread or in this post. But it does show as I’m writing this that it’s uploaded, so we’ll see if it shows up.
Anyway, I’d love to get those people out of the list somehow. Thanks!
August 7, 2017 at 11:33 am #1331734Jennifer
KeymasterHi Joelle,
Thanks for sharing that screenshot! I’m sorry about the delayed response here, but I’ve been doing some testing on my end, and it looks like the values for custom fields will show up as long as there is at least one event that has that value. After removing the value from all events, the value should no longer appear in the filter bar. Even if the custom field was edited to remove certain options, this won’t delete those values from events that already had those values saved on it. I can understand how in some cases it would be preferable for it to work that way, but there are other cases where users would not want past events to have data deleted when a certain option is no longer available.
Can you try selecting one of the instructors in the filter bar, leaving all other filters blank, and click through past and upcoming events to see if any are showing? This would be the easiest way to identify any events that may still have one of those instructors associated with it. You can also search the database directly for those values.
If no events are showing up for any of these instructors, you may want to check with your host and see if they are doing any caching on their end (I know there are a few hosts out there that do to improve performance). If so, they should be able to tell you how to clear it.
Let me know how it goes!
Thanks,
Jennifer
August 7, 2017 at 1:48 pm #1331804Joelle
ParticipantHiiii, thank you for looking into this for me. So, the client assured me there were NO classes in the system, but of course, there were. I don’t think they realized that past classes are forever. So I explained the situation and told her that if she wants those absolutely out of the list, that she’ll need to manually remove that instructor from each of those (many, many) classes. Otherwise, they’ll just get a “there are no upcoming events” for that instructor, which seems reasonable. I can see why it would bug to still see past employees (or whatever someone might put in there) if they are no longer part of the current set-up, but it’s hard to account for *every* variable, so… hm. I’m not sure the solution. Create an option where you could hide them or something? I dunno. LOL
Thank you for your help, Jennifer!
August 8, 2017 at 9:19 pm #1332594Jennifer
KeymasterHi Joelle,
I’m glad to hear you found the source of those instructors! If your client is alright with deleting old events, one solution might be to use a plugin like Post Expirator, which lets you add expiration dates to posts, or this post has some other options for bulk-deleting old events. This can not only help keep the options in the filters up to date, but is also helpful in keeping site performance up.
Since this thread has been marked “resolved”, I’ll go ahead and close it out. Please feel free to open a new one if you have any further questions!
Thanks,
Jennifer
-
This reply was modified 8 years, 9 months ago by
-
AuthorPosts
- The topic ‘Items Removed from Custom Field Dropdown in BackEnd, Still Appearing Front End.’ is closed to new replies.
