wp_get_object_terms() isn’t the problem. the_taxonomies() is doing the outputting; it doesn’t return anything.
So, your code is equivalent to:
the_taxonomies( 'before=<ul><li>&sep=</li><li>&after=</li></ul>' );
wp_get_object_terms( $id, null );
Now, if you go to wp-includes/taxonomy.php you will find the dot in the_taxonomies() source.
To remove the dot, you need to add a filter:
function remove_the_dot($template) {
return '%s: %l';
}
add_filter('taxonomy_template', 'remove_the_dot');
In case you’re wondering, yes, this is an akward way of doing things.
In WP 3.1, you can modify the template simply by passing it as a parameter:
the_taxonomies( array(
'before' => '<ul><li>',
'sep' => '</li><li>',
'after' => '</li></ul>',
'template' => '%s: %l'
) );
Related Posts:
- get_post_terms not working as expected
- wp_get_post_terms not working as expected
- Is There a Difference Between Taxonomies and Categories?
- How to show a hierarchical terms list?
- get_terms by custom post type
- Need a simple but complete example of adding metabox to taxonomy
- What is ‘term_group’ for ‘order_by’ in get_terms()?
- Get Posts by Custom Post Type ,Taxonomy, and Term
- Check if a post is in any child category of a parent category
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- Order get_terms by term meta
- How can I create a taxonomy meta-box with search suggestions but no new terms input?
- Display all the subcategories from a specific category?
- tax_query in get_posts() not working?
- Get parent id by term id
- How to get_term_children output in alphabetical order?
- When to / not to use wp_get_post_terms vs get_the_terms?
- What is wp_insert_term “alias_of” arg for?
- Automatically Assign Parent Terms When A Child Term is Selected
- Control term order on a per-post basis
- get term by id without taxonomy
- How to limit the number of terms (terms acts like categories)
- Why does WordPress combine a term with the same name in the wp_terms table?
- How do I list custom taxonomy terms without the links?
- get a specific taxonomy term name
- Correct use of get_the_terms()
- Exclude specific slug in ‘get_terms’
- Exclude posts that only have the ‘Uncategorized’ category [duplicate]
- wp_set_object_terms() Fails to Set Terms
- Get multiple term IDs by slug, and then exclude them in get_terms
- Is there a way to disable a term rather than deleting it?
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Modify Term Update Redirection
- List Hierarchical Term List with Count with Related Term
- wp_list_categories: order by term order?
- Child terms from multiple parents?
- How can I select a primary category?
- I have a term_taxonomy_id — is there an API call to get the taxonomy?
- How are terms connected with posts in database?
- show tags of custom post type ONLY
- Exclude Child Terms From Parent Posts
- same taxonomy for several post types: how to hide empty in a specific post type?
- Is there a way to set singular/plural labels for taxonomy term names?
- How to sort terms with diacritical signs?
- Return only the custom sub-term for custom post type, do not echo term-parent
- wp_set_object_terms creates relationship to REVISION?
- get_terms() How many is TOO many?
- get_terms(); show private posts when logged in
- Check if current term is a child of another term
- Get category ID after wp_insert_term
- Count posts that have specific taxonomy term attached
- Retrieve single term slug
- get_terms() doesn’t return empty terms even though hide_empty is false
- Why is my WP_Query not working when tax_query terms are an array?
- get_terms with posts that have a different taxonomy with term x
- Formating the_terms() function output
- How do I access a single term from a post?
- List all taxonomy terms / Show links if posts are attached, else names
- Prevent Selected Terms Rising to the Top
- How to order get_term_children output by alphabetic order
- How to add terms to taxonomy with wp_insert_terms?
- Get_term_by only returns one item from array
- Custom Taxonomy Only Showing Top Level Terms in Admin?
- display multiple term post from taxonomy in a single page
- How to find objects by terms
- Can we have same term slug in different taxonomies?
- Is there any difference between post in child term and child & parent terms?
- Get current term’s ID
- Using get_terms for custom taxonomy in functions.php
- How to update incorrect post count in taxonomy?
- Term begins with a letter
- Is it possible to get a Previous/Next Taxonomy term archive URL?
- How to associate an image with a term taxononmy and publish it on frontpage?
- get_terms return errors
- Adding a term name from a custom taxonomy assigned to a post link displayed by a wp_query loop based on another taxonomy
- Create and move terms for taxonomies
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- Display certain amount of posts on taxonomy archive page
- have_posts() return false but count says “3”
- Importing data from spreadsheet into wordpress DB, along with custom taxonomies and their terms
- How to get the top most term (top ancestor) of a custom taxonomy child term?
- wp_update_term not creating new unique slug
- Missing term_id and term_taxonomy_id when adding a term using wp_insert_term() function
- How to set hierarchical terms to a post using wp_set_object_terms
- Echo taxonomy term meta on author.php
- Hierarchical display of custom taxonomy
- How to get the last term from taxonomy?
- has_term() does not return when term is assigned post?
- Does WordPress Offer a Way to Find All of the Categories that Don’t Have Children?
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Count posts for each taxonomy term for each month
- Get posts that matches specific terms of multiple custom taxonomies
- List post from current taxonomy children
- get_terms() but with additional dimensions?
- What hooks/filters are there to alter selected terms on post save?
- Count argument in get_terms has no effect on ouput/doesn’t work
- Get list of terms of current taxonomy archive for another taxonomy
- How to display term description in empty terms archive?
- How can I remove links from the function “get term list”?
- Wp set post terms not work