• Hi!

    So.. on my site my main page shows articles from a single category called Lead Story–which is great. But above that list of articles, I have a little “alert” box I made with a DIV, and in that box I have been manually updating it in the index.php box. Well I am getting tired of having to go into code to manually update this box AND I would like to keep an archive of what appears in this box. SO.. I created a category called ALERT. And now I can simply create a new article, type about 50 words in it, and post it. So then when the main page loads, that box will display the 50 words from my latest article.

    Trouble is, I have searched high and low and I can not find code to facilitate this.

    Note: my DIV is not in the WordPress loop, it is above it in the page source

    Help?

    THANKS!

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to show latest article from specific category’ is closed to new replies.