Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    I encountered a similar problem. I wrote a custom navigation and queried also “get_posts()” and used them with a variable name $posts.
    As long as I did not change it, all the following standard queries from TheLoop were broken.
    So try altering your variable names as well.

    Thread Starter keepthingsclean

    (@keepthingsclean)

    Nobody able to help?

    The basic question is, how to access the get_pages() function from a new php file and where to store this file. Is it something that you’d file under “plugin” and how to do it then? Or is it more something that belongs to the theme? How to use it in this case?

Viewing 2 replies - 1 through 2 (of 2 total)