JosiahSchaefer
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PageNavi] Not working with category/postname permalinksA couple months late, but I’m having the same issue. I’ve got a category page that only returns posts from that category (currently 2 posts), but the pagination shows a second page that results in a 404 error.
Is PageNavi taking into account all posts? And if so, is there a way to limit it to only the currently queried posts?
Edit: Nevermind, I found the answer on another support post.
Turns out you CAN return pagination for the current query this way:
<?php wp_pagenavi( array( 'query'=> $the_query) ); ?>
Previous code for original query
<?php global $post; $category = get_the_category($post->ID); $category = $category[0]->cat_ID; ?> <?php $args = array( 'post_type' => 'post', 'category__in' => array($category) ); $the_query = new WP_Query( $args ); ?>
- This reply was modified 7 years, 1 month ago by JosiahSchaefer.
- This reply was modified 7 years, 1 month ago by JosiahSchaefer.
I’m here trying to find a solution to what sounds like a very similar problem. I’ve got backups set to go to Dropbox, but they have also been saving to the webserver. Taking a look at it, it kinda seems like only the database is being sent to Dropbox, but the plugins, themes, and uploads are all being stored locally.
I see that there is a “delete local backup” setting that should prevent this from happening if checked, but it looks to already be enabled.
What ended up being the resolution to OP’s problem? Hoping it can fix my problem as well.
- This reply was modified 7 years, 3 months ago by JosiahSchaefer.
- This reply was modified 7 years, 3 months ago by JosiahSchaefer.
Nevermind, I realized as soon as I pasted the URL that it was fetching a calendar with a specific filter that the previous developer set up. All good.
Just a follow-up in case anyone else is checking this. The problem ended up being some missing items in my server’s PHP installation that the plugin relies on.
Sorry about that, I’m sure adding that detail would have been helpful.
I’ve tested it in Chrome, Firefox, and Safari, and they all seem to have the same problem of being stuck with the loading spinner.