You really shouldn’t need this, as you should be outputting the URLs via the API: get_tag_link
, get_category_link
, get_term_link
.
However, for the sake of answering the question, they’re stored in options:
get_option( 'tag_base' );
get_option( 'category_base' );
Related Posts:
- Root level category, tag, author and archive pages to work
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- Retrieve all posts within tag OR category?
- How get permalink for the current category or tag?
- Changing permalink from /postname/ to category/postname/
- Different templates for different category tags
- How do I retrieve the category ID (ugly permalinks) in my sub-navigation menu?
- Advanced permalinks structure
- How to add tags under categories
- Page Type with Category Link
- altering theme – content generated by PAGES not PORTFOLIO
- How to display non-hierarchical taxonomy as terms with checkboxes?
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- How to remove category from wordpress url?
- How to create a custom url for a category [closed]
- Use tag interface for hierarchical taxonomy?
- How to change the category in URL for posts in multiple categories?
- Using URL parameters, list posts from category and custom taxonomy
- Filter categories using tags
- Sticky posts on home page, search, tag and archives without plugin
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- Archive pagination causing 404 with permalinks structure
- Plural Category Base Slug On Category Archive Page
- Remove Categories and Tags from Admin Dashboard
- WooCommerce change category url and product base
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- Any way to assign Post Categories and Tags to Links?
- Hide tag and category boxes from the post editor
- Edit the markup of categories list
- Allow dot in wordpress permalinks (only for categories)
- Specifying multiple categories in URL (permalink)?
- Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages
- How to run select query of post with category and tags for API?
- Add “page-a” slug to category link if user visit category link from “page-a”
- Redirect category to url with /category
- How to call custom category field data in theme?
- Using permalinks, category slugs, and tag slugs
- One Specific Category To Permalink
- How to display categories which contains particular tag?
- “Categories” for six authors [closed]
- Permalinks: display just one kind of wp category in the posts url
- Multiple URL’s based on category for one post
- category permalinks
- Sub Categories Keep Redirecting to Pages With Same Slugs
- Woo Framework: woo_cat_featured not populating
- How to add a post without assigning to a category?
- Hierarchical permalink structure for posts showing categories and sub-categories
- Getting the category title / description returns first matching post?
- Echo text using is_tag
- Cannon see subcategory in permalink
- Redirect Changed Permalink on wordpress
- Allow user to select categories that will display in post loop
- Insert HTML content in WP Query at specific point
- How do I change the category permalink structure?
- List all posts of certain category which share some tags
- How to add icon over specific thumb
- Retrieve post tags from from main wp_query
- Pagination breaks on child-categories, works fine on parent-category
- Is the part “category” fixed to an URL to an archive or post?
- Subcategory Page URL to Display Only Posts from that Subcategory?
- WooCommerce shared categories
- display specific category when website loads
- Show the number of the post
- Automatically adding tags and categories into Post Excerpt for searching
- Can I show category name in url for only one of my categories?
- Return all Tags and Categories in Separate List
- How to filter tags by category?
- How to set the same base url for two different taxonomies?
- Get multiple category names from permalink
- Get category base permalink
- Count how many posts have a specified tag AND category
- How to prevent tag “iframe” from being deleted from the heading description of rubric?
- Include a page’s “category” in its URL
- Wrong category in URLs accepted like the correct one
- Remove base category gives 404 error
- Custom permalink /%category%/%postname%/ produces 404 on each post
- Balance Tags to the_content Words Length
- custom browse by
- WordPress Category url redirects to subdomain
- Categories and Tags Conflict after Woocommerce Installation
- How can I add metaboxs to Admin Bar?
- Split posts into 2 separate streams
- How to add an “All” category to the tag cloud?
- Exclude posts with certain tags in category archive
- Getting Post Tags From Certain Categories
- Lowest catagory link
- How to add an empty entry to masonry?
- Own Custom Tags/Category page ( posts)
- Tracking multiple tags or categories
- How to load jquery tag-it plugin into admin?
- Modify functions.php to add a term ‘uses-theme’ set to theme name on post save
- Change next_post and previous_link to navigate throught parent categories only
- Using pagination with multiple loops causes it to break
- Category Archives: Show posts categorized in parent category only
- Create custom Perma link
- Query posts that have all the specified tags
- Multiple Parent Category URLs
- Moving Blog and Changing URL
- In my wordpress admin panel Suddenly The Category, tag and featured Image Option are not showing
- Use same wordpress category base and tags as the prefix as the post permalink