Black Friday & Cyber Monday Offer | Flat 20% OFF on Lifetime & All Themes Package. Use coupon code BFCM24 | Offer valid till 5th Dec 2024 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Recent Posts for single category

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47602
    Lucius Douglas
    Participant

    RE: https://divorcetoolbox.online/

    I would like to only display posts for category ‘blog’ in the ‘Recent Posts’ footer section.

    If you can give me the code to make to the footer.php page, I can do it myself.

    Thanks.

    #47603
    Lucius Douglas
    Participant

    Never mind! I found the solution.

    In the footer.php file, I changed the query line to:

    query_posts(‘post_type=post&cat=148&showposts=4’);

    Worked fine!

    #47609
    Grace Support
    Keymaster

    That’s Great!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.