Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Why doesn’t this Custom Select Query work? Re: Why doesn’t this Custom Select Query work?

#75235
Luminated
Member

I am actually using this within the Custom Field Template plugin. The situation is I basically want a pre-populated list of posts as a drop-down that the user will be able to select the associated post and it will automatically update the permalink for this particular custom field.

Within the Custom Field Template plugin, you have the ability to use PHP Code to hook into the Database and pull whatever you need from it. I don’t think query_posts will do what I want it to.

I posted about this before here:

https://css-tricks.com/forums/discussion/8004/custom-field-wordpress-that-will-auto-populate-from-others/p1

I got it to work great and now I am basically trying to do the same thing, but I want to relegate the query to only posts within a certain category.