0
votes
0answers
13 views

Countdown to post date tag function?

I made an events post type and I wanna make countdown to post date, for example: Let's say the post is due 5 days later so it writes in the post '5 days remaining' Any suggestions?
2
votes
1answer
14 views

How to display post tags through the functions file

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
votes
1answer
15 views

Tag page that displays specific posts

How would I go about coding a generic tag.php page that displays all the posts with a specific tag? For example, if I navigate to example.com/tag/your-tag, it should display all posts with the tag ...
0
votes
1answer
19 views

Insert wordpress tags below posts via functions.php

I'm in the process of building my own Wordpress theme from scratch and my knowledge of PHP is limited. What I'm trying to do is insert tags below each post. I can do this by inserting code into my ...
0
votes
1answer
479 views

Wordpress removing <p> tags?

I'd already come across a case where Wordpress added <p> tags. However now I'm dealing with the opposite situation. When I add [] shortcodes inside <p> tags WordPress automatically removes ...
0
votes
1answer
135 views

Query posts from a specific category and selected tag

I am trying to have a page (tag page) with this conditions: query posts from a specific category (for example : products) show only the posts with a selected tag (the tag is variable) not all the ...
0
votes
1answer
167 views

Auto insert More tags in all posts

I have a theme for my mobile site that requires the <!--more--> tag in my posts for it to display an excerpt of my post's content. I've got over 2000 posts already, and its going to take ...
0
votes
1answer
17 views

Back up post tags

What is the best way to back up tags on posts? I want to delete all existing tags on all post types, but want to be able to restore them if something goes wrong..
0
votes
1answer
218 views

How to remove specific tag from multiple posts?

I am trying to find a method to delete a certain tag, that is used in my theme to display differently "featured" and "dont-miss" posts, from multiple posts and I was not able to find a solution. Or ...
0
votes
2answers
96 views

How to get Tags with specific post id

I have created one post and post ID is 34 and added some Tags and Now I want to retrieve all tags with post ID. Any Idea?
0
votes
2answers
72 views

Add tags to post before it's created

Is it possible to add tags to a post, prior to its creation? Say if I have a link "/wp-admin/new-post.php?tags=a,b,c,d" and by clicking it, I want to enter the new-post page with the tags already ...
0
votes
2answers
259 views

How to add shortcode tags in single.php

In my theme has one shortcode tags to display tags of post and function to load content post. But in function doesn't include shortcode tag. Now I want to add it to function but i don't know how to do ...
0
votes
0answers
11 views

Problem Wordpress redirection?

In my blogsite, we can view blogs from example.com/blogs/. In each blog, all related tags are displayed from example.com/blogs/tags/my_tag/. In tags page, there is pagination. If next is clicked in ...
0
votes
1answer
37 views

Add post tags to previously created custom post type

I am trying to add post tags to the custom post types bbpress creates, so that I can do some "related topics" kind of stuff. Is there a function that adds a post support like 'taxonomies' => ...
0
votes
1answer
53 views

Custom post type tags not showing in search

I have a number of custom post types for which the admin can tag each separate posts. The problem : None of the posts show upon front-end search query with any of the tags... Is this normal ? have I ...
0
votes
2answers
284 views

Wordpress query_posts by tag doesn't work anymore(?)

I had this code running fine forever. Some days ago it just started outputting nothing (just the <ul></ul>). No errors in logs: <ul style="margin-left:0"> <?php ...
0
votes
1answer
28 views

Tags not appearing in “Add New Post” Page

I'm working on a mag website. I'm using Tags to group some content. For this I have added all the required tags from the Tags section under Posts. But When I go to Posts -> Add New, the Tags panel ...
0
votes
0answers
32 views

list post by tags combination - required tags to list out posts

Im in a need to List post by tags. The posts to be listed MUST contain all the tags to be listed, not only one, but all combined. Example; mysite.xx/tag/tag+another/ should put out ONLY the post ...
0
votes
1answer
172 views

Custom Taxonomy - Tags Metabox is showing instead of Categories

So I have a weird thing going on. Usually by default when you create taxonomies a categories metabox is made automatically (right?). For some reason that's not showing up but Tags metabox is showing ...
0
votes
1answer
143 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 ...
0
votes
1answer
72 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
174 views

Output posts with same name as tags?

If someone puts a post on my site, they usually do that with some tags. If someone posts a post with the tag "hello", I want it to output that tag after my content and let it link to the archive page ...
0
votes
1answer
24 views

How can I count articles retrieved by tags

how can i get posts retrieved by tags, I want to count them. The code i want to use in tabs. Ex: Movies(3) , Articles(15) Movies and Articles are Tabs. I know how to retrieve the count of posts ...
0
votes
0answers
51 views

Match tags against posts that contain a custom field tag value

I wish to crossreference specific tags with my posts in order to create a tag list of certain values. In this particular case, some of the tags are company names, and I want these names output in a ...
1
vote
1answer
1k views

Remove post_tag from default post type, add custom taxonomy

I've been searching for a while for an answer to this, but the results I find always deal with custom post types as opposed to the built-in 'post' post type. I want to remove the default 'Post Tags' ...
0
votes
2answers
52 views

Plotting posts on a graph

Here is what i want to do: For a specific date i want the number of posts from a certain tag. For example: on 14th March i have a certain number of posts tagged "jazz". I want to plot that number on ...
0
votes
1answer
31 views

Should new posts already have tags?

