Search Results
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 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
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 |
A slug is a few lowercase words separated by dashes, describing a post and is usually derived from the post title to create a user-friendly (that is readable and without confusing characters) permalink. The post slug substitutes the `%posttitle%` placeholder in a custom permalink structure. A post slug should not be changed and is especially useful if the post title tends to be long or changes frequently.
0
votes
1
answer
51
views
Custom rewrite rule based on other custom post type title
Only when I change slug to fixed name and save perma links to clear rules, it works. But I need it to be dynamic. Any idea ? … 'rewrite' => array(
'with_front' => false,
//'slug' => '/investment/%mieszkanie_slug%'
'slug' => '/investment/lofthouse'
) …
0
votes
Custom rewrite rule based on other custom post type title
//Rewrite rule
function pm_extra_permastructure_tags($default_uri, $native_slug, $post, $slug, $native_uri) {
// Do not affect native URIs
if($native_uri == true || empty($post->post_type) || $post …