Hi @matt ryan:
Simplest way to do what you want is to use PHP output buffering. I haven’t tested it yet but this should work:
ob_start();
wp_list_categories( $args );
$html = ob_get_clean();
echo str_replace(get_bloginfo('wpurl'),'',$html);
UPDATE
You could also using the 'wp_list_categories'
hook like this:
add_action('wp_list_categories','mysite_wp_list_categories');
function mysite_wp_list_categories( $output ) {
return str_replace( get_bloginfo('wpurl'),'', $output );
}
Related Posts:
- Remove parent category from permalink? Basically only have the child category?
- Custom permalink structure leads to be 404 on pagination
- How to get permalinks with category base working with sub-categories
- Category archive by year with permalink support /category/YYYY
- Add a URL prefix to permalinks of one category of posts only
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Filtering categories in the permalink structure
- Allow duplicate permalink slugs for posts in different categories
- Force WordPress to Show Pages Instead of Category
- How do I use the same post slug for different Categories?
- How to remove category from wordpress url?
- Multiple post categories – single permalink
- How to create a custom url for a category [closed]
- How to change the category in URL for posts in multiple categories?
- How to exclude uncategorized from permalink structure /%category%/%postname%/
- How to get the url to tag & category base set by the user?
- 404 error on subcategory pages
- Categories’ hierarchy in URL
- Display list of Sub-Categories and the posts they contain, within one main Category
- Changing the category permalink structure
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- Category links suddenly started giving 404 errors
- Best and Cleanest way to remove /category/ from category permalinks? [duplicate]
- Categories list loop – add separator every year
- Exclude subcategories from the url
- How to display only the parent category in the permalink
- Exclude a category from the filed under list only on some templates
- Root level category, tag, author and archive pages to work
- Listing all posts from current category on page
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- Archive pagination causing 404 with permalinks structure
- Permalinks – Different structures for different categories?
- Plural Category Base Slug On Category Archive Page
- custom permalinks for category archive ( custom base and no parent slug )
- Display only one result from “get_the_category_list”
- How to add tags under categories
- A different permalink structure for different categories
- Return all Tags and Categories in Separate List
- How to remove category name for only one category?
- How to set the same base url for two different taxonomies?
- Subcategories randomly not working after page/post/category edit in wordpress. Fix: saving permalinks twice
- Get multiple category names from permalink
- Get category base permalink
- Is it possible to set up blog categories without changing permalink structure
- Remove WP Core canonical for category pagination
- Category URL’s 404 after setting category base to ‘.’
- Include a page’s “category” in its URL
- Wrong category in URLs accepted like the correct one
- get taxonomy list in a page in the wordpress
- Subcategory Page 404ing
- Remove “category” from permalink with add_rewrite_rule
- Remove base category gives 404 error
- Custom permalink /%category%/%postname%/ produces 404 on each post
- Change Category Base For Custom Post Type or Posts Page
- When category name and title are the same … WP will select archive.php instead of single.php
- WordPress Category url redirects to subdomain
- Accessible Subcategory URL’s pages without using .php hack
- WordPress and “pretty permalink”
- How Can Hide Define Category in Post Contents?
- same permalink for parent category and child category
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Group Posts by First Letter of Title categories
- /blog/ permalink prefix causes category pages to 404
- Create monthly archive for parent category
- Using categories and pages in menus
- Page Type with Category Link
- hierarchical taxonomy in permalinks? using same slug
- Change category base based on category
- Allow duplicate permalink slugs for posts in different categories
- Changing Permalinks for Category Pages Only
- Most efficient use of custom taxonomies, categories, and pages
- AZ Directory category
- Removing short versions of category archive URL
- Search tag within category
- Link categories to last post
- Listing category
- Change next_post and previous_link to navigate throught parent categories only
- Using pagination with multiple loops causes it to break
- List products from current category
- Way to show content of a post, but if exceeds character limit revert to excerpt?
- list taxonomy based on taxonomy
- How to include first assigned category in the post URL?
- How do I hide posts in a category from all listings but still allow the posts to be viewed?
- how wordpress generates permalinks as /%category%/%post%/
- Create custom Perma link
- Multiple Parent Category URLs
- Custom permalinks structure
- How to get category slug link? ( include parent categories)
- Moving Blog and Changing URL
- Category archive page has two URLs even when default theme is active with no active plugins
- Custom EndPoint not working when strip child category in URL
- Remove “?category=” in the URL wordpress ajax filter work for category
- Use same wordpress category base and tags as the prefix as the post permalink
- How to add custom prefix before category base for category page URL?
- WordPress how to remove parent slug from category URLs
- How to remove the category from the url only for a specific category of articles on wordpress
- Display last category child in permalink
- Link from page to category posts
- How do we ReWrite HTACCESS to point a cat/subcat Product URL, to Cat/ only?
- Changing category base slug results in 404 errors on posts?