The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
102 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
28 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
31 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
47 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
118 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
111 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 = ...