The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress PHP question?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #38521

    Hey guys,

    I’m putting together an online store. I like how the products are shown at the bottom of the home page (not the slider) in a table-like fashion. But I’m wondering if there is a way to show only certain products that I tag with a category. Any PHP experts out there?

    here’s the site

    Thanks in advance


    You want to pass ‘category_name’ as a parameter when querying your posts. This will return posts for that category only.

    See the Codex for a full explanation:

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.