New answers tagged


Thanks to all! I was needed to add parameter to pojo_paginate(): pojo_paginate( $custom_query )


If you go to the URL you'll see that navigation works. What you need to do to see the navigation links is add something like this to your page <!-- Navigation --> <?php $pagination = get_the_posts_pagination(array( 'mid_size' => 2, 'prev_text' => 'Previous', 'next_text' => 'Next', ...


The problem could be a number of things. First of all, make sure you have more than 8 posts. If you do, then make sure you're pagination is working properly (numbered nav links to different pages should show up on page). Some more information would be helpful to better answer you question. Maybe a screenshot of the rendered page?


<?php global $wpdb; $limit = 0; $year_prev = null; $months = $wpdb->get_results( "SELECT DISTINCT MONTH( post_date ) AS month , YEAR( post_date ) AS year, COUNT( id ) as post_count FROM $wpdb->posts WHERE post_status = 'publish' and post_date <= now( ) and post_type = 'newses' GROUP BY month , year ORDER BY post_date DESC" ); ...

Top 50 recent answers are included