The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
15 views

Question with get_the_term_list

I'm using this function right now in my theme to show each project's custom taxonomy. In this case, the custom taxonomy is tipo_de_tarea: echo get_the_term_list( $post->ID, 'tipo_de_tarea' ); I ...
1
vote
1answer
210 views

PHP Code to Display Term URL & Name of a Post Under a Custom Post Type

I am featuring a post in my footer(outside the loop) from a custom post type and am using Advanced Custom Fields plugin to do so. This is the code I am using: <h5>Featured Movie</h5> <?...
0
votes
1answer
49 views

get_the_term_list without specific category

I am using : $term_link = get_the_term_list($post->ID, 'portfolio_category', '', '<br />', ''); to get the category and link to it. There is any way to get all category despite specific ...
0
votes
1answer
112 views

get_the_term_list give me a whitespace

I'm using this code to get my term list, It works fine, but it also give me a white space before my TERM name, Any thoughts? <span class="metaorange"><?php $terms_as_text = strip_tags( ...
0
votes
1answer
48 views

Custom taxonomy list in two columns

I am using this to get taxonomy list. For each post, there are more than 20 terms. How can I get them in two columns. echo '<ul>'; echo strip_tags( get_the_term_list( $post->ID, 'trade', '&...
1
vote
0answers
79 views

get_the_term_list - Return links to edit.php instead of link to taxonomy archive template

I would like to use get_the_term_list or another function if it exists to return links to the posts of the appropriate term (which has been clicked) on edit.php instead of returning links to posts of ...
0
votes
0answers
396 views

Get only last child category link of products

At the moment i have this code: $collections = get_the_terms( $post->ID, 'product_cat' ); foreach( $collections as $collection ) { $link = get_bloginfo( 'url' ) . '/' . $collection->slug . ...
0
votes
0answers
210 views

get_the_term_list & url

I have 2 custom post type and i want to link them together with an url from the first one and a image from the second one. I can get the title and the url of my taxonomy like that : ( CPT = '...