When creating a new post on one of my multi sites post tags have automatically been added. This happens to some users on specific sites only. Has anyone seen this before?
0
votes
2answers
403 views

WP Query - duplicated posts once including tags in search results

I running WordPress on IIS & SQL server. As some of the plugins do not work correctly with DB ABSTRACTION I am using a lot of functions.php filters as so on. To make my search results include ...
4
votes
3answers
377 views

Add tag to post api wordpress

I have been googling around but could not find the "add tag to post" api/codex. Does anyone know what it is ? Also, the "delete tag from post". Thanks.
1
vote
1answer
650 views

How to add tags (custom taxonomy) to post class css?

I am trying to figure out how to add my custom taxonomy for tags to the post class css when I already have added the custom taxonomy for categories. The code Im currently using to add the category ...
1
vote
1answer
242 views

How can I hide tags on a child-category page, if that tag has not been used?

I have a section of my site where I'm using child-categories and tags to sort content. I'm have a tertiary navigation for the tags (templates/nav-tags.php): <nav class="side left"> <ul ...
1
vote
1answer
133 views

How can I show 1 featured post in a styled element, and the next few below differently styled

I'm looking for some thoughts, ideas, and/or direction on what is the best way to accomplish this: Basically I want to have 1 "featured" post in a differently styled div, and then display the next ...
2
votes
2answers
502 views

Edit a post from frontend. post_tags get saved, but not separated

I'm building a CRM-Theme for Wordpress. So i post, edit and delete posts from the Frontend. I'm on a good way to resolve all problems, i think. But there is one failure. At the index there is a "edit" ...
0
votes
2answers
42 views

Short link to read complete post

I am just a newbie to the WordPress. I was just going through the demo sites and I found a website. Here you can see there are couple of posts in a home page and just below the every post there is a ...
0
votes
1answer
33 views

Display the popular tags by default in the backend post edit page (without having to click on the link that displays them) [closed]

I know there should be a way to call the AJAX function by page load but I've been looking at how to do this for hours and can't figure it out. Any help is appreciated.
0
votes
2answers
137 views

Delete all Tag Links from Posts

We're working on this site: http://granthammond.staging.wpengine.com/ which will no longer be using tags, i need a way to strip / remove all the tag links in the post content, for example: any ...
1
vote
1answer
35 views

how to add text to posts from tags

How can I add custom generated text to posts using text from tags? Something like: [Post Title] + custom text + tags + custom text .... Or is there a plugin which does this ?
1
vote
2answers
182 views

wp_tag_cloud() and the_taxonomies() work but not the_tag()

wp_tag_cloud() and the_taxonomies() work in a widget I built but I can not get the_tags() to work. I want to display the tags assigned to the current post. I built a widget to do this. the widget ...
0
votes
1answer
558 views

How to add tag(s) to all posts from a specific category? [duplicate]

I'm currently redesigning a cartoon site that has 1200+ posts, divided into about 62 different categories. Some categories have 2 posts in them, other categories have 50, 100, 200+. Now for every ...
1
vote
1answer
59 views

Should I use posts or pages in this scenario?

I'm considering using WordPress as the CMS for the website of a small clinic. There are only two sections with sub-sections: team and methods. Team contains each of the team members and Methods ...
2
votes
2answers
1k views

Display posts by tag on page

I'm trying to create an advanced WordPress page that shows the regular content, plus a second section on the same page that shows the latest posts from X tag. For example, a page is created about ...
0
votes
1answer
84 views

Display posts with tag that matches current post title

How would I show posts that have a tag who's name matches the title of the current post? For example if you are on a post called "Hippo" at the bottom of the page I would like posts with the tag ...
0
votes
1answer
145 views

retrieve post slug by post_tags taxonomy

My scenario: I have a part of a site which retrieves all post_tags terms for a specific category the code: query_posts('category_name='. $category[0]->cat_name); ...
0
votes
1answer
223 views

Related posts by searching post tags of single post as terms

I want to have a related loop of posts on single post pages and to do this I want to search the tags of the post. My first question is can you use the search in query posts for multiple terms and what ...
0
votes
2answers
511 views

Conditionals if tags exist?

I have the following code to display tagged articles with the same name as the page title, but I only want the to appear if the tag exists, otherwise it just says 'Related Articles' with no content. ...
1
vote
1answer
224 views

How can I make a post that belongs to a category or have specific tags, display different from the other single posts?

How can I make a single post display different from the other single posts when I add it to a specific category. example: I have a post that is in 3 categories: music, songs & video clips. I ...
0
votes
1answer
446 views

how to programmatically change post tags

Is there a php function which can add/remove tags of posts? If not how would I do this? I am looking for something like this: add_tag($post_id, 'tag-name'); remove_tag($post_id, 'tag-name');
2
votes
1answer
68 views

What Defines What Category A Post Picks (if in multiple)

If I have a post in multiple categories, what defines what category shows up in the URL? Assuming I have permalinks setup as /%category%/%postname% is it the ID or the name?
0
votes
1answer
2k views

Filter Posts By Tag

I'm trying to filter my posts by category, then further by city. The only way I can think of filter by city is if the admin adds the city to the listed tags and then filtering from there via switch ...
0
votes
1answer
254 views

Post type cloud like tag cloud?

Anyone know if it's possible to create something similar to the wordpress built in tag cloud (wp_tag_cloud) but instead of displaying tags, display custom post types? Thanks