Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8540565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:37:38+00:00 2026-06-11T11:37:38+00:00

So I have a wordpress taxonomy, lets class it class, among class I have

  • 0

So I have a wordpress taxonomy, lets class it class, among class I have various terms.

Each of the terms has data like name,slug etc. I’m well aware how to fetch that, however terms also have a select box drop down called ‘best buy’, and I have no idea how to get that.

I noticed that there is a custom field called ‘best_buy_classes’ but I’m still lost.

I would just like to get the value of the data in that select box connected to the term and I have no idea how.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:37:39+00:00Added an answer on June 11, 2026 at 11:37 am

    I’m pretty sure what you’re asking is how to echo a custom post type and the custom fields for each post.

    To grab the custom post type just use a traditional wordpress loop ie.

    $args = array( 'post_type' => 'CUSTOMPOSTTYPENAME', 'posts_per_page' => 10 );
    $loop = new WP_Query( $args );
    while ( $loop->have_posts() ) : $loop->the_post();
        the_title();
        echo '<div class="entry-content">';
        the_content();
        echo '</div>';
    endwhile;
    

    Within this you can grab your grab your meta_data (custom fields) by using this syntax

    $meta_values = get_post_meta($post_id, $key, $single);

    I strongly suggest you do a big read of the wordpress codex and check out the Getting Started Section.

    Hope I could help!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a wordpress theme that has a build in shortcode for creating an
I have wordpress site, i added like button for share post. But, i don't
I'd like ideas for the quickest/shortest/best ways to echo a taxonomy's 'name' label in
I have a wordpress taxonomy called product. I know the template file for my
I have added a custom post and a custom taxonomy to my wordpress theme.
I have WordPress instances with each in its own database. For an update I
I have successfully created a custom taxonomy in WordPress, and I created a page
So. I created a custom WordPress taxonomy. And I have multiple posts that use
I have a taxonomy search form in wordpress and the link output is http://localhost/wp/?cityid=16
i have wordpress blog in my custom built website, i am displaying some posts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.