The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
74 views

Featured Images for Tags?

Is it possible to somehow create featured images for tags or custom taxonomies. For the sake of explanation, I will give an example of the possible functionality. Say I am running a website that ...
1
vote
1answer
214 views

Creating a Lightweight Media Tags Plugin with a Custom Taxonomy

We’ve been using Media Tags ( http://wordpress.org/plugins/media-tags/ ) for a while, particularly for the dashboard media management features rather than any of its front end display features. It ...
-1
votes
2answers
49 views

Can't seem to get an else statement correct? [closed]

I'm learning my ways in PHP lately and play allot with WP and PHP. I've created a some PHP that fetches some posts with the same 1th tag. This with some help with a tutorial here and there. The thing ...
0
votes
1answer
47 views

Add # before each tag

How can we add # before each tag with both the_tags( ) and wp_tag_cloud( )?
0
votes
1answer
2k views

how do I get the tag name from tag id?

I have the tag ID, in integer format. I want to convert this to the tag name. e.g. "cars" How do I do this?
0
votes
0answers
258 views

How to load jquery tag-it plugin into admin?

I'm trying to load tag-it jquery plugin into the wordpress back-end for the category edit page, but for some reason I can't. The following are snippets of my code: function ...
6
votes
2answers
2k views

On the WordPress Admin section how do I link to submenu pages created for a plugin?

So i'm trying to create a WordPress plugin and I've created some menu pages using this provided function: add_submenu_page('my_plugin_menu', 'Edit record page', 'Edit record page', 'manage_options', ...
0
votes
1answer
50 views

show tags on “single”-template sidebar only

If a post has tags, I would like to show only those tags as a list in the sidebar when viewing the single post; how do I do this? I have searched to find a suitable plugin, but didn't find one, as ...
0
votes
1answer
53 views

Assign classes to Custom fields

I have a post with 4 custom fields, and I am using the_meta( ) to display these. I want to add an image to the list items, but a different image for each item eg. key "Client" will have a small image ...
0
votes
1answer
660 views

How to check if post has any tag?

I am displaying post tags like this: <div class="tags"><?php the_tags('<span>Tags</span>' , ' '); ?> </div> It works fine, but if the post does not have any tag, then ...
1
vote
1answer
93 views

How to add additional search terms (e.g. synonyms) to the search?

I'm running a blog about different software tools. I frequently use the search to find articles that I wrote for the blog. I also wrote an article about latexdiff, but always forget the name and try ...
0
votes
2answers
87 views

List posts with same tag?

Is there any way to list my posts by tags ? i need to alter the URL too... like mysite.com/tags/mytag will list all the posts having 'mytag' as tag.
0
votes
0answers
21 views

Assign tags records that have a keyword

I have a lot of records without labels, I want to assign a specific tag such records. If the name of the record found a certain word, then it is assigned a specific tag. I think it can be done through ...
-1
votes
1answer
596 views

Exclude specific tag or tags from related posts?

How can i exclude the display of a specific tag or tags on the results of related posts? this is the code http://pastebin.com/Ksh7NY7g ...
0
votes
1answer
57 views

Is there a reason I cannot get the current category in a loop?

I think I am doing this wrong but if I do: if(have_posts()){ $category_id = get_query_var('cat'); var_dump($category_id); while (have_posts()){ the_post(); } } the var dump ...
0
votes
1answer
43 views

Why tags are displayed bellow the content and not inside

I am developing a theme for myself and I was wondering why wordpress tags are allways displayed bellow the_content. I know that this can be done via shortcode, but I would like to know if this is for ...
9
votes
3answers
242 views

Posts with at least 3 tags of a list of tags

There is a set of tags against which posts that have at least 3 of those tags should be matched. Say there is the tags {foo, bar, chocolate, mango, hammock, leaf} I would like to find all posts with ...
2
votes
1answer
703 views

Get tags specific category

I use this code to get tags from category. get all tags from category I want to display in the category page the specific tags. I have 8 categories and this is my code: <?php if ...
0
votes
1answer
83 views

Search tag within category

How do I search a tag within a category? like if a user is viewing a post that belongs to category "Romance" and the user clicks on one of the tags like for example "blonde" it should list all posts ...
0
votes
1answer
439 views

How to display and use all existing tags at my write-post-at-frontend-panel?

I can write and publish posts from my frontend - everything is fine. You know the backend: write-post-style, right? There it lists all existing tags. How can I display all existing tags at frontend ...
0
votes
0answers
53 views

Use global query parameters in new WP_Query for presenting separate results in tag archive

wp_reset_postdata() does not seem to work here. I'm building a custom tag archive template, which should feature results from different post types in diferent boxes. <?php $query_stringa= ...
0
votes
1answer
41 views

How to show tags in posts with a theme that does not do it

For my wordpress site I bought a theme, but I discovered later that this particular theme does not show posts' tags (in posts' pages). Is it possible to force the theme to show tags in posts ?
1
vote
1answer
93 views

Paginate tags page

If I click a random tag I want the tag page to list only 20 posts that is related to that tag and paginate it. <?php /** * The template for displaying Tag Archive pages. */ get_header(); ?> ...
-1
votes
1answer
479 views

How to have H1 for site title only on Homepage?

I´m using the Leaf Theme and in the header the following code can be found: <?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) { ?> ...
0
votes
1answer
677 views

Assigning tags to a post from front end using tag-it jquery UI plugin

Tag-it is a jquery UI plugin that allows assigning tags, exactly like tags system in stackoverflow. https://github.com/aehlke/tag-it/blob/master/README.markdown My goal is to allow members of my ...
-3
votes
2answers
295 views

Datetime on time tag wordpress puts it outside the tag

I want to use a time tag with the datetime attribute in it... I tried this in functions.php: <time class="time" datetime='. the_date('d-m-Y') . '>%3$s '.get_the_time( $d, $post ...
3
votes
1answer
2k views

Get posts with tag all post types

I'm trying to get all posts that have a specific tag, regardless of what type of post that is. I've tried every solution I've found (here on SO and further), but nothing works: I always only get the ...
3
votes
2answers
447 views

Tag selector like stackexchange?

I'm creating my own form based on this and I'd like to have a tag selector which is similar to the one on StackExchange. I can roll my own but I was wondering if something similar already exists. ...
0
votes
1answer
42 views

How do I add tags/taxonomy to images + a query field on page to query 'albums' (images with same tag/taxonomy)

I've got lots and lots of photos on my site and I want to seperate them into albums. Every album is a client album (photoshoot). Though.. I want all my clients to query their album on my site. ...
0
votes
1answer
104 views

Automatically add author's name to post_tag

I need to add the author of a post's name to the post's tags whenever the post is published. So for example John Smith wrote a post, the tag 'John Smith' would be added to that post's tags. I've ...
2
votes
1answer
865 views

Help with multiple dropdown tags search

I'm trying to build a search form that allows the user to choose certain post tags and filter through real estate listings. So far I have the form built but when I click the search button it brings me ...
2
votes
1answer
526 views

Display custom list of tags in post/page editor with hooks

I used the information posted on this blog post to display specific tags when editing a post. The editors on my site wanted the ability to display pre-specified tags instead of the most popular ones. ...
0
votes
1answer
786 views

How to add tag(s) to all posts from a specific category? [duplicate]

I'm currently redesigning a cartoon site that has 1200+ posts, divided into about 62 different categories. Some categories have 2 posts in them, other categories have 50, 100, 200+. Now for every ...
0
votes
1answer
250 views

Navigation menus not showing because of custom post type filter

I use this filter to show content from all custom post types in tags archive page function tagFilter($query) { $post_type = $_GET['type']; if (is_tag()){ if (!$post_type) { ...
0
votes
2answers
611 views

Redirect Tag to Post with the same name

I would like to check if the tag name is the title of a post. And load that post page instead of a tag page. I have post_type "Cities" and suppose that users will tag normal posts with city names. ...
0
votes
1answer
178 views

Output posts with same name as tags?

If someone puts a post on my site, they usually do that with some tags. If someone posts a post with the tag "hello", I want it to output that tag after my content and let it link to the archive page ...
0
votes
1answer
39 views

Get TOP x Tags from selected posts

I need help on this, the case is I want to get TOP X tags from user post. For example user A wrote 50 post, i want to show TOP 5 tags from that user post, It 's for displaying user interest. second ...
1
vote
2answers
5k views

How to search for categories and/or tags?

I have a search function on my blog. If I enter a value, say 'fruits' in the search box and it doesn't match in any of the posts but it is the name of a category in the blog then I want the posts that ...
0
votes
1answer
92 views

Split function “the_tags” in 2 columns

I have the following function that returns the tags of the current post: <?php the_tags( '<ul> <li>', '</ li> <li>', '</ li> </ ul>' ); ?> Example: Is ...
-2
votes
1answer
258 views

Fetching Video From YouTube Automatically [closed]

I am using WordPress, and a theme called DeTube. Is kind of a YouTube clone, and I use this website to upload mainly videos from YouTube. Is there anyway to fetch videos and populate all the required ...
0
votes
3answers
66 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; ...
1
vote
2answers
134 views

Where to store custom tagging data associated with a custom post type

My application allows users to add tags to an image (similar to facebook). Each tag can consist of up to 8 attributes and there is currently no limit on the amount of tags a user can add. At the ...
0
votes
0answers
39 views

How can i do a search for tags in a certain category?

I'm trying to search for a certain category with a tag, how can I do this via url? For example: www.example.com/?cat=1&tag=tag1 how can i achieve this using parameters in the url?
0
votes
1answer
502 views

Can't Get 'tag' Page To Display only Tagged Posts

I made a tag.php under my theme folder in order to style all of the tagged post pages from urls like 'www.mywebsite.com/tag/kittens'. However, if I go to 'www.mywebsite.com/tag/kittens' it displays ...
0
votes
1answer
530 views

Hook to change Custom Tag Taxonomy Links?

I have a Custom Post Type named News that has a URL structure like this... domain.com/news/news-post-name I have also added a Custom Tag Taxonomy for my News Post Type. Here is my Re-write settings ...
1
vote
1answer
80 views

How to use all tags in post permalinks

My site with pictures is set up so that the posts do not have a title and have only tags. I would like to know how to use all tags in permalinks settings?
2
votes
1answer
2k views

Search doesn't find tags or categories in custom post types

I've added tags and categories to a custom post, but the search bar doesn't find them when I use it. It does find the 'uncategorized' category (default category) that's inherent in wordpress though. ...
0
votes
1answer
28 views

How can I count articles retrieved by tags

how can i get posts retrieved by tags, I want to count them. The code i want to use in tabs. Ex: Movies(3) , Articles(15) Movies and Articles are Tabs. I know how to retrieve the count of posts ...
0
votes
2answers
68 views

Plotting posts on a graph

Here is what i want to do: For a specific date i want the number of posts from a certain tag. For example: on 14th March i have a certain number of posts tagged "jazz". I want to plot that number on ...
2
votes
1answer
495 views

Change tooltip in tag cloud

How to change tag tooltip to tag Description? I tried and my code is mentioned below. function title_text( $description ) { return sprintf( _n('%s topic', '%s', $description), $description ); } ...