Support » Fixing WordPress » Click links to extract posts based on child category.

  • Resolved r.sumerall

    (@rsumerall)


    Hello World,

    I have listed the children of a category on a page to act as navigation between different children of that category (it’s for a gallery page; the children will act to narrow down the posts to a specific industry).

    I know the code I’m using now will not extract the posts, but I’m not sure how to begin. Also, it’s linking to pages that don’t exist, sending the used to the homepage. I don’t know how to stop that so I can fix the link to extract the posts.

    Any feedback on how to do this would be great.

    Here is the page in question:
    http://gandyprinters.com/wordpress/gallery/

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter r.sumerall

    (@rsumerall)

    Hello Again,

    I think I know how to do this, but I’m stuck at a few crucial points and any guidance would help.

    I’m guessing that i can write an if…else if… else statement that will query the posts based on the navigation link you select. I don’t know what to use as an identifier for the if statements (do I reference the page, and how if the child categories seem to be creating new pages?).

    Please, if anyone can help me I would really appreciate it.

    Thanks,
    Rebecca

Viewing 1 replies (of 1 total)
  • The topic ‘Click links to extract posts based on child category.’ is closed to new replies.