- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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 '...';
} ?>
You’ll need to query the posts to make sure that only one shows up:
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.
Also, I just want posts from the blog feed. Does this only pull posts from the blog feed?
Latest Post
j') ?>
Not Found
Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post
You’re a genius! <3