The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
26 views

How can I show post excerpts on the tags page?

I want to see excerpts on my tags page (e.g., http://domain.com/wp/?tag=psychotherapy), rather than the full length post. How do I do this? I see the following in the tags.php page for my theme: ...
0
votes
1answer
22 views

Query all posts with specific tag

I need to fetch all the posts with a specific tag, but I'm getting all the posts instead. My query works if I publish a post with the tag that I need and list all the posts with that tag, but when I ...
0
votes
1answer
39 views

A simple question regarding tags and categories

I was wondering if there was an easy way to display posts from a tag from a specific category. In other words, if I have Category1, Category2, and Category3, and these all have posts with a tag ...
0
votes
0answers
33 views

Adding tag name to code

I want to add an event tracking code to the_tags on a single page. What I have done so far: //ADD EVENT TRACKING TO TAG LINKS function add_class_the_tags($html){ $postid = get_the_ID(); $html ...
0
votes
0answers
26 views

How to handle sorting and ajax pagination on 300+ items

I have 300+ posts in my db. They are tagged and categorized. When a user nav's to the News page, they see a list of the most recent 10 items (pretty standard stuff). I present a sort bar that sorts ...
1
vote
2answers
46 views

Display assigned terms with link

I want to display product assigned terms, wrapped in link/anchor MarkUp, in my sidebar on a page as a widget. I am not getting the correct tag URL. Code returns visited product URL instead of listed ...
0
votes
1answer
29 views

If tag equals then show else show

In my WordPress I have a page template called: single_jobs.php In the template is shown a contact formular. Linked in the template file like this: <?php echo do_shortcode( '[contact-form-7 ...
1
vote
1answer
44 views

How to display tag cloud without links

How can a tag cloud generate a list of tags WITHOUT the links? This works fine for me, but I just don't want the links: wp_tag_cloud('smallest=10&largest=10&number=0&format=list'); ...
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 ...
5
votes
2answers
12k views

How to customize woocommerce related products? [closed]

I have the following lines of code in my website that will display the related products at the bottom of my single product page in WooCommerce... functions.php: // display upsells and related ...
0
votes
1answer
338 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 ...
0
votes
1answer
44 views

Generating List of Tags from Custom Post Type

I have created a Custom Post Type "model" with corresponding tags "model_tag". I am trying to generate a list of tags chosen for the post. I am able to generate a string using the code below, however ...
2
votes
2answers
642 views

Assigning tags to user?

Does anyone know a way (either programmatically or through a plugin) to assign tags to users? I want to build a list of user interests as tags, so I can match related content to their interests. ...
2
votes
1answer
60 views

Total Word Count For Posts And Comments By One Author

How can I count words in posts + tags + comments and display the number of total words used by each author ?
3
votes
1answer
1k views

How important are WordPress tags for SEO purposes?

Am I missing out SEO-wise by not including any tags in general when I write posts on my blog? How do they help a site rank better?
0
votes
0answers
17 views

How to add superscript to a taxonomy?

Like the ones for the tags or the categories' term names? and values? <sup></sup> doesn't work... Please help, thanks! edited: img uploaded, these are the tags
0
votes
0answers
19 views

Get proper tag count for each post type [duplicate]

I am working on a plugin to port over a Druapl 7 installation to WordPress. I've found some useful tutorials on how to do this for Druapl 6 but Drupal 7 seems to lack any information. Nonetheless, I ...
0
votes
2answers
496 views

Can't Find a “Most Popular Tags” Hack Anywhere [closed]

If anybody knows where to find a most popular tags hack, I would be forever grateful. I've searched and searched to no avail.
0
votes
2answers
47 views

Sort tags by first letter or included number

I have 200 tags i am building movie directory website some tag as example The Wolf of Wall Street (2013) Goodfellas (1990) Catch Me If You Can (2002) Monster (2003) The Bling Ring (2013) Devil's Knot ...
0
votes
0answers
10 views

Sort tags by first letter or included number v 2.0 [duplicate]

my previous question Sort tags by first letter or included number I found this solution <?php $tags = get_tags( array('name__like' => "A", 'order' => 'ASC') ); foreach ( (array) $tags as ...
0
votes
1answer
34 views

Creating a search with tag variable also added for more detailed results

Wordpress search results is definately not the best indexing and search function we have seen.. If adding multiple tag variables in the search in order to get a more precise result work? For example: ...
1
vote
1answer
24 views

Find out which user created a category or tag?

We recently had an employee create inappropriate categories on our site as a way to retaliate against one of our managers. We are looking to figure out who is responsible. I have super admin, as well ...
0
votes
1answer
26 views

How to Display the tag content of Custom Post?

I have a custom post called "Portfolio" whith the taxonomies: - Categories - Tags (tag clouds) I want to show the Tag content inside the custom post. Thanks.
0
votes
0answers
39 views

Show different number of posts per page in tag archives

I am using the following code out of loop to show one post per page in tag archive. <?php query_posts($query_string."&showposts=1") ?> However, I want to show recent posts as 10 posts ...
3
votes
1answer
1k views

Exclude Specific Term from Search

It is possible to search for posts with a specific term by appending the URL with: ?&term=abc Is it possible to do the opposite and search excluding a specific term? Something like: ...
0
votes
1answer
81 views

How to change value in wp-include/taxonomy.php without exchanging the Wordpress-core

I had the problem that tags of private posts didn't show up in a widget tag-cloud even if the user is logged in. The reason seems to be the value of "post_status" in the function ...
0
votes
1answer
55 views

get_the_tag_list() returns bad links

I have created a custom post type named 'portfolio' and assigned the default 'post_tag' taxonomy to it. In single-portfolio.php template I'm using the following code to view each post's tags: echo ...
0
votes
0answers
28 views

Drop-down list of article tags

How would I get a list of all the tags on a post-type archive page and display the tags not in a tag cloud but in a multi-select drop-down list. When the user selects tags, then filter which posts ...
0
votes
1answer
83 views

edit-tags.php in plugin admin menu hides when is the active page

For the plugin I'm building I have added a submenu as a child to a custom main menu item in admin. The submenu page is an edit-tags.php page. This shows up as intended under the main menu item. When ...
0
votes
0answers
81 views

Archive page display all posts which are listed under multiple categories or tags

Say I have some posts that I want to display which are listed under the categories "Video Games" and "Reviews". Or I have some posts under the tags "Mario" and Four-Stars". I initially came to ask a ...
8
votes
2answers
1k views

Is There a Difference Between Taxonomies and Categories?

I've been reading the codex for WordPress closely and am confused about the vague definitions between what a Taxonomy is and what a Category is. For that matter, term is also a word that is used in ...
0
votes
2answers
28 views

Conditional tag for attachment posts

In Wordpress single.php post pages are both for media attachments (e.g. http://domain.se/postname/imagename/) and blog post pages. What conditional tag can I use to determine if a post is not a media ...
0
votes
1answer
131 views

How to create tag.php

How do I create a tag.php template that will work for every post that contain tags? I created few Tags like = Food, Drink and Fruit post 1 have Food and Drink tags post 2 have Food and Fruit ...
0
votes
0answers
28 views

Get Posts by tag from a custom taxonomy

I have a custom post type called product, which have two custom taxonomies named as product_tags & product_categories. In My Product Categories archive page, I am listing tags. My requirement ...
0
votes
0answers
38 views

Archive.php is not displaying tags

I have a fairly standard "if" construct to detect what archive.php should display (see below) I also have a custom post type and a custom category. When a user clicks a displayed category (taxonomy) ...
0
votes
0answers
66 views

Cherry Framework Categorys not working on custom post type

I am using the Cherry Framework. In a child theme i have added a new custom post type and set it to use the built in category and post-tag taxonomies. I have added this to my theme.ini in my child ...
0
votes
0answers
19 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
0
votes
0answers
21 views

Problem with multiple tags in URL

I used the link mydomain.com/tags/tag1,tag2/ on my Wordpress website with no problems whatsoever. But it doesn’t work from a certain moment. It displays error 403: Forbidden. I noticed that links with ...
0
votes
0answers
125 views

Display related posts with same category or same tag return blank

I'm trying to display 4 related posted in the same category or have the same tag with the current post on the single post page. The result is just blank. <?php $rCateogry = ...
0
votes
2answers
44 views

Get multiple tags by slug

The following code works fine for me: $term = get_term_by('slug', ‘foo’, 'post_tag'); $args = array ( 'posts_per_page' => 5, 'paged' => $paged, 'post__not_in' => get_option( ...
1
vote
1answer
2k views

What are the Theme tags in style.css used for?

In the style.css file in the first comment block, there is a optional "Tags:" directive. What are these tags used for? When are they used?
0
votes
1answer
32 views

Would a “hub” page work better as a page or a post?

First of all, I don't know whether "hub" is the correct terminology, but it is how we've been describing it. I run a movie blog and would like to create a page for each movie we cover in depth. I want ...
0
votes
0answers
5 views

I want to display tag description and tagged attachment (without post if there isn't..) while using tag url

I am new to coding, but i do understand a little bit. Is there a way to edit tag.php to achieve this? I have added Shiba media library plugin to my site so that i can add tags and catagories to ...
0
votes
2answers
52 views

Advice on how to build multiple cross-tagged content types

From those who are more experienced with WP, I could use some advice on how to best set up a local history site to do the following: There will be a list of articles on different historical topics. ...
2
votes
3answers
128 views

How to display post tags

I'm converting an HTML template into a wordpress theme and I'm having some trouble displaying the post tags within the functions.php file. What I would like to do is add the following code into the ...
1
vote
1answer
243 views

Search Custom Post Type with all meta attached?

I'm currently have a search box that's supposed to search a certain post type. It's supposed to check the query against all standard cpt content, tags and the associated meta data. I'm wondering how I ...
-1
votes
3answers
61 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
83 views

Root level category, tag, author and archive pages to work

I want root level Wordpress urls to work for category, tag, author and archive page. For example right now categories pages are. domain.com/category/cat-name/ it shows posts under cat-name ...
1
vote
2answers
164 views

WP_Query: Mixing category__in and tag__in together

I'm creating a "Related posts" section for my theme, based on a tutorial from wpbeginner.com. It offered two options in selecting posts: those in the same category(ies), using category__in, or those ...
0
votes
1answer
50 views

Conditional category & tag statement

I'm just working on a "quick" change to the blog-entry-subtitle of specific posts in a category on my wordpress website. I'm hoping to have "Published in Orchard and Vine Magazine on:" instead of ...