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:
- Custom permalink structure leads to be 404 on pagination
- How to get permalinks with category base working with sub-categories
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Filtering categories in the permalink structure
- 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?
- Categories’ hierarchy in URL
- Display list of Sub-Categories and the posts they contain, within one main Category
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- Best and Cleanest way to remove /category/ from category permalinks? [duplicate]
- Categories list loop – add separator every year
- 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
- Plural Category Base Slug On Category Archive Page
- WooCommerce change category url and product base
- Removing category base form links messes up the parent-child behavior
- Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !
- Get woocommerce catogry
- How to set up Author archives with sub category URL
- Allow dot in wordpress permalinks (only for categories)
- wp_dropdown_categories and custom taxonomy + custom post type
- How to get category URL with the slug?
- Get all sub-categories of a parent category
- Specifying multiple categories in URL (permalink)?
- Check child/parent categories if exists
- WordPress subcategories return 404 in custom template
- force category base – archive pages work WITH & WITHOUT category base slug in url?
- How get permalink for the current category or tag?
- Add “page-a” slug to category link if user visit category link from “page-a”
- Redirect category to url with /category
- Changing permalink from /postname/ to category/postname/
- Show Available Taxonomy List with Current Category
- One Specific Category To Permalink
- Display the last post by each category?
- How to disable default category linkbuilding?
- Show parent category in URL of subcategory archive page
- Mod_Rewrite to show only last subcategory in URL
- Permalinks: display just one kind of wp category in the posts url
- Multiple URL’s based on category for one post
- category permalinks
- List categories with custom code
- Sub Categories Keep Redirecting to Pages With Same Slugs
- How to rewrite the post URL according to the category?
- Remove the parent name from permalink
- Categories list loop – add separator every 3 categories [closed]
- Redirect single article permalink to paginated category page
- How to add a post without assigning to a category?
- WordPress alphabetical A-Z custom post type post result display
- Hierarchical permalink structure for posts showing categories and sub-categories
- Adding category dropdown list to theme options page
- Function to automatically rename the base category permalink
- Cannon see subcategory in permalink
- How to show a list of only categories (exclude subcategories)
- Redirect Changed Permalink on wordpress
- Category list with postcount
- How do I change the category permalink structure?
- category link not working for a specific slug, works for others
- Advanced permalinks structure
- Pagination breaks on child-categories, works fine on parent-category
- Is the part “category” fixed to an URL to an archive or post?
- Category URL Management
- Categories show 404 error on multisite installation
- Subcategory Page URL to Display Only Posts from that Subcategory?
- Return all Tags and Categories in Separate List
- How to set the same base url for two different taxonomies?
- Get multiple category names from permalink
- Get category base permalink
- Remove WP Core canonical for category pagination
- 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
- WordPress Category url redirects to subdomain
- WordPress and “pretty permalink”
- /blog/ permalink prefix causes category pages to 404
- Using categories and pages in menus
- Page Type with Category Link
- Most efficient use of custom taxonomies, categories, and pages
- AZ Directory category
- Link categories to last post
- Change next_post and previous_link to navigate throught parent categories only
- Using pagination with multiple loops causes it to break
- Way to show content of a post, but if exceeds character limit revert to excerpt?
- list taxonomy based on taxonomy
- Create custom Perma link
- Multiple Parent Category URLs
- How to get category slug link? ( include parent categories)
- Moving Blog and Changing URL
- Custom EndPoint not working when strip child category in URL
- Remove “?category=” in the URL wordpress ajax filter work for category
- How to add custom prefix before category base for category page URL?
- How to remove the category from the url only for a specific category of articles on wordpress
- Link from page to category posts