The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
4 views

Wordpress tags in database

Ok i want to make query to get tags from database. Only parametar i have is page_id; I found that tags are save into wp_terms table term_id name --------------------- 69 sometag then ...
0
votes
0answers
29 views

get_the_tags() returning invalid foreach argument even though the post has tags

So what I'm trying to accomplish is to grab all posts that have the same tags as the current post and then list them. Here's my code: $posttags = get_the_tags(); $i = 0; foreach ($posttags as ...
-1
votes
3answers
60 views

Tags outside the loop

I want to display the tags of the posts in my main page. I used: global $post; the_tags(); But it's only showing up for my FIRST page.
0
votes
1answer
331 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
51 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
86 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
121 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
84 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
37 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
129 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
434 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
577 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
269 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 ...