Software Engineering in WordPress, PHP, and Backend Development

Category: Articles (Page 97 of 258)

Personal opinions and how-to’s that I’ve written both here and as contributions to other blogs.

Querying Event Post Types with WP Query and The Event Calendar

If you’ve done any work with The Event Calendar from Modern Tribe, then there’s a chance you’re familiar with some different ways to go about doing certain tasks.

Querying Event Post Types with The Events Calendar

The Events Calendar Homepage

That is, programmatically creating events, altering events, setting up repeating events (if it’s the pro version), and so on.

What if, though, you need to go about querying event post types – some or all, doesn’t matter – and you find that your query isn’t working? And no, I’m not talking about using a raw SQL query or even a parameterized version with the $wpdb class.

I’m talking about WP_Query.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