Missing Event Posts in Admin Panel

Home Forums Calendar Products Events Calendar PRO Missing Event Posts in Admin Panel

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #942031
    Amanda Rehagen
    Participant

    I have a looked for several of my events that are visible on the front-end, but they are not locate-able anywhere on the back-end.

    #942215
    Josh
    Participant

    Hey Byron,

    Thanks for reaching out to us!

    As a first step, can you verify that you’ve followed the Testing for Conflicts procedures to ensure this isn’t a conflict with an existing plugin or theme that is preventing items from displaying?

    As an additional possibility, within the dashboard for the events can you verify that there aren’t any active filters within the “Filters & Columns” section that could possibly be causing some events not to display within the table https://cloudup.com/cDSC-Xmdp35?

    Let me know if this helps.

    Thanks!

     

    #942719
    Amanda Rehagen
    Participant

    I have confirmed where my problem is regarding this issue. I hooked into:

    add_action( ‘pre_get_posts’, ‘exclude_events_category’ );

    Because I wanted to filter out a single event category from my list view on the front-side, but it would appear that this hook is called for the admin list as well. Do you have any suggestions?

    #942922
    Josh
    Participant

    Hey Byron,

    You can address this by adding a conditional within your “exclude_events_category” function to ensure that it doesn’t execute within the admin. So within the function, you can wrap the existing code in something like:

    
    if( !is_admin() ) {
    }
    

    This should limit the execution to just the front-end of your site. Let me know if this helps.

    Thanks!

    #943079
    Amanda Rehagen
    Participant

    Thank you! I’m new to WordPress development, and I probably should have already known this. Thank you for the assistance.

    #943231
    Josh
    Participant

    Hey Byron,

    No problem! Glad to be able to help.

    I’ll go ahead and close this ticket. If you have any further questions, please don’t hesitate to open a new ticket.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Missing Event Posts in Admin Panel’ is closed to new replies.