Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Adding Custom Fields to an existing blog for filtering?

Discussion in 'Misc WordPress Requests' started by bcworkz, Jan 21, 2018.

  1. bcworkz

    Guest

    Reply To: Adding Custom Fields to an existing blog for filtering?, by bcworkz

    Custom coding is the best way to get exactly what you want, but it’s not for everyone and can be a lot of work to get it right. Tags are bad for filtering due to inconsistent values like mm/dd/yy vs. dd-mm-yy, etc. Post meta (custom fields) is a good choice because data can be much more structured. By using meta boxes, field formats can be enforced for consistency. The meta query argument in WP_Query is very flexible and powerful. WP_Query can order results by post meta field values, but not by tag or category name.

    Reply To: Adding Custom Fields to an existing blog for filtering?
     
    #1

Share This Page

Monarch Social Sharing Plugin