Tagged Questions

The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
14 views

php wp_insert data on front using a form

I'm using a form on my website to allow user to create posts on my wordpress admin. It works fine, but I have an issue, I don't get the tags meta inside my admin. here is my php code : <?php ...
1
vote
1answer
21 views

Custom Tag Cloud widget missing tags

I was trying to create a custom tag cloud widget that will look like this: Also, when I tried including some new tags in my post then it's showing something like this (just one tag): This is my ...
0
votes
0answers
12 views

Displaying user selected custom tags/taxonomies on the front-end

I would be grateful if anybody could point me in the right direction please. I have a WordPress setup which utilises Theme My Login and https://wordpress.org/plugins/user-tags/, to allow users "tag" ...
0
votes
1answer
37 views

Display related post by tag name of current post

I am using thesis and i am trying to display the related post by there tag name. suppose i have post and that post have three tag or multiple tag like tag:- 1) car, 2)automobile, 3) mechanical so ...
0
votes
1answer
18 views

Unable to get all tags from specific categories

Page in question. I'm trying to use a WP_Query(); targeting specific categories and displaying all the tags used for posts within those categories. I noticed that some tags, like truffles aren't ...
0
votes
0answers
11 views

User autonomous tags for custom post types

Is it possible to create a taxonomy ( or other ) system such that each user on a WordPress system could have an autonomous tag setup which they could use to order custom posts. For instance: There ...
0
votes
1answer
12 views

Add/remove tags on frontend programmatically

I generated a link on the frontend toolbar to feature a post (adding the 'featured' tag). It works OK adding or removing, but the problem is showing the post. When removing the tag and then using ...
0
votes
2answers
21 views

Tags Instead of Category

I have this widget that allows me to show the latest posts from a specific category in the sidebar. Here's the code; add_action( 'widgets_init', 'tie_categort_posts_widget' ); function ...
0
votes
0answers
11 views

Generate list of tags from search results

On my search results pages I have my tags list too. But I only want to show tags that will filter the results further. So clicking on a tag will filter the result with the search term AND the selected ...
0
votes
1answer
29 views

Custom Post Type - Admin Columns

I'm getting these 0's in front of my categories and tags: https://www.dropbox.com/s/7v9hvf25wsw15p8/Screenshot%202014-11-08%2020.50.02.png?dl=0 Here's what the code in function looks like: // Work ...
0
votes
0answers
27 views

Get the number of added tags using jQuery

I've added my jQuery scripts as the following shows: function my_enqueue( $hook ) { if( 'post.php' != $hook ) { return; } wp_enqueue_script( 'my_custom_script', get_template_directory_uri() ...
0
votes
1answer
9 views

Outputting HTML elements through WP-API

I am using WP-API to create a JavaScript app, where I am using http requests to pull content out of the WordPress database. For a regular post, I am not getting all element data that I expect. I put ...
0
votes
1answer
26 views

Get posts with no tags?

I have over 1000 posts with no tags. Basically I am trying to get posts with no tags to show in frontend so that users can add tags from frontend. I am using this approach in loop so as to show posts ...
0
votes
0answers
40 views

Some questions regarding post-types and pagination

I've built my own theme from scratch using the HTML5 Blank Framework My problems started when I added 3 differen post-types; Work, 50mm and Findings. I've hided the standard 'Posts' type, so that I ...
0
votes
0answers
11 views

extra <a> tag is added in wp_nav_menu

I am a wordpress lover and i am facing this issue for the first time, below is the code i am using for making menu to be displayed. <?php wp_nav_menu( array( 'theme_location' => 'primary', ...
0
votes
1answer
27 views

How to add tags to post from frontend?

I am working on a site where visitors will be able to add tags to post from frontend without being able to edit the already assigned tags. It basically will be a add tag button where upon clicking ...
0
votes
0answers
31 views

Page Type with Category Link

I have a custom-page type "page-clients.php" which loads category of "clients". Example: http://website.com/clients (all clients-working) Example: http://website.com/clients/9 (sub category ...
0
votes
1answer
36 views

How to compare post tags?

I want to compare post tags. If the tags match, then display the matching post. For example, I have a post called "ONE" with some tags and another post called "TWO" with some tags. I want to compare ...
0
votes
0answers
22 views

get_tag_link returns all posts

I recently changed my permalink structure from 'default' to 'day and time' and as a result my index page has stopped working. Before it would return only the posts with the relevant tag but now it ...
-1
votes
0answers
8 views

How to display tags for pages

I'm using a plugin for adding tags to pages. How would I go about displaying these tags on the frontend (on the page)?
-2
votes
1answer
12 views

How to export tag counts to excel?

I'm not a programmer, so writing PHP code, etc. would be tough for me ... but I'm looking for a simple way to analyze which tags are used most often to tag posts in my blog. An export of tag and use ...
0
votes
1answer
22 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
20 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
0answers
18 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 ...
0
votes
1answer
38 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
1answer
25 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
31 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
23 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
vote
2answers
44 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
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
1answer
43 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 ...
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
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
2answers
44 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
1answer
29 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
22 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
25 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
28 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 ...
0
votes
2answers
204 views

Add Tags to custom post type

I'm using the cherry framework on a WP site. It comes with a custom post type that can be used to add 'Team Members' and create staff pages etc. I need to expand this so that I can add tags to each ...
0
votes
1answer
47 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
25 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
0answers
50 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 ...
0
votes
2answers
25 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
0answers
23 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
34 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
1answer
88 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
59 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
16 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 ...
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
0answers
13 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 ...