Best way to programmatically link to multiple categories (union/intersection) [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago. This question assumes that you know about the … Read more

How to specify URLS for custom posts & taxonomies

I’ve read a few posts about this, but can’t find a clear answer 🙁 I have a custom post type called {ondemand} Within the custom post, I have three taxonomies {speakers} and {categories} and {season} Each taxonomy has 3-4 terms, for example under {speakers} there is one called [joebloggs] Currently I have a main URL … Read more

add new permalink structure from dynamic page

I created page “play” url: http://localhost/myweb/play and inside of page “play” I include PHP code to make the new search from outside WordPress. And all worked, if I search from my page “play” the url will be: http://localhost/myweb/play?m=text+Search&pageno=1 Now, I want my search result url to be fancy url, like: http://localhost/myweb/play_text_Search_1.html I have tried several … Read more

Page Attachment Permalink Structure based on Menu Order?

I’ve been on a quest for the past couple of days reading up on Rewrite in WordPress but still can’t seem to figure out how to accomplish this. When using pretty links in WordPress, media attached to a page forms a URL like: http://www.domain.com/page_name/attachment_name/ http://www.domain.com/page_name/page_name/attachment_name/ http://www.domain.com/page_name/page_name/…/attachment_name/ What I would like to do is create a … Read more

Incorrect 404 for pages when using permalink, a static front page, and posts page

I am having an issue with my permalink setup, which I think has to do with my setup, rewrite rules, and more. Under Settings->Reading, we have a static Front Page set as well as a Posts page (Home and News, respectively). Under Settings->Permalinks, I have a custom one set up as /news/%postname%/. Basically, I want … Read more

Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure

this is my situation: I have a Custom Post Type named struttura (like accommodation): function custom_post_struttura() { $labels = array( ‘name’ => _x( ‘Strutture’, ‘post type general name’ ), ‘singular_name’ => _x( ‘Struttura’, ‘post type singular name’ ), ‘add_new’ => _x( ‘Aggiungi nuova’, ‘book’ ), ‘add_new_item’ => __( ‘Aggiungi nuova Struttura’ ), ‘edit_item’ => __( … Read more