Summer Sale | Flat 10% OFF on All Themes Package. Use Coupon Code Summer24 | Limited Time Offer! 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.