WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. camilodelvasto
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/custom-query-fields/

  2. hansdemondt
    Member
    Posted 1 year ago #

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

  3. camilodelvasto
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic