Questions tagged as 'taxonomia'

1
answer

List custom post type of several taxonomies

I've used this code: <ul> <?php $args = array( 'post_type' => 'integrante', 'orderby' => 'title', 'order' => 'asc', 'lang' => 'pt', 'tax_query' => array( 'relation'...
asked by 03.02.2016 / 18:01
1
answer

Why does my Taxonomy in Wordpress not work hierarchically?

My problem is as follows, register a custom post type and a custom taxonomy for it, both with hierarchy enabled. Record the 'categories' of the custom type within the taxonomy, following the style Father Son Son Two But when you sa...
asked by 24.11.2014 / 20:10
1
answer

Add custom field to wordpress taxonomy

I'm giving maintenance on a Wordpress site where there is a page called "Services" and so there is also the "Services Category", on certain page of the site, these services are listed within each category. I'm trying to add a new field to "Se...
asked by 13.07.2017 / 04:08
1
answer

SQL only in custom WordPress post for tag conversion

Let's say that a site using WordPress has half the posts of the standard type, and the other half uses a Custom Post Type "review" . But this type of post had no registered tags, so it shared those of the standard posts (post_tag). After...
asked by 31.12.2014 / 00:37
0
answers

Wordpress - Custom Post Type and New Taxonomy - Display records only from the selected category

I created a custom post type called "downloads" and created categories for them using register_taxonomy () called downloads-category. In WP-Admin, I was able to register all my files and separate them by categories. It's working fine. But on...
asked by 30.08.2018 / 18:52
0
answers

Display the terms of a custom post taxonomy

I have the following problem in creating a theme in wordpress. I created a CPT named child, and for it I created a tag taxonomy. Everything is working normally but when I call the post from that CPT in single-child.php I can not list the tag...
asked by 30.08.2017 / 21:49
1
answer

Custom Taxonomy within another Custom Taxonomy in WordPress

I need to create the following hierarchy within the WordPress admin: Category - > Product Line - > Product A product belongs to a line that in turn belongs to a category. I thought about creating a Custom Taxonomy for Categories...
asked by 07.04.2016 / 00:58
1
answer

Show terms of a random taxonomy

I'm displaying all categories with their respective images, as per the code below: <?php categorias = apply_filters('taxonomy-images-get-terms', '', array( 'taxonomy' => 'category') ); foreach($categorias as $key => $categoria):...
asked by 27.07.2017 / 22:52
1
answer

Viewing Wordpress pages

I need help here on pages and display with Wordpress. I have to make a website for a company to provide services, and that this company has 2 branches in different cities, and each city has its corresponding plan. When entering the site has to o...
asked by 19.08.2015 / 15:44
1
answer

Display children only when clicking the term term

I have a sidebar and I need to list the terms of the 'Category' taxonomy. So far so good, what I can not do is: When you click on a term, you must list its children terms in a submenu containing a link to the listing of the child's products...
asked by 29.10.2014 / 23:47