• I have a custom sql query creating a list of custom posts, that I want to transfer that to the detail (post) page. Normally I would use sessions (to put the variable $sql in a session), but I would like to know if there is a wordpress way to do that, because my site uses users and multilanguage support (wpml) so I would really not like to interfere with those variables.

  • The topic ‘Custom sql query’ is closed to new replies.