1
vote
0answers
29 views

Filter categories used with Custom Structure Permalink

I'm using a "Custom Structure" permalink setting: http://mysite.com/%category%/%postname%/ However, when the post belongs to uncategorized, or to more than one category, this produces unwanted URL ...
0
votes
2answers
32 views

Wordpress page/blog incorporated into static website

Currently, I have a static website. I wanted to know how I could go about replacing one of the static pages with a WordPress page that will function as the websites blog? I know how to create a ...
0
votes
1answer
39 views

append links with unique number string

I am in the process of developing a WordPress theme for a news site that delivers the news in bitesized chunks with the story regally updated with new content. What I am having trouble with is this: ...
1
vote
1answer
24 views

How to make permalinks update from code?

I have made made a theme that has some 'virtual' pages made with url_rewrite. Is there any way of updating the permalink options at theme install so the pages are availble from start, with out ...
0
votes
0answers
34 views

Why does my installation default template to index.php when archive.php and category.php exist?

I have set up a theme that started off as a copy/paste of twenty-thirteen, because I'm familiar enough with that theme and would like to build from something I am familiar with. That theme includes ...
0
votes
0answers
39 views

Hierarchical = True (on my custom taxonomy) redirect me to single post

I would like know why my link : customposttype/parent-taxonomy/children-taxonomy redirect me to single post : customposttype/parent-taxonomy/single-post and not in the taxonomy-custom-taxomomy.php ...
0
votes
1answer
61 views

How to remove permalinks links presents in each page of my site?

I have this WordPress static site: http://www.saranistri.com/ As you can see at the end of each page there is a link named Pemalink into a box. I want to remove this box and this link. Can I do this ...
1
vote
1answer
162 views

Get term name and term parent into custom post type permalink

That i would like (for taxonomy page): Current URL : myurl.com/commerce/artisans/boucherie/ What i try to do URL :myurl.com/commerce/artisans/alimentation/boucherie/ Alimentation is the parent of ...
0
votes
2answers
99 views

Permalinks problem with custom theme

I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks. In the permalinks settings page on the wp-admin, if I put any option ...
0
votes
1answer
123 views

Mamp pro permalink issues. Pages keep reverting to index.php

So I pulled a site down to my local machine to do some work on it. Copied the files, find/replace on the database to update the url, added a host. Everything worked fine until I changed the permalink ...
1
vote
1answer
501 views

How to get the url to tag & category base set by the user?

I'm searching for half an hour now on how to get the url/permalink base in Wordpress (the 'category' and 'tag' value set in the backend). Could you please point me in the right direction? I want to ...
3
votes
1answer
77 views

Change permalinks for posts but not for custom post types

Currently my permalink structure for posts is domain.com/post-title I'm using a static front page and a "blog" page for posts. I'd like to to change the permalink structure for posts, tags and ...
0
votes
2answers
23 views

Custom Post Type - Main page for certain posts

I've successfully added a custom post type. register_post_type('case', array( 'labels' => array( 'name' => __('Cases'), 'singular_name' => ...
0
votes
1answer
445 views

Custom post type permalink sends to 404.php

Hi I have created a custom post type and custom taxonomy.The custom post type page is named page-portfolio.php.I have create a loop in it in witch I am trying to link to each posts single page.For ...
0
votes
2answers
639 views

Get the blog page URL set in Options

I have set the blog to be a different page other than the home page. I want to have a link from single.php to this blog page. Is there any function that pulls out URL for the blog ?
1
vote
1answer
581 views

How Do I Programmatically Force Custom Permalinks with My Theme?

I'm making a custom theme. It's a highly specialized theme to make WordPress into like an application rather than a CMS system or blog. For instance, a Dental Office Scheduling System (with CMS and ...
4
votes
1answer
3k views

How to set permalink structure via functions.php

I'm setting up a Wordpress Network and wanted all new sites to have the same permalink structure (i.e. "/%year%/%monthnum%/%postname%/"). I'm wondering if this is possible to do via hooks or hacks in ...
0
votes
2answers
2k views

get_query_var() and permalinks

I have a permalink structure that looks like this, %category%/%postname% I have a category.php template coded up and and trying to pull of the post of a certain category, so for example my URL may ...
0
votes
1answer
49 views

How to set a page as homepage in stead of the newspages?

I need some help. I want the same as on this site: http://www.123ipad.nl/ (this is my website) When you go to the home url you come to a page in stead of the newspage. The newspages are in the submap ...
0
votes
1answer
260 views

If I remove Category base from my URLs, how difficult will rollback be?

The last time I asked a question that required an opinion response, I was awarded the dubious tumbleweed badge. I'm fearful of adding to my collection, but here goes :) I'm considering writing an ...
0
votes
1answer
871 views

What are the permalinks options for “Category” base and removing it?

Under "Settings > Permalinks", we can set up the default category base name to use for our category landing pages. For example, site.com/categories/my-first-category/. Is there a setting I can add to ...
1
vote
3answers
609 views

single-type.php not working, delivering 404

I've created a custom post type, and have successfully added a few entries. I can call these entries out with query_posts() to show on the front page, but the_permalink() on each of them just sends me ...