A few lowercase words separated by dashes, describing a post and usually derived from the post title to create a user-friendly (that is readable and without confusing characters) permalink. Post slug substitutes the `%posttitle%` placeholder in a custom permalink structure. Post slug should not be ...

learn more… | top users | synonyms

1
vote
0answers
31 views

Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?

The wordpress theme I'm using uses a custom post type called 'coupon' and a custom taxonomy called 'store'. The default permalink structure for a coupon post is site.com/coupon/CouponPost I would ...
0
votes
1answer
26 views

Unwanted slug in my website

There is an unwanted slug /question/ in my WordPress website. Slugs are automatically changed to /question/ when I open many pages. I have thoroughly checked my phpMyAdmin and I have no /question/ ...
1
vote
2answers
119 views

Custom Taxonomy breaking pages permalinks

I'm stuck for some days with this problem and I don't know what else to do. With %somethingHere% on slug rewrite, pages permalinks are broken (CPT AND CT OK). Without, I don't have my desired Post ...
0
votes
0answers
6 views

Switch the old post to the newer post in same tag [duplicate]

I wanna build website like http://www.apkfield.com/ with wordpress as CMS but with different structure. There are apps version and i think it uses tag (new post in same tag = new version). I want that ...
0
votes
0answers
16 views

Remove Page Slug from URL

I have a page www.website.com/merchant, this is a page post type. I placed a shortcode in this page to generate merchant information. So If the URL is www.website.com/merchant/store1, that page will ...
0
votes
1answer
32 views

Can't edit Custom Post Type slug/permalink

I have a custom post type and the permalink shows up but I am unable to modify it like I can with Pages and Posts. Is there a way to enable this? I have a few conflicts with some pages and I'd like to ...
1
vote
2answers
95 views

How to generate random numeric slugs for a custom post type?

