The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
10 views

Attach link to pages accoding to tags

I have a WordPress blog (local installation) and I'm trying to add the following functionality to it: Suppose I have a page on my blog entitled "Algebra", I want this page to contain a list of links ...
0
votes
0answers
8 views

Categorizing or tagging post comments

To implement a particular requirement I want to be able to categorize/tag post comments as well. Is there any plugin that does it? Or is it even possible? For example: there might be a post and some ...
0
votes
1answer
37 views

Limit tags shown in post

How do I limit the number of tags shown using the code below, without having to add $count=0; or if ($count <= to the query, but only for the home page, and a different number for each set of ...
0
votes
1answer
21 views

Automatically add tag if a checkbox is checked

I'm looking for a simple function to automatically add a specific tag to a post if a checkbox is checked. For example: When creating a post there is a checkbox that says: "Add example tag to post" ...
0
votes
3answers
22 views

Order post by taxonomy

I am trying to write a get_posts() query to retrieve 7 posts per page. The retrieval of these posts are based on 3 different tags, "Featured","Highlighted", and "News". Now the "Featured" post take ...
-2
votes
1answer
27 views

How to get posts from external website with tags common using ajax Json? [closed]

Plzzz How to get posts from external website with tags common with current post using ajax Json and show it in my website.
0
votes
1answer
20 views

how to print post tags [duplicate]

I want to list tags of my current post I am using below code <?php $tax_tags = get_terms(array('post_tag')); foreach($tax_tags as $tag){ ?> <p> <?php echo ...
0
votes
0answers
11 views

Single query using Tags(Priority) and Category(Backfill)

I'm working on a widget that I would like to be populated by (a) the same category as the current post and (b) any post found to have a specific tag. So The query would return 10 results always, but ...
0
votes
1answer
45 views

Allow visitors to search by multiple tags (specific IDs)

I'm trying to create a search form/filter that allows visitors to search by specific tags. I've implemented this solution: <form method="get" action="<?php bloginfo('url'); ?>"> ...
0
votes
0answers
23 views

Wordpress multiple front-pages based on 3 main-pages

i'm in progress of redesigning a website and i'm stuck on how to work something out, hoping to find an answer here. The website will have a front-page where they can choose between ...
0
votes
1answer
25 views

How to exclude category and post_tag taxonomy while displaying custom taxonomy?

The code i'm using for displaying custom taxonomies is as below: function custom_taxonomies_terms_links(){ // get post by post id $post = get_post( $post->ID ); // get post type by post ...
0
votes
1answer
7 views

Saving and using Custom Field in user settings/profile “Checkbox list”

Referencing this question: How to add/save Custom Field in user settings/profile "Checkbox list" I've been trying to get this working, but am having a few issues. I'm using the following ...
0
votes
1answer
16 views

Custom post tag images not displaying with ACF

Using ACF i've added a custom image field to a particular set of custom post tags. The problem I have is that I cannot get the images to display. Yes, I have added an image to the tag and updated. ...
0
votes
1answer
11 views

Search Page: activate html code if the tag is on the page

this is the first time that I write here and my English is not very good, I will try to explain as best as possible. I want to activate some html text if in the result page, the results, has a ...
-1
votes
1answer
42 views

Default post_tag for custom post type

Is there a way to set a default post_tag to all posts within a custom post type. I would like all my posts from a custom posts type assigned to one tag displayed in the wp_tag_cloud. Is there a way ...
0
votes
1answer
63 views

CDATA removing new line in script tag in wordpress

I am getting this error in 4.1.6 suddenly. The code below when put in the editor <script>// <![CDATA[ alert('hello'); //]]> </script> gets converted to // <![CDATA[ ...
1
vote
0answers
13 views

Convert non-hierarchical taxonomy to hierarchical after registration

I have a custom taxonomy that was created by WooCommerce (product_tag). I'd like the taxonomy to be hierarchical so it behaves like categories instead of tags. I need to do it after the taxonomy ...
1
vote
1answer
53 views

Display posts from only one post form in custom query and exclude in main query

I am trying to first display four posts with post-format-aside (all assigned to current tag) and then display the "real" archive (exclude post-format-aside) for the specific tag. Right now I am using ...
0
votes
1answer
52 views

Remove P tags from images

I'm using WordPress 4.2.2 and every time I add an image to the wysiwyg it wraps the outputed image in a paragraph tag. I need to strip out these tags. Everything I seem to find online is from 2011 ...
0
votes
1answer
49 views

How to check if there are posts with the same tag

I have this code but I can't get to delete the div with the class otrasObras <?php $test = ""; $posttags = get_the_tags(); if ($posttags) { foreach($posttags as $tag) { $test .= ',' . ...
0
votes
1answer
36 views

Make tag archive display post are ordered by post format

I would like to set up an archive page for tags where posts are displayed separated depending on post format, first post-format-aside then an archive with all posts except the posts already displayed, ...
0
votes
0answers
73 views

Recent posts by taxonomy and filter by tag

I would like to display in the single page sidebar all the posts related with the Current Custom Taxonomy (taxonomy name: authors) and also filter the list of posts by a tag or category. I found this ...
0
votes
1answer
32 views

Display posts by tag

I'm trying to display a list of posts by tag within a post. I've cobbled together the following code which I wanted to use in a shortcode, but I'm getting nothing displayed… $args = array( 'tag' ...
0
votes
1answer
27 views

showing tag beside catagory

thanks for your guidance, here is one last but not least thing for me to learn, i am using Today news wordpress theme, since with your help i have moved my process from category to tag based ...
1
vote
1answer
33 views

sort tags by tag ID in admin panel

I want to sort tags list by tag id in my WordPress admin panel. There is 1000s tag in admin tag list and I want to know which are the latest added tags, but there are options to sort with Name, ...
0
votes
2answers
35 views

No duplicate tags by category

I have script to show list tags from category and works very well. <ul class="inline-list"> <?php query_posts('category_name=lain-lain'); if ...
0
votes
4answers
116 views

Remove href tag from wp_postmeta in 34,000 posts?

I'm using Godaddy Hosting, PHP 5, and Wordpress 4.2.1 I have 34,000 + posts that need outdated href tags removed. I am able to remove tags, one post at a time, by using this code in a page template ...
0
votes
0answers
16 views

Switching between Text / Visual Editor makes alt text disappear

I am working on a Wordpress site and the images have lightboxes that has this coding in the <a> tag: <a href="#" class="someclass" alt="somealt"><img src="someimg.jpg"></a> ...
0
votes
0answers
29 views

Change widget: categories to tags

I have a theme with a widget that displays posts from a category. How can I change it to tags? This is the code: /** * Plugin Name: Middle Buzz Widget */ add_action( 'widgets_init', ...
4
votes
1answer
97 views

How to not allow users to create new tags, but allow to them to use existing ones

I want a certain role to be able to add new tags, but other users should just be able to use the text bar to search for existing tags. I know I can hide the tag bar in the sidebar, but I don't want ...
1
vote
0answers
29 views

Automatically Add New Tags to Sub-menu

Been searching for any related plugins or info. about this case but didn't find anything relevant or working. I need every new tag that is added to a post automatically appear in a menu as a sub-menu ...
0
votes
1answer
22 views

Set post tags using tag ID

I want to set post tags to a new value. Is there a way to use the tag ID to do it? The wp_set_post_tags only accepts the tag name or an array of tag names. <?php wp_set_post_tags( $post_ID, $tags, ...
0
votes
1answer
57 views

how to see P and BR tags in tinymce?

As a developer, I'd really like to have the ability to see every tag written out on the editor in source mode. Is there a way? Some filter, action, or so?
0
votes
1answer
24 views

Custom posts - tag pagination

I'm using the following code to output the custom posts that belongs to a tag: add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) { if(is_category() || is_tag() ...
0
votes
0answers
18 views

Using Tag name in link to post

I have 2 Tags one is named 'The Guardian' and the other is named 'New York Times' assigned to some posts. Right now my link to those posts on my home and category page says 'Read Full Article' and ...
0
votes
0answers
18 views

Query custom post in tag archive

I created a custom post and added the standard Wordpress tag functionality: function btp_work_register_post_type() { $args = array( 'label' => __('Works', 'btp_theme'),'labels' ...
0
votes
0answers
13 views

HTML tags in comments

I'm using latest Wordpress & Thesis theme. I have a technical blog where i want users to be able to put comments in the code. When i try to add a code to the comment (as a non logged in user) ...
0
votes
0answers
29 views

Trending Tags based on post views

I'm looking to display a list of the most trending tags on my wordpress blog - based on views that the posts within these tags have had, with a max tag count of around 10. I've looked into the ...
0
votes
1answer
32 views

Add text to Title dynamically using tags

I am trying to add custom text to title according to the tag selected. For example: If I've added a tag named 'Private', The title should look like "Page Title From title field + custom text ...
0
votes
0answers
26 views

Styling tags in different ways

I want to display tags, but in two different styles in the same post: First Style: I want some specific tags to be displayed like this: "My text blahblahblah" tag_1, tag_2, tag_3, etc. The tags ...
0
votes
0answers
11 views

Is there a way to tag specific paragraphs?

A blog owner is posting daily posts. In each post there are several items, each for a different subject. The owner wants to tag each item for better navigation and findability. The owner does not ...
0
votes
1answer
54 views

Using get_term_by to get tag id

I want to get posts that do not have a certain tag. I am having trouble retrieving the tag-id. The term id comes up as 0. Here is my code: $tag_name = 'my-sticky'; $tag = get_term_by( 'name', ...
1
vote
1answer
34 views

Offline Wordpress Application

I have to Document some Work and i thought to use WP as a platform to work with others. We have articles, pictures in different categoried and could use the tag function. A Search function is ...
0
votes
2answers
52 views

how can I use WP_Query to exclude a specific tag.?

I have the following working code for a query on a specific category and tag slug: $args = array( 'category_name' => $cat_name, 'tag' => $tag_name, 'post__not_in' => $sticky ); $my_query ...
0
votes
1answer
62 views

Wordpress tinyMCE Keep Wrapping <p> Tags To HTML Codes When Saving

Wordpress tinyMCE keep adding <p> tags when I saved my custom post types in visual mode opened! I had searching for many solutions, but not working. Here is the solution that I found, but this ...
0
votes
2answers
30 views

404 error when i try to search by category or by tag

I have following problem. When I try to search by tag or by category, I have 404 error. It means that when URL is like "domain.com/category/smt/" or "domain.com/tag/smt/", I have the error. I tried ...
0
votes
0answers
42 views

Display posts with current tag, organized by category

I'm creating a list of posts that have the same tag as the current post (this is in a single-post template). I need to display those posts organized by category, with the category name appearing once ...
1
vote
1answer
52 views

Limit tag word count

I want to limit user to enter post_tag only words of two not more that. If any of the tag is more than two words the user caanot publish the post. I need to use this function to count word. function ...
2
votes
1answer
49 views

How do I make a custom taxomony appear like tags?

I have a custom taxonomy which I want to behave in the same way that tags do on the post edit screen, instead of how categories appear. I have tried passing in the 'show_tagcloud' => true ...
0
votes
2answers
53 views

Using wp_tag_cloud with only current post tag with special class

I am trying to output all the tags (custom taxonomy) without link, and add special class to current post tags. For example: if there are 10 tags but current post has 3 of them applied, then it should ...