The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
2answers
15 views

Sort and display pages with specific tag

What I need basically is to display child pages on a parent. But I want to split the list of childs to, lets say, 'important' and 'non-important' to display it at the beginning and at the end of a ...
0
votes
2answers
15 views

How to add Post Tags to a new <meta> element in header.php?

How to add Post Tags inside a new element in header.php? I'm probably overlooking an obvious function in the WordPress Codex. I have tried adding these to header.php: <meta name="page-tags" ...
1
vote
2answers
41 views

Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname

I have a custom post type "news_updates" which I have not given custom tags or categories. I have however created a normal tag (not attached to a custom post type), and assigned it to a particular ...
1
vote
1answer
31 views

Get tags for current user

How i can get user tags list , i get list of all tags with this: <?php $tags = get_tags(); ?> <?php if (isset($tags)): ?> <ul> <?php foreach ($tags as $tag): ?> ...
0
votes
1answer
23 views

Change Widget that display posts from categories to tags

I have a theme with a widget that display posts from category and I wanna change it to posts from tags if it s possible. Here is the code : // NewsInPictures Widget class NewsInPictures extends ...
0
votes
0answers
14 views

Limit Tags on Post Editor

A couple of questions. One is, how do you show the most common tags when the post editor loads instead of having to click on the "Choose from the most used tags"? Second is, is there a way to have a ...
0
votes
0answers
15 views

How do I sort tags by menu_order [on hold]

Im trying to sort my post tags by the 'menu_order' Heres what I got so far: <?php $args = array( 'orderby' => 'menu_order', ); ...
0
votes
1answer
21 views

A Space being added to url generated by custom plugin

