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

  • Home
  • SEARCH
  • 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 8677657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:31:05+00:00 2026-06-12T20:31:05+00:00

I created a custom post type by the custom post plugin and now i

  • 0

I created a custom post type by the custom post plugin and now i created new post-type by taxonomy. My requirement is that how can i use the widget logic in that taxonomy page.

i used the following code in the widget for widget logic and i cant get any result for that.

is_tax('branes-range')||is_single()&&(get_post_type()=='products');

this is taxonomy ‘product-types’ page and i have created is under products custom post and ‘branes-range’ is taxonomy type. Now i want to get the widget logic in ‘branes-range’ page.

  • 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-12T20:31:06+00:00Added an answer on June 12, 2026 at 8:31 pm

    Use this widget Logic:

    is_tax('your_taxonomy_name', 'your_taxonomy')
    

    Here no need to use the Post type name.

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

Sidebar

Related Questions

I have created a custom post type named People. I have created a page
i have created a custom post type named Books & i have a widget
I have created a custom post type of 'portfolio' and page with a template
I have created a custom post type with an image gallery upload. Now I
I've created a custom post type and a custom taxonomy to go with it.
I have created a custom post type for my portfolio page. I have two
I created a custom post type named portfolio with tag taxonomy support. Since WP
I am using WordPress 3, and I created a custom post type called article,
I'm a newbie in WordPress and I've just created a new custom-taxonomy called categories
I have created a custom post type called banners and want to enable the

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.