pagination doesn’t show up for custom post type

Rather than attempt to fix your query, I recommend you sidestep it entirely by using custom post type archives! With permalinks on, you should be able to view a list of all your movies posts by going to: example.com/movies Then, in your theme, create archive-movies.php, and it will be used instead of the archive.php/index.php for … Read more

How to sort CPT by custom meta value (date), and return posts month by month

This isn’t complete copy/paste code, but hopefully it’s understandable enough to get you started. First step is to register your post type and add a rewrite rule to handle years/months. This will give you single events at event/post-name/, your post type archive at calendar, and handle incoming requests for calendar/yyyy/mm/. Make sure to visit your … Read more

wp query with multiple taxonomy?

You can have more than two. You could have as many as you like but you may have performance penalties if you try to use too many. I’d expect this to be true especially if you use an OR relationship. See the following for a way to create your tax_query array dynamically. https://wordpress.stackexchange.com/a/97444/21376 To adapt … Read more