Questions tagged [custom-taxonomy]

Custom criteria that allow categorization, identification, nomenclature, and classification of various entities in software.

Custom defined criteria that allow categorization, identification, nomenclature, and classification of various entities in software and programming.

Custom taxonomies are commonly used in WordPress and Drupal as a methodology to group and organize content entries.

1187 questions
-1
votes
1 answer

How to create filterable portfolio in WordPress?

I'm creating a Portfolio custom page in WordPress, so far I've been able to get the categories from the custom taxonomy. Now what I want is when clicking on an option, it should fetch the post with the custom category. This is what I have so far: …
Kirasiris
  • 523
  • 10
  • 37
-1
votes
2 answers

Adding Image to custom woocommerce Taxonomy with ACS

I added a custom taxonomy called "Topics" to woocomerce products and Now i would like to add an image to each Topic and have it shown on the page of that Topic. I am trying to use Advanced Custom fields plugin but I do not know where to the the ACF…
-1
votes
1 answer

How to detect a taxonomy term in wordpress?

I want to detect the taxonomy term from my site url. For exampe if u consider this url, http://xxxxyyzzz.com/medicines/tablets/ I can detect the taxonomy 'medicines' but am unable to detect the taxonomy term 'tablets' using this code.. …
Sohail Malik
  • 305
  • 1
  • 2
  • 12
-1
votes
1 answer

taxonomy php else if statement not working?

Im trying to create a php else if statement for a custom taxonomy that I have created, however it seems to only show the first one? I have echoed out the variable and it is correct? Any help would be appreciated.
-1
votes
1 answer

How to exclude posts from child taxonomies on parent taxonomy archives

I have a query that displays the posts of a taxonomy. the only (and big) problem is: it displays the posts from the child taxonomies of this taxonomy too... how do I exclude this posts from being displayed outside their immediate taxonomy? this is…
gargi
  • 249
  • 1
  • 8
  • 17
-1
votes
1 answer

wordpress if is taxonomy show class of active

I have a nav which I would like to detect if it should an li should have a class of active or not. I usually do this for a normal page like so:
  • >
    probablybest
    • 1,403
    • 2
    • 24
    • 47
  • -1
    votes
    1 answer

    Wordpress, Custom Taxonomies Broken Every Install

    I just created my first proper theme and I'm having trouble working out the last bug, I have a custom 'portfolio' post type with its own custom taxonomy (portfolio-category). However, every/any time I install the theme on a different install of…
    -2
    votes
    0 answers

    Product attributes without WooCommerce

    this is probably an generic question but I hope to find some suggestion. I'm working on a custom Wordpress theme which is a refactoring of an previous WooCommerce theme (ie: I have to convert an WooCommerce theme to a new non-WooCommerce Wordpress…
    -2
    votes
    1 answer

    WP_Term_Query with WPML Translated Custom Taxonomy

    So I want to be able to get all terms from a custom taxonomy. My custom taxonomy has been created in specific languages; doing a simple WP_Term_Query isn't enough as that only gets the terms for my default language. I've tried multiple ways of…
    Justin
    • 150
    • 2
    • 7
    -2
    votes
    1 answer

    Display product attributes with image in single product page

    Could you help me a little? I used this snippet, is working well. add_action( 'woocommerce_single_product_summary', 'product_attribute_dimensions', 45 ); function product_attribute_dimensions(){ global $product; $taxonomy =…
    -2
    votes
    1 answer

    Add custom taxonomy terms as classes

    I'm having trouble displaying the post taxonomy terms as classes. I know I've done it in the past, but I can't seem to find it and don't remember how to do it. I have a custom taxonomy 'thema', now I want to add the corresponding theme term as…
    -2
    votes
    1 answer

    Getting duplicates term names in array wordpress custom fields terms?

    This is my code and I am getting duplicate values. $results = array(); $results['targetOptions'] = array(); $selectOptions = array(); $selectOptions = get_posts( array( 'post_type' =>…
    -2
    votes
    1 answer

    Get ACF value from custom taxonomy

    I have a custom taxonomy "roles", which has an ACF custom post type "role_order". My understanding is that to retrieve the value I should do: get_field('role_order', 'roles_222'); where 222 is the ID of the custom taxonomy term. Nothing's being…
    -2
    votes
    1 answer

    get Custom Taxonomy Custom field in SQL

    I have created custom field from this example I would like to get taxonomies name by containing "web" in custom_term_meta(created new field) in mysql query in phpmyadmin.
    CyberHelp
    • 63
    • 1
    • 2
    • 9
    -3
    votes
    1 answer

    page for my custom taxonomy url link doesn't show up

    Basically I have newsletter.php page where all the existing custom post are display. from here, I have a dropdown category lists which you can filter the custom post by its category. once you click the specific category, it will proceed to…
    maru
    • 35
    • 7
    1 2 3
    79
    80