Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 2830

A permanent link to an item (a blog post, an attachment, ...). The default structure is "?p=123", but WordPress can handle "pretty permalinks" and will rewrite them internally to the former version. If you have a question about special rewrite structures you should use the [url-rewriting] tag.

0
votes
1answer
I've setup a static posts page named "Journal", mydomain.com/journal. This page now lists my 15 latest posts. All fine this long. I'm able to access each post individually by going to mydomain.com/po …
asked Oct 5 '14 by INT
0
votes
With some help I was able to get it working with this: add_action('init', 'journal_urls'); function journal_urls() { add_rewrite_rule( '^journal/([^/]*)$', 'index.php?name …
answered Oct 6 '14 by INT
1
vote
0answers
So I managed to get my rewrites to work finally. But since I disabled the slug that usually gets prepended for CPT's, I've got general rewrites, that ends up giving me a 404 when trying to browser pag …
asked Mar 1 '17 by INT
1
vote
1answer
Having some issues with creating the permalink structure that I'd like. Found a piece of code on Stack Exchange, which unfortunately I cannot locate right now. I have a CPT called project and I want …
asked Mar 9 by INT
3
votes
1answer
I'm looking for a plugin/custom function that removes the parent slug of a child's page permalink. Something that automatically changes the permalink for child pages. Example: www.blog.com/products/ …
asked Jun 24 '12 by INT
2
votes
2answers
I've created a custom taxonomy for the product post type created by WooCommerce. I want to use this taxonomy to the permalinks of the products. I stumbled upon this which seemed to be perfect for … permalinks * * @wp-hook do_parse_request * @wp-hook page_rewrite_rules * @global $wp_rewrite * @param mixed $pass_through (Unused) * @return mixed */ function wpse_56769_rewrite_verbose_page_rules …
asked Oct 17 '16 by INT
0
votes
Ended up with commenting out line 4 and changing the filter into this: add_filter('post_type_link', function ( $post_link, $post, $id = 0 ) { if ( 'project' != $post->post_type || 'publish' != $p …
answered Mar 9 by INT
2
votes
As always it was too simple in the end, was using the wrong hook. post_link is for posts only should use post_type_link instead. /** * replace the '%item%' tag with the first * term slug in the it …
answered Oct 17 '16 by INT