I want to change the structure of yearly/monthly archive URL of default post type ‘post’. […]
Tag: rewrite-rules
Display posts from Custom Post Type in category page on front-end
I created my Custom Post Type (bizdirectory), created a new post (Test Business) and created […]
Why does wordpress still strip my query var?
Im trying to pass a query var to a custom page template with pretty permalinks. […]
Why is add_rewrite_endpoint incompatible with /tegory%/%postname%/ permalink structure?
I’ve added a myvar/myvalue rewrite endpoint to EP_ALL which can be added to any URL […]
Permalink/Pagination issue: Category base name same as page name
I currently have a page called “Blog” (slug “blog”), which loads a index.php. All posts […]
Pretty URLs and custom post types
I’ve read the posts on WP SA on rewrites and custom post types, but I […]
Blog installed in subdirectory but need to create pages in root. How to use permalinks?
Our companies blog is installed in /blog. Our permalink structure is /%postname%/ so posts currently […]
Pagination problem
I have two custom rewrite rules: add_rewrite_rule(‘foo/bar/?’, ‘index.php?post_type=foo’, ‘top’); add_rewrite_rule(‘foo/bar/([a-z]+)/?’, ‘index.php?post_type=foo&bar=$matches[1]’, ‘top’); Which gives me […]
Pagination Doesn’t Work
I created myfile.php with the following content: global $paged; if ( get_query_var( ‘paged’ ) ) […]
Add rewrite endpoint to author page + pagination
I want to add a new endpoint to the author page, so that the URL […]
No More Posts Available.
No more pages to load.