The built-in taxonomy 'post_tag'.
0
votes
1answer
21 views
Is there a reason I cannot get the current category in a loop?
I think I am doing this wrong but if I do:
if(have_posts()){
$category_id = get_query_var('cat');
var_dump($category_id);
while (have_posts()){
the_post();
}
}
the var dump ...
0
votes
1answer
22 views
Why tags are displayed bellow the content and not inside
I am developing a theme for myself and I was wondering why wordpress tags are allways displayed bellow the_content.
I know that this can be done via shortcode, but I would like to know if this is for ...
-2
votes
2answers
45 views
Can this be done in WordPress or should I use some framework? User generated content that is searchable as well. Website that sells used products [closed]
I have been working on my project on WordPress for the past ~10 days. I have questions you might have answers.
One of the main feature of the site is the ability to allow users to create an account ...
8
votes
3answers
94 views
Posts with at least 3 tags of a list of tags
There is a set of tags against which posts that have at least 3 of those tags should be matched.
Say there is the tags {foo, bar, chocolate, mango, hammock, leaf}
I would like to find all posts with ...
-1
votes
0answers
13 views
How to create a sidenote box? [closed]
I use regular WordPress (i.e. WP.com).
There is a blockquote box which is well established meaning for putting quotes. I would like to add another box in my post — a sidenote, something like you see ...
0
votes
1answer
19 views
Search tag within category
How do I search a tag within a category? like if a user is viewing a post that belongs to category "Romance" and the user clicks on one of the tags like for example "blonde" it should list all posts ...
0
votes
1answer
30 views
If tag exists and equals then
I have the following code and I'm trying to check to see if a specific tag exists and if so I need it to be echo'd once. The problem I'm having is when the tag exists multiple places it gets echo'd ...
-1
votes
1answer
26 views
How to wrap a span tag inside a PHP date function [closed]
I need to wrap a span tag for each month, day and year attributes on this simple wordpress function that echoes the date of an event.
<?php echo get_start_date( null, false, 'M d Y'); ?>
0
votes
0answers
9 views
Tags 404 error when containg greek chars
I'm getting a strange behavior and I'm hoping someone can explain the reason.
I'm importing tags to the DB using a custom PHP script I wrote. The import is successful.
Then, I add tags to posts from ...
0
votes
1answer
39 views
How to display and use all existing tags at my write-post-at-frontend-panel?
I can write and publish posts from my frontend - everything is fine. You know the backend: write-post-style, right? There it lists all existing tags.
How can I display all existing tags at frontend ...
0
votes
0answers
23 views
Tags 404 error when associating tag with post
I'm a total newbie to Wordpress, however I've been asked to develop a PHP script to import tags from an Excel spreadsheet to the WP db. So far, so good...
BUT: there's this strange behavior I need ...
0
votes
0answers
11 views
Use global query parameters in new WP_Query for presenting separate results in tag archive
wp_reset_postdata() does not seem to work here.
I'm building a custom tag archive template, which should feature results from different post types in diferent boxes.
<?php
$query_stringa= ...
0
votes
1answer
24 views
How to show tags in posts with a theme that does not do it
For my wordpress site I bought a theme, but I discovered later that this particular theme does not show posts' tags (in posts' pages). Is it possible to force the theme to show tags in posts ?
1
vote
1answer
16 views
Paginate tags page
If I click a random tag I want the tag page to list only 20 posts that is related to that tag and paginate it.
<?php
/**
* The template for displaying Tag Archive pages.
*/
get_header(); ?>
...
0
votes
1answer
21 views
Assigning tags to a post from front end using tag-it jquery UI plugin
Tag-it is a jquery UI plugin that allows assigning tags, exactly like tags system in stackoverflow. https://github.com/aehlke/tag-it/blob/master/README.markdown
My goal is to allow members of my ...
-3
votes
2answers
29 views
Datetime on time tag wordpress puts it outside the tag
I want to use a time tag with the datetime attribute in it... I tried this in functions.php:
<time class="time" datetime='. the_date('d-m-Y') . '>%3$s '.get_the_time( $d, $post ...
0
votes
1answer
22 views
/tag/tag_name/page/2 gives a 404 error
I created my own template for list of entries for certain tag (tag.php),
It will shows up 10 entries, and with Previous & Next link.
<?php
$paged = get_query_var('paged') ? ...
0
votes
1answer
18 views
How do I add tags/taxonomy to images + a query field on page to query 'albums' (images with same tag/taxonomy)
I've got lots and lots of photos on my site and I want to seperate them into albums. Every album is a client album (photoshoot).
Though.. I want all my clients to query their album on my site. ...
0
votes
1answer
18 views
Automatically add author's name to post_tag
I need to add the author of a post's name to the post's tags whenever the post is published. So for example John Smith wrote a post, the tag 'John Smith' would be added to that post's tags.
I've ...
0
votes
1answer
16 views
Quicktags on all textarea.. Not working on plugin?
I want to put a couple of quicktags/buttons on a textarea which is outputted by a plugin called user submitted posts. I have given this textarea an unique id and read this on the Quicktags ...
2
votes
1answer
43 views
Display custom list of tags in post/page editor with hooks
I used the information posted on this blog post to display specific tags when editing a post. The editors on my site wanted the ability to display pre-specified tags instead of the most popular ones. ...
0
votes
1answer
27 views
Navigation menus not showing because of custom post type filter
I use this filter to show content from all custom post types in tags archive page
function tagFilter($query) {
$post_type = $_GET['type'];
if (is_tag()){
if (!$post_type) {
...
0
votes
0answers
24 views
Add a prefix term in a custom taxonomy slug
I am looking to rename the slug of a custom taxonomy when inserting a new term, adding to the default slug a prefix.
For example, if the term name is "something" I want the slug is "prefix-something" ...
0
votes
1answer
146 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
20 views
Get TOP x Tags from selected posts
I need help on this, the case is I want to get TOP X tags from user post.
For example user A wrote 50 post, i want to show TOP 5 tags from that user post,
It 's for displaying user interest.
second ...
0
votes
1answer
26 views
Split function “the_tags” in 2 columns
I have the following function that returns the tags of the current post:
<?php the_tags( '<ul> <li>', '</ li> <li>', '</ li> </ ul>' ); ?>
Example:
Is ...
-2
votes
1answer
74 views
Fetching Video From YouTube Automatically [closed]
I am using WordPress, and a theme called DeTube. Is kind of a YouTube clone, and I use this website to upload mainly videos from YouTube.
Is there anyway to fetch videos and populate all the required ...
0
votes
3answers
53 views
Pull Tags But Not as Links
I'm trying to take a list of tags and list them on the page but without linking to their archive page.
At the moment I'm doing this:
<?php
global $wp_query;
$postid = $wp_query->post->ID;
...
0
votes
0answers
23 views
How can i do a search for tags in a certain category?
I'm trying to search for a certain category with a tag, how can I do this via url?
For example: www.example.com/?cat=1&tag=tag1
how can i achieve this using parameters in the url?
0
votes
1answer
46 views
Hook to change Custom Tag Taxonomy Links?
I have a Custom Post Type named News that has a URL structure like this...
domain.com/news/news-post-name
I have also added a Custom Tag Taxonomy for my News Post Type.
Here is my Re-write settings ...
1
vote
1answer
30 views
How to use all tags in post permalinks
My site with pictures is set up so that the posts do not have a title and have only tags.
I would like to know how to use all tags in permalinks settings?
1
vote
2answers
79 views
Where to store custom tagging data associated with a custom post type
My application allows users to add tags to an image (similar to facebook). Each tag can consist of up to 8 attributes and there is currently no limit on the amount of tags a user can add.
At the ...
0
votes
0answers
32 views
How do I link featured images on my blog homepage to an entire tag instead of a post?
I've found a theme (Hatch) for my blog - link here that I really like. I am trying to figure out how to get the mid-sized featured images or post thumbnails that are currently displaying on my ...
0
votes
1answer
17 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
37 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 ...
0
votes
0answers
15 views
Change wording of tagged items
I want to change the "Posts tagged "xxx" to "Items tagged "xxx" in the archive page that displays all the posts with a selected tag.
I can't find the code to change...can you point me to the correct ...
1
vote
1answer
14 views
Tags, use both union and intersection at the same time
I have tags on posts and I want a display based on the following logic:
If it has the "biology" tag AND it has either the "female" or "male" tag.
biology AND (female OR male)
Here's what I attempted ...
1
vote
1answer
83 views
non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue
I registered a non-hierarchical custom taxonomy ('property_features').
There is a checkbox for every terms of this tax in a custom meta box on the edit-screen.
All terms are displayed and all terms ...
0
votes
0answers
43 views
No results for my WP_Query array
I have to get related posts via keywords/tags, and I found a ton of examples elsewhere on how to do it, but the query doesn't seem to produce any results. Can anyone point out how to do this, and is ...
0
votes
1answer
35 views
Display Posts Only with Specific Tag
I'm trying to only display posts with the tags Movie Trailers and Gaming Trailers but my loops are still displaying everything under the category /videos/
heres what I have
category-videos.php:
...
1
vote
1answer
88 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
0answers
14 views
WordPress MU Sitewide Tags restrict by category
I want to restrict or stop certain categories from being "sent to the "tags" blog.
The advice (on another forum and from one of the devs) is as follows (but i cant hack it!) :-
"hook into save_post ...
1
vote
1answer
79 views
How to get the url to tag & category base set by the user?
I'm searching for half an hour now on how to get the url/permalink base in Wordpress (the 'category' and 'tag' value set in the backend). Could you please point me in the right direction?
I want to ...
2
votes
1answer
20 views
Is it possible to generate an alternate structure for multi-tag urls?
I know that one can query multiple tags with the + syntax, as in www.example.com?tag=?test+test2+test3
I'm looking for a solution where the URL would be in this format instead: ...
2
votes
1answer
41 views
Category vs Tag vs Table
I have a site that will hold roughly 1000 posts/articles from an in-house magazine dealing with Australian naval history. The articles cover a range of subjects (such as Aviation, Intelligence, Ship ...
0
votes
1answer
16 views
Why is my taxonomy have a category style div id?
I created two custom taxonomies. I created them using identical code and then finding and replacing the "name" with "name2".
I've then looked at the post type page and there are two tag boxes to ...
0
votes
2answers
29 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
3answers
112 views
100+ terms in any taxonomy slows down post updates?
I'm making a fairly large (for me) e-commerce shop with Woocommerce. The shop has ±1300 products and will be going to ±2000 products. There are also ±2500 Product Tags.
I've had speed problems on a ...
0
votes
1answer
46 views
How to create an overview of posts with the same tag?
At the bottom of each post, I want to display posts that have the same tag. Based on numerous examples of function doing something similar, I created the function below. I call it from with in the ...
0
votes
1answer
48 views
No line breaks in tags in tag cloud
I use the tag cloud widget on my site. I have some tags which consist of more than one word, like 'free will'. In the tag cloud, there sometimes comes a line break in those tags, between the words:
...

