Forums

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

Home Forums Back End WordPress Help: query category of latest-published post

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27075
    sepp88
    Member

    Hello, please help me. I’m currently building a theme for my own wordpress blog. The theme is based upon another one i found on the web. The theme consists of 6 columns which are likewise 6 categories.

    the code for a column(category) looks like this.

    Code:

every column has the class of "latest" (<ul class="latest">)…
Is it possible to query the category which contains the latest-published post?

i want to give the category which contains the latest-published post an additional id of "latestpost". Is that even possible?

Thank you for your help.

Viewing 1 post (of 1 total)