Tagged Questions
0
votes
3answers
48 views
Pull Tags But Not as Links
I'm trying to take a list of tags and list them on the page but without linking to their archive page.
At the moment I'm doing this:
<?php
global $wp_query;
$postid = $wp_query->post->ID;
...
0
votes
1answer
126 views
Add relevant tag to search results
Tags are a major part of my platform. Using the default search, if the search term matches a tag, on the results page, I want it to display:
<p>Are you looking for our <a ...
-1
votes
1answer
124 views
Adding Meta Tags to a Post using its Tags, Excerpt and content
I run a multiple author platform where I have added conditions that force authors to add tags to their post. To improve SEO, I would like to add Meta Tags to the posts. Ideally, with a light solution ...
0
votes
1answer
79 views
Query Custom Post Type by Tag
Kinda confused on this.. hoping someone can help.
I have custom post type named "Providers" that I want to pull entries from that are tagged "highlighted". I enabled tag support on the custom post ...
0
votes
2answers
103 views
Commas in Tag Cloud
Using <?php wp_tag_cloud(''); ?> to display tags on my website, how do I separate each tag with a comma but also remove the comma from the last tag?
2
votes
1answer
341 views
remove tags from posts in php
I feel like this should be a simple question, but I can't figure it out.
If I have a post_id, how can I remove a particular tag from that post in php?? I know how to update meta information, but tag ...
1
vote
1answer
505 views
How to create a linked tag list in my sidebar
I'm looking for a solution to display a tag list that shows how many times the tag has been used in posts as well as link to a list of results.
I found a php code snippet you posted on the Wordpress ...
0
votes
1answer
267 views
making my own “related pages” / “pages you might like” section
I'm trying to get the tags of a post on the single content page and displaying a list of other articles that share the tags with the post. For example, the user is reading an article with a tag like ...
1
vote
3answers
218 views
How to make Tag Aliases
How would I build something like this with wordpress. Where multiple tags texts all go to the same page.
If you click on the tag "scifi" it takes you to tag "science fiction". I am not looking for ...
0
votes
1answer
59 views
Getting a WordPress tag to print inside of a traditional php echo
I want to get the template path to print in this echo of a form in the admin.
Here is what I got:
< ?php echo of_get_option('splash_img_transition', ...
0
votes
1answer
823 views
tag search using WP_Query
I need to find only posts with a tag forest gump. I've tried: new WP_Query('tag=forest+gump');, new WP_Query('tag=forest gump');. However they both return ALL the posts and not only the posts with ...
1
vote
1answer
396 views
query if on page/2/?
hey guys,
is there a way to check if i'm currently not on the frontpage of my blog?
I know there are conditional tags like is_home(). However that won't work if I'm on myblog.com/page/2/
I have a ...
0
votes
1answer
166 views
Do not run this code on posts with a specific tag!
This is sort of complicated.
I am looking for some php help related to WordPress blog.
The basic requirement is that some HTML code (ad code) is not supposed to run on posts with a specific tag. ...