I have this PHP code to generate a random numeric string: function generateRandomString($length = 12) { global $generatedStrings; $characters = '0123456789'; $randomString = ''; for ...
0
votes
0answers
12 views

RSS FEED taking over Slug

I created a custom rss feed called "feed-news" using a template called feed-news.php I followed this tutorial http://gregrickaby.com/custom-rss-template-wordpress/ For some reason that RSS feed has ...
0
votes
1answer
50 views

Later change of taxonomy slug base not changing permalink

When defining a taxonomy I successfully set the slug base for it as well, all via functions.php. However, any change on the slug’s base (via editing functions.php again) is being recognised, i.e. it ...
0
votes
0answers
19 views

Keep wordpress from modifying my permalinks

How can i stop wordpress from modifying my permalinks. It is like it has a mind of its own. If I have title of the page such as: Top Benefits of Red Apples, the permalinks is top-benefits-apples. ...
0
votes
0answers
14 views

two permalinks for the same post

Do you know a way of having two permalinks for the same post? I have post with an hebrew slug and i want to have the same result with an english slug i'll give it.
1
vote
1answer
59 views

Post slugs and images cannot have same name?

If I go to Media Library and upload an image called apple-pie.jpg And then I create a post called www.domain.com/apple-pie/ The link does NOT take me to the post. Instead the link will take me to a ...
-1
votes
1answer
53 views

Create page using same slug as custom post type

I am working on a site for a client who has custom post type called "practitioners" and several posts within this displaying info related to different practitioners. I want to create a page with a ...
0
votes
1answer
69 views

Bulk update post slugs through database

Is there a way to bulk update permalinks through the database? cause I have like 20k posts and all I want to do is add a prefix to the permalink. I could just manually update but that's too tiresome ...
0
votes
1answer
38 views

How to use a hierarchical taxonomy in permalinks?

I use permalink: /%category%/%postname%.html and want to have categories like this: Wheels Mercedes Toyota Brakes Mercedes Toyota I want their URLs like this: ...
0
votes
1answer
61 views

Display taxonomy term slugs

I'm looking to display a slug list of the taxonomy term for the current post within the loop. <?php $terms = get_the_terms( $post->ID, 'wpsc_product_category' ); if ( !empty( $terms ) ){ $term ...
1
vote
0answers
17 views

put custom taxonomy slug in front of their respective term slugs

I needed to register two custom taxonomies which partly share some terms. The structure would look like this, when commerce and crafting are two different custom taxonomies: Commerce Furniture ...
0
votes
0answers
32 views

Add slug current in get_posts( $args );

In my Costum Post Type,I would like to have a list of my CPT (aka "createur") in my current catégory (aka "domaine"), my code is in taxonomy.php Example : ...
0
votes
1answer
24 views

Needed to change slug to access page

I've created a page, with the slug "news". Something happened because now I can't access /news .. I needed to change the slug to "news_", or something, to access that page. I checked the database to ...
0
votes
0answers
11 views

Remove “#” in slug of filterable Portfolio

This is the site im working: http://executrain-qro.com.mx I'm using a filterable portfolio and how you can see the slug is rewritten depending on the category ... the problem is that Internet ...
-1
votes
3answers
47 views

Post/page without slug

I have posts that are full posts with page content and images, etc. Then I have potential future posts, which I still want to list on my category pages, but that do not have content yet and do not ...
0
votes
0answers
19 views

Different Slugs depending on last page

is it possible to configure WordPress on some way that if i have a portfolio Item ( from my theme ) which will be opened from 2 different pages and w/o an URL jump so that www.xyz.com/brands/example ...
1
vote
1answer
52 views

Make slug as ID Number for custom post types

I want to make the slug for each of my custom post types to be the post ID number. How do I do this? None of my posts accept post title, content, or anything else - they require different data which ...
1
vote
0answers
22 views

Register slug capitalized in url directs to separate page

I'm designing a theme in Wamp using the underscore theme. I also have buddypress enabled. I've been working on a custom registration page under localhost/testsite/register/ but I had cap locks on when ...
2
votes
2answers
78 views

Where is the old post permalink slug stored?

I published an article with permalink slug: http://domain.com/writing Then after publishing, I changed the permalink slug to writing-lorem. Now, whenever I visit /writing, it redirects to ...
0
votes
0answers
43 views

wp_nav_menu use #<slug> instead of permalinks

I need help modifying the wp_nav_menu arguments so that it can generate a menu which has # instead of permalinks.. I know I can add custom link menu items, but I want the menu to be more dynamic .. ...
0
votes
0answers
15 views

Show Subpage in Author Slug Address

I changed author slug to "profile" then i created a page named "profile" and a subpage named "edit" for showing profile editing page. Now profile edit page link is "mysite.com/profile/edit" but ...
0
votes
0answers
78 views

How to allow Custom Post Type slug conflicts?

Okay so I've done a fair bit of searching through Google before posting this and there's a tonne of questions/answers on this topic but none that resolved the issue specifically. Let's say I'm making ...
0
votes
1answer
68 views

Getting the slug into a variable, how to echo that variable

The page slug for each of our wordpress articles is a unique set of seven digits, and we are using that string of numbers as the page slug. In trying to learn how to customize our site even further, ...
0
votes
2answers
145 views

Add category slug as class attribute in a link array

This incredible website and the genius developers here have helped me significantly in the course of my WP Dev over the years, firstly THANK YOU. I am now faced with a problem that I have been trying ...
1
vote
1answer
99 views

Adding special characters to slug?

Is it possible to prevent WP from stripping out certain characters when customizing a URL? For example, affiliate ids usually have something like ?id=something. Customizing a content's slug with ...
0
votes
2answers
30 views

Is there a way to remove the option to modify the Slug in post.php

I am trying to remove the option to edit the Permalink. I know how to hide it with CSS and I have. But a hacker could simply just go to Inspect Element and change display: none; to display: block; ...
0
votes
1answer
24 views

How to print partial URL after #? [closed]

In WordPress, is it possible to retrieve the part of the URL after a #? I'm trying echo the_slug(); but it's showing front slug. But I want after #tag For example: I'm searching and land on this ...
0
votes
2answers
43 views

Relationship with 2 custom post types

i want to relation to custom post types. I register post types with this code add_action('init', function(){ $args = array( 'public' => true, 'query_var' => true, ...
0
votes
1answer
34 views

Costum post type with costum (sub)taxonomy

This question is probably asked before but my language not being natively english i cant really find the answer: I got a custom post type: products and custom (hierarchy) taxonomy: collection in the ...
0
votes
1answer
85 views

Remove taxonomy slug when not assigning taxonomy with custom post types

I have created a custom post type plugin that when the user assigns the post to a taxonomy (termed 'classification' in the site), it is added to the url slug. So basically it renders: ...
0
votes
1answer
98 views

Custom post type's slug gets wrong when adding a custom meta box

I'm trying for hours now to find the error moving back and forth. I have a custom post type. Everything works fine until I add my custom meta box. Now suddenly the slug gets the title of one of ...
0
votes
3answers
97 views

Custom Slug for a custom post type and default post

It's now several hours that I am trying to get this done without finding a proper solution. WHAT I WANT TO ACHIEVE I'd like WP to use the following URL structure: 1) Posts -> ...
0
votes
0answers
112 views

Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks

I have a problem currently that is related to permalinks. I have a custom Post type "workshop" and two taxonomies named "manufacturer" and "models". What i want to get and tried is this URL pattern. ...
0
votes
1answer
34 views

How to remove the category from post slug

I want to remove the category from post slug, for example a post slug like "http://my_site.com/uncategorized/hello-world/" would become "http://my_site.com/hello-world/". My search only gives ...
0
votes
1answer
35 views

Why doesn't 'continue' work in page?

OK, so I'm working with a template (I have contacted the developer and they were of no help, so I'm modifying the template page as needed). The template displays portfolio items, using the following ...
1
vote
0answers
84 views

How to change the Author Slug from Username to Nickname and deal with Special Characters

I need to change the author slug from username to nickname: This is what is set by default: http://domain.tld/author/(username) This is what I need: http://domain.tld/author/(nickname)-(author-ID) ...
3
votes
1answer
345 views

Slug Formatting : Acceptable Characters?

I have done a lot of googling on this so I sincerely apologize if there is a codex entry for this but for the life of me I can not find a hard and fast rule about what characters are acceptable in a ...
1
vote
0answers
68 views

Use category base slug in posts' permalink

The Goal I would like to format my permalinks as follows: for posts: somePrefix/%category%/%postname% for categories: somePrefix/%category% Where somePrefix is the same in both cases. I know ...
0
votes
0answers
104 views

Change custom post type slug from URL

I have two pages showing portfolio posts, one of them shows the posts with parent category 'products', and the other one the posts with parent category 'projects'. The problem is that, the url inside ...
0
votes
1answer
79 views

Category slug not showing for Custom Post Type

I have a Custom Post Type called 'shows' which makes use of the default Wordpress Category function. I can see my 'shows' posts on /category/%postname% URL's, but when I post the URL the slug looks ...
0
votes
1answer
28 views

post type slug vs page slug

I having and issue with my permalinks, I wonder if someone has solved this. Basically I have a page named videos and also a post-type name videos, so I try to access to /videos I doesnt not display ...
0
votes
1answer
48 views

Wordpress Tags in class

I have added tags to my Custom Post Type. Now I want to use them to create a isotope portfolio, I can load all tags with this code: <?php $args = array( 'post_type' => 'portfolio', ...
0
votes
1answer
32 views

sort by name (slug) custom post type

What's wrong in this query ? the sortby=name doesn't change anything. $the_query = 'posts_per_page=-1&sortby=name&order=ASC&post_type=mycustom&custom_cat=mycat'; // query is made ...
0
votes
1answer
67 views

Custom Post Type archive-{post-type}.php not working

My permalink is set to a custom structure: /blog/%year%/%monthnum%/%day%/%postname%/ I have a custom post type we'll call "post-type". I also have an archive page named archive-post-type.php ...