Sort Query Posts
sort custom type posts depending on a custom field ?? (4 posts)

  1. baignoire
    Posted 3 years ago #

    hi there,
    i use custom posts that i would like to reorder on queries according to a custom field that is specific to this post type : do you think that plugin could do that ? or could be eventually easily edited to do the job ??
    thanks !!


  2. Tubal
    Plugin Author

    Posted 3 years ago #

    I would say yes, you can adapt the plugin for that custom field. It all depends on the $wp_query global that contains all the data. Print out its data to see if the custom field data is there or not (requested from DB).

  3. Eric J T
    Posted 3 years ago #

    I have a plugin Directory Listing and created a form field that is displayed by this code:

    <div class="field-value wpbdp-field-eventdate meta"><label>Event Date:</label>

    It's not a custom field, but is one I made when I built the form. The plugin creates a directory but I want to use it as an event list calendar. I want to display the excerpts and full listings in ascending order, meaning what's up next followed by events happening later on future dates. How would I do this with your plugin, or can you recommend something that will do this?

    Also, my web host system installed wp 3.5 and your plugin doesn't seem to show up anywhere after installing. I know it doesn't officially support 3.5, but will it soon, or should I try to get an installation of the earlier version for this to work?


  4. Eric J T
    Posted 3 years ago #

    By the way, the directory plugin won't let me set the field as not meta.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sort Query Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic