The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
0answers
27 views

How do I output a list of categories from a tag?

I want to show a list of categories associated to a tag. So say now I have two posts: Brown Sneakers which is in the Category GOLF child of SPORT and tagged USA and Pink shorts which is in the ...
0
votes
1answer
159 views

Theme Check gives: Required: This theme doesn't seem to display tags?

I am testing my theme with Theme Check plugin and it shows this message: Required: This theme doesn't seem to display tags? Picture: How can i fix this?
0
votes
1answer
165 views

Get Adjacent Post By Tag

In this answer -- How to Get Next or Previous Post in a Specific Tag? -- a working function is provided to generate "next/prev" links by tag rather than category. How could one make this so that you ...
0
votes
2answers
71 views

stripping tags from excerpt in Wordpress is not working

I am using this snippet <a href='<?php the_permalink() ?>' title='<?php echo strip_tags(the_excerpt()); ?> with which I am intending to remove all ellipses, <p> tags and other ...
0
votes
3answers
59 views

Strip Characters From Tag Name

I am having some difficulties trying to strip out special characters and spaces from my tags. Using the below code: <ul class="work_tags_nav"> <li><a ...
1
vote
1answer
408 views

custom post type taxonomy “tag” archive : no post found

I've registered a custom post type "object" and registered the taxonomy "post_tag" so that these objects can be tagged. register_taxonomy_for_object_type('post_tag', 'object'); When I visit ...
0
votes
1answer
71 views

how to remove alphabetical order from wordpress categories [duplicate]

i am new to programing and WordPress. i was working on a project where i am using custom taxonomy (tag) ,so in admin panel (post) when i select my tag it automatically get arranged in alphabetical ...
0
votes
1answer
64 views

Wordpress “Add new tag” button is not working

I really dont know where else to look at :( When I try to create a new tag in wordpress from back end under post column, it wont save the tag. However when I tried to save a blank it prompts me an ...
0
votes
1answer
109 views

How To Add One Tag to Multiple Posts?

I have nearly 1500 posts in my wordpress blog. Before moving to a new design, I need to tag all these posts with one tag 'old'. How can I do this? I tried to bulk edit posts and it will always go only ...
5
votes
5answers
1k views

Best way to show map of tagged posts?

This seems so simple that I'm tearing my hair out. I want to add a page with a map showing all the posts with a particular tag. I want each marker to pop up with the title and the preview, allowing ...
0
votes
1answer
36 views

Tracking multiple tags or categories

I'm trying to find a way to track the popularity of multiple categories, tags or custom taxonomies. On our site we often use multiple categories for a single article - e.g. an article would be ...
0
votes
0answers
49 views

change layout via post tag & hide certain tags?

Is it possible? I'm using _S framework and I'm intending 2 different layouts for the index page appearance of my post's - one with a large image appearing first, under which I want the post-header and ...
0
votes
1answer
46 views

Function filter breaking tag archive menus

Ok, I'm setting up a site with a some CPT's. When creating posts under said CPT's, we added tags. When viewing the posts results after searching, tags were displayed, but upon clicking the archive ...
0
votes
1answer
214 views

Wordpress editor, change code wrap (bbpress?)

I am developing a theme and using jquery prettify to style code tags. Sofar I love prettify, and for the most part wordpress is cooperating. When text is wrapped in <code> tags everything ...
0
votes
1answer
43 views

Retrieve post tags from from main wp_query

I'm running a custom WP_Query and find the following SQL running as part of it. SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id INNER ...
6
votes
2answers
2k views

How to configure Wordpress to be able to use <script> tag inside posts?

I'm looking for a solution that would allow me to write tags inside posts and be sure that the visual editor or wordpress will not alter them. The same problem can apply for other specific HTML code ...
0
votes
1answer
300 views

May I change the order of the tags?

I have a list of all tag. I want set a order for them, form example, as order of slug? Here is the code for get all tags. <?php $tags = get_tags(); foreach ( $tags as $tag ) { $tag_link = ...
0
votes
1answer
46 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
151 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
40 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
31 views

Add # before each tag

How can we add # before each tag with both the_tags( ) and wp_tag_cloud( )?
0
votes
1answer
688 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
27 views

How to use corect the tags

Hy, i have a wordpress cinema site, i have 3 post type : Persoane, Stiri/News Trailers and Movies( that are post's) In every post type i enabled the tag's. How can i use corect the tags in news ...
0
votes
0answers
148 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 ...
0
votes
0answers
41 views

Display custom posts archive for different tags?

I have the following query that I want to display all the posts for a tag. So when the user goes to the tag archive (not taxonomy!) it will show all the posts with that tag. What do I need to add to ...
0
votes
0answers
23 views

dropdown to display post by year in tag.php

My site is very content heavy. The most frequent views are for posts by their tags. To make it easy to access articles I need to add a dropdown on the tag.php through which the posts can be sorted ...
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
38 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
39 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
224 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
49 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
69 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
1answer
114 views

Change Permalink Structure for Tag.php template

Im using a custom post type to build a filterable gallery and taking advantage of the tags taxonomy within it. I am also using a custom taxonomy called years. at the moment, the permalink structure ...
0
votes
0answers
20 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
121 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
52 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
37 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
163 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
410 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
50 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
198 views

If tag exists and equals then

I have the following code and I'm trying to check to see if a specific tag exists and if so I need it to be echo'd once. The problem I'm having is when the tag exists multiple places it gets echo'd ...
0
votes
1answer
232 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
22 views

Tags 404 error when containg greek chars

I'm getting a strange behavior and I'm hoping someone can explain the reason. I'm importing tags to the DB using a custom PHP script I wrote. The import is successful. Then, I add tags to posts from ...
0
votes
0answers
76 views

Tags 404 error when associating tag with post

I'm a total newbie to Wordpress, however I've been asked to develop a PHP script to import tags from an Excel spreadsheet to the WP db. So far, so good... BUT: there's this strange behavior I need ...
0
votes
0answers
39 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
32 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
60 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
336 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
218 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
157 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 ...