• La M

    (@lady_moocher)


    Hi

    I hope you can help as I’m getting nowhere with this.
    I want to create a generic, Level2 landing menu page that shows a grid of a number of page links. This grid should include all the child pages of this page, plus a few extra arbitrary ones that will be listed in its metadata field as a comma-delimited list of page IDs.

    Below is the template code I have so far. I’ll be fine with the output and the CSS, it’s the query that I have a problem with. This one works fine for the child pages, but I don’t know how to retrieve the extra arbitrary pages. Can anyone help with the SQL query?

    Thanks in advance

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  • The topic ‘SQL postmeta query help needed’ is closed to new replies.