Tagged Questions
0
votes
0answers
11 views
Pagination doesn't work using custom query (GET), WP redirects to paged url [duplicate]
I am using the Better pagination via: http://sltaylor.co.uk/blog/better-wordpress-pagination/ and for some reason the pagination url gets redirected by Wordpress.
The pagination query should be:
...
0
votes
1answer
137 views
Unable to get wp_redirect() working after adding a CPT via the front end
I am attempting to learn PHP by creating a relatively simple application built on wordpress, it is a basic CRM and I've made decent progress but have been stuck on some of the finer points.
I've been ...
3
votes
1answer
128 views
Redirect after deleting post and keep track of pagination
I have a custom post list in the admin panel. This list is paginated, so this is it's url :
wp-admin/edit.php?post_type=xxx, if I open the default page
wp-admin/edit.php?post_type=xxx&paged=n, ...
0
votes
1answer
222 views
wp_redirect to file:// location results in blank page/cannot be displayed page
I have a CPT that is justed used for linking to resources on a local drive.
I have this code in single-resource.php:
<?php
global $post;
the_post();
$location = get_post_meta($post->ID, ...