Custom Query Fields
Not working with custom post types (4 posts)

  1. camilodelvasto
    Posted 3 years ago #

    Hi! The plugins seems to be awesome and exactly what I need. But I can't get it to work with custom post types. I tried registering a custom field price and it works for posts, but it doesn't show any custom post.... what shall I do?
    Thanks! Appreciate your help.


  2. hansdemondt
    Posted 3 years ago #

    Same problem here - could you get back on this? It would really help me a lot.

  3. camilodelvasto
    Posted 3 years ago #

    @hansdemondt: I believe you need to create an archive page. Don't really remember how did I fix it, but you can try creating an archive-cpt.php file, with cpt being the name of your custom post type. After that I think it worked perfectly.

  4. hansdemondt
    Posted 3 years ago #

    @camilodelvasto: thanks for the tip - I'll give it a go and see if it works.

    Custom post types and custom fields are so promising, yet so hard to use (unless you buy some rather expensive plugins) in WP. I come from Drupal where everything is hard, except post types - expected this to be a breeze...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Query Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic