Title: Using WordPress is_front_page conditional
Last modified: June 19, 2017

---

# Using WordPress is_front_page conditional

 *  Resolved [pipspeak](https://wordpress.org/support/users/pipspeak/)
 * (@pipspeak)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/using-wordpress-is_front_page-conditional/)
 * I’m trying to modify an Events Calendar template using conditionals so certain
   elements only appear on specific theme pages but the WordPress conditionals (
   like “is_front_page”) do not work, probably because the plugin files are loaded
   before $wp_query fires. Are there any other conditional methods to use within
   the plugin that return true or false for specific pages in a theme? Or is there
   a workable method to use WordPress conditionals? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Victor Zarranz](https://wordpress.org/support/users/vicskf/)
 * (@vicskf)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/using-wordpress-is_front_page-conditional/#post-9537131)
 * Hey [user],
 * Thanks for using The Events Calendar!
 * I think you might find the [tribe_is_event()](https://theeventscalendar.com/function/tribe_is_event/)
   helper function useful to accomplish such customization. You can also see other
   helper functions available at /wp-content/plugins/the-events-calendar/src/functions/
 * I hope that helps! 🙂 Let us know if you have any other questions or issues!
 * Best,
    Victor
 *  Plugin Contributor [Victor Zarranz](https://wordpress.org/support/users/vicskf/)
 * (@vicskf)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/using-wordpress-is_front_page-conditional/#post-9735643)
 * Hey there! This thread has been inactive for a while so we’re going to go ahead
   and mark it Resolved. Please feel free to open a new thread if any other questions
   come up and we’d be happy to help. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using WordPress is_front_page conditional’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Victor Zarranz](https://wordpress.org/support/users/vicskf/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/using-wordpress-is_front_page-conditional/#post-9735643)
 * Status: resolved