<?php /* Plugin Name: Convert Comment tag to link */ add_filter( 'comment_text', 'mh_commenttaglink' , 5000 ); function mh_commenttaglink( $text ) { // RegEx to find #tag, #hyphen-tag with ...
0
votes
1answer
28 views

How to “group” (categorize) the Pages together?

I have a lot of Pages which can be (need to be) grouped under a number of different Categories. ** Then the more important thing is, i need to control those pages (of different groups) programatically ...
0
votes
0answers
8 views

Converting hashtags into search friendly term (%23) in a widget

The plugin Hashtag can achieve this within a posts text, so surely its possible on a widget? I have no idea what I'm doing here, specifically its the widget 'Popular searches tag cloud' I am trying ...
6
votes
1answer
101 views

Show all post tags on post edit screen/sidebox

I am looking for a way to show all post tags on post edit screen/tags sidebox in WordPress admin section. By default WordPress shows 45 most used tags but I need a way to list all tags there or at ...
2
votes
1answer
50 views

Order tags, but not alphabetically

I'm trying to figure out how to arrange tags on a post using a method other than alphabetically. For example, a post has the following tags; alpha, beta, charlie. The post will always organize tags in ...
0
votes
2answers
50 views

Set homepage to only display posts from one tag

I'd like my homepage to only display posts from a single tag. Is this possible? If yes, please advise. For instance, www.mysite.com/tag/sometag will only display posts with the sometag tag, ...
0
votes
1answer
17 views

Is it possible to return a specific tag archive/template as one of the search results?

Is it possible to return a specific tag archive/template as one of the search results? For example, let's say my site has the tag: Summer And my site has the pages: Summer picnicking Fun, fun, ...
0
votes
1answer
55 views

Order posts by tags count?

I am trying to order posts by tag count. I want to order posts with no tags first and posts with highest count last. I tried and got posts with no tags only. $tags = get_tags(); $tag_ids = ...
0
votes
0answers
19 views

Why is wp_kses not keeping style attributes as expected?

I want to keep the style attribute. $str is just an example, here's my code: $allowed_html = array( 'div' => array( 'title' => array(), 'class' => array(), ...
0
votes
2answers
16 views

Show post tags on attachment page?

I use this code to show post tag(s) on single.php template: <?php the_tags('<div>Tagged with:<br> ',' | ','</div>');?> I wish to display post tags on attachment page too, ...
0
votes
1answer
44 views

Meta data (Tags and Categories) for Custom Posts not showing.

I registered a custom post type ("movie") with tags and categories. Now, I'm able to filter and search for the custom post with these tags and categories, so I know they're present and working, but ...
0
votes
1answer
30 views

Listing tags with custom html output

I am trying to list all my tags in index.php, but it doesn't seem to be working and I am unable to see why. Looking at documentation, the properties are correct and and get_tags() is retieving an ...
0
votes
0answers
8 views

Loop tags with specific design

Forgiveness for the title, I can not think of anything to describe it. First I have a basic loop: <?php $args = array ( 'category_name' => 'juego-de-tronos', 'orderby' ...
0
votes
0answers
6 views

Switch the old post to the newer post in same tag [duplicate]

I wanna build website like http://www.apkfield.com/ with wordpress as CMS but with different structure. There are apps version and i think it uses tag (new post in same tag = new version). I want that ...
0
votes
0answers
17 views

Filter custom post type by tags

I really doubt if this is possible but I would like to filter a custom post type with Isotope based on the tag of the post and not the taxonomy. I'm currently using $terms = get_terms("taxonomy"); ...
0
votes
1answer
23 views

Posts tagged with a-new-tag does not appear

I use wordpress 3.9.3. It already has many posts tagged with respective YEAR and are displayed under their respective tags on the relevant page. I added new posts tagged with 2015, but they somehow ...
0
votes
1answer
44 views

Show all tags on custom post type

I'm attempting to show _all tags on the editing screen on a custom post type (products). Adapting these instructions I've created a simple plugin as follows: add_action( 'wp_ajax_get-tagcloud', ...
0
votes
0answers
16 views

How To Filter Tags by Category

I have a GIF blog with around 15.000 posts and around 8000 tags. These posts are into different categories (2 categories only). The two categories i have are "Reaction GIF" and "Normal GIF". Is there ...
0
votes
1answer
28 views

Loop multiple taxonomy in custom post

I have a custom post called "rock" and taxonomy "genres" i need to filter the posts with tag or something like post_type > taxonomy > taxonomy_tag (tagsss) I can not find a solution :( i have ...
0
votes
0answers
36 views

Woocommerce CPT

Good Afternoon, Is there a way to override woocommerce Categories to use Custom Post Types categories?. custom post type; Destination (Main) --Location (Child of Main) --Categories (Child Of ...
0
votes
0answers
33 views

Search for posts with specific tag inside custom page template

I'm developing a Wordpress blog where there are two custom pages - i.e., different from index.php. In there, there are two albums of photos, with the photos listed on a div above. I've put an input ...
-1
votes
1answer
22 views

Display function from functions.php in tag.php

I've added several functions to the functions.php file. I call those functions using a shortcode [shortCode] while in posts, pages, and widgets. But the [shortcode] will not work outside of posts, ...
0
votes
0answers
363 views

Custom SQL Query: Get all posts with category id and a concated list of tags on each post

I am trying to select all posts from a WordPress database, include few fields on each post, but most importantly I would like to also select the "category id" or each post, and ALL the tags that ...
0
votes
1answer
15 views

Default taxonomy 'post_tag' added to CPT managing by custom role : nothing in the metabox

I've created a Custom post type, which a custom role can manage : it has only the capabilities for managing this CPT. When registering the CPT, I've set the argument : 'taxonomies' => array( ...
0
votes
1answer
51 views

Display tags belonging to a specific post type only

The following code currently indexes all tags for my site (whether attached to a standard post or a custom post) like this I want to limit this code to index tags from only a specific custom post ...
0
votes
1answer
38 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
32 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
1answer
35 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
107 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
32 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
31 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
3answers
123 views

Tags Instead of Category

UPDATE: I have this widget that allows me to CHOOSE and SHOW the latest posts from a specific category in the sidebar. Here's the code; add_action( 'widgets_init', 'tie_categort_posts_widget' ); ...
0
votes
0answers
21 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
48 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
40 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
27 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
49 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
47 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
14 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
42 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
33 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
45 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 ...