Forums

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

Home Forums Back End WordPress Blog Loop in Footer

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34598
    LaurelBrittany
    Participant

    I’m trying to figure out how to have a latest post blog loop on every page in my footer. This is my theme: http://lwebdesigns.net/blog/. How do you make a loop for the blog content on every page?

    This is the code I am using:

    Footer:


    Latest Post



    Not Found


    Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post






    j') ?>


    ">




    Functions:

    
    return 8;
    }
    function wpe_excerptlength_index($length) {
    return 30;
    }
    function wpe_excerptmore($more) {
    return '...';
    } ?>
    #88383
    TheDoc
    Member

    You’ll need to query the posts to make sure that only one shows up:








    #88404
    LaurelBrittany
    Participant

    This just creates errors when I put the first two lines in the place of the original. If I copy this in instead of my loop it does nothing.

    #88405
    LaurelBrittany
    Participant

    Also, I just want posts from the blog feed. Does this only pull posts from the blog feed?

    #88412
    TheDoc
    Member

    Latest Post





    j') ?>


    ">




    Not Found



    Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post



    #88413
    LaurelBrittany
    Participant

    You’re a genius! <3

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