Forums

query_posts() inside post-new.php (2 posts)

  1. almostdesign
    Member
    Posted 2 years ago #

    Hello.

    I'm trying to display a select in a metabox for a custom-post-type posts (type A). That select would include all the title posts from other custom type (type B), just to associate them.
    The problem is that when I use query_posts() to retrieve all the type A posts, all the other fields in post-new.php (title, editor...) get filled with the information of the last item in the query.
    How could I keep that query independent of the global loop?

    Thanks so much.

  2. almostdesign
    Member
    Posted 2 years ago #

    Still no solution :(

Topic Closed

This topic has been closed to new replies.

About this Topic