The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
167 views

WP Query with multiple tags by get the tags

I need to do a wp query that will get any post that has one tag or more. My current code work for one tag, but I've try for multiple with the codex and I can't do... can you help me ? Thank's ! ...
0
votes
1answer
41 views

How to get tags and categories?

I used the following code to get tags from the post and then simply echo them: $posttags = get_the_tags($post->ID); if ($posttags) { foreach($posttags as $tag) { echo $tag->name . ', ';} ...
0
votes
1answer
75 views

wordpress str_replace the content with tag

it is possible to find tag in the content and replace with link? function replace_content($content){ foreach(get_the_tags() as $tag) { $out .= $tag->name .','; $csv_tags .= '"<a ...
0
votes
1answer
100 views

Retreive tags from attached post for media on page

I am working on a custom template file that pulls all images in my Media Library with a specific tag. I was able to get this working with some help from the community, it also shows the title of the ...
0
votes
1answer
73 views

data-type=“” … needed post tags stripped of characters

So I am trying to generate a list of post tags on the data-type attribute but I need them to be sanitized so spaces are replaced with underscores and there are no special characters... really ...
0
votes
1answer
30 views

Author Link Not Displaying

I have used this with "echo" as its outside the loop i believe to the author of the post as a link, however its not displaying as a link? <h2 class="sidebarheaders">Random Posts By You ...
1
vote
1answer
120 views

list tags with count in author profile page

I would like to list tags with count in author profile page just like this page If the user click the tag, then I would like to list the tagged posts. Can someone help me?
0
votes
2answers
341 views

get_the_excerpt() not returning anything when post has no excerpt

When trying to call get_the_excerpt() the page does not return anything on posts that have no excerpt. I thought WordPress usually 'fake' it and create one using the first x characters from ...
1
vote
2answers
511 views

Exclude Tags from get_the_tags

While following this article to get tags by date, I was wondering if I could exclude certain tags from what gets returned. The point is to have trending tags but some tags will always be there and I ...
1
vote
1answer
252 views

Get posts inside Get terms problem

i have a get_terms which loads correctly. inside of it i have used get_posts. then using get posts i am trying to get each post tags (and count <= not currently inside this script) <?php ...