If one taxonomy contains the same term as another then display post
If one taxonomy contains the same term as another then display post
If one taxonomy contains the same term as another then display post
Dropdown to select posts by month and then displaying those posts in the archive page
Loop through years and months in WordPress archives
So due to issue mentioned by @Tom J Nowell doing this is actually a bit more complicated because it depends on how you want to sort the posts and if you want pagination. If you sort the posts by date, then even if you could group by category, each page of results would likely still … Read more
Did you check to make sure the folder structure is correct in your WordPress installation? A 404 error is caused if the URL does not point to a valid area. So if the URL is yourwebsite/2019/04/myblogname – and a 404 error appears – it means there is no file with that name. A few ways … Read more
WordPress can generate these, so you can too. You would need to use the same function that WordPress does. For category it would be something like: $category = get_category_by_slug( ‘example’ ); $link = get_category_link( $category->term_id ); Similarly there is get_tag_link() and on deeper level they all really use get_term_link() I didn’t play much with authors, … Read more
I’ve looked over code and it doesn’t seem possible with this function. Months and their post counts are fetched with raw SQL query, for months without posts there are simply no records in database. It doesn’t make effort to skip empty month, it simply doesn’t get those from database.
There is nothing in term_description() and deeper (that I see) that checks for user. You can try this and see if it returns WP_Error that might make term_description() return empty string: get_term_field( ‘description’, $term, $taxonomy )
Does slideshow-home.php has a loop as well? You need to ensure that you reset the queries or rewind posts while using multiple Loops <?php wp_reset_query(); ?> Multiple_Loops Reset Query
You want is_paged() (see Codex). This returns true if you are on page 2,3, etc and false if you are on the first page. So… if(!is_paged()){ //Display current / future sermons } //Display archived sermons.