WordPress.org

Ready to get started?Download WordPress

Forums

WP Custom Fields Search
Date dropdown is too specific (6 posts)

  1. edgarfigaro
    Member
    Posted 1 year ago #

    Is anyone else having an issue with using a dropdown option with the post_date field?

    I'd like it to display like the archive widget built into WordPress does. Ex. May 2013, June 2013, etc...

    If the options field is left blank, it just displays every post date.

    http://wordpress.org/extend/plugins/wp-custom-fields-search/

  2. warend2
    Member
    Posted 1 year ago #

    Hello,

    Is there way that we could remove the default value "ANY" of the dropdown option Or change it to specific default value?.

    Also, can we hide the specific categories in Data Type Category.?

  3. don benjamin
    Member
    Plugin Author

    Posted 1 year ago #

    @edgarfigaro sorry for the delay in replying, that's a good idea I will put it on the list for future versions, but no at present that's not possible. You could work around by using a "Phrase In" search and entering the dropdown options manually, something like:

    2013-05:May 2013,2013-06:Jun 2013,...

    I appreciate that this is not ideal though.

  4. don benjamin
    Member
    Plugin Author

    Posted 1 year ago #

    @warend2, another good idea, I'll put it on the list, but no at present the only way to do either of those would be to manually enter all the options

  5. warend2
    Member
    Posted 1 year ago #

    Hi don benjamin :)

    It works with the manual, Base on your suggestions for adgarfigaro, I did the same like entering the dropdown options.

    I put something like:

    Category 1, Category 2, Category 3,.....

    Thank you so much for your great plugin!.

  6. edgarfigaro
    Member
    Posted 1 year ago #

    Don, I see what you did there with the dates. But it's too broad. I was referring to how WordPress has Monthly archiving baked in. The drop down would be super effective if it has say: June 2013, May 2013, April 2013, etc...

    The way is now with custom drop down values is too broad. I was trying to get in the code and disseminate where you pull in date info, but it got a bit overwhelming.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.