I need to somehow segregate the post titles from this string.
They are currently appearing like this:
Nancy Park BiographyAlexis
This is the PHP string I’m using currently.
< ?php wp_get_archives('category_name=Nancy&type=postbypost&limit=20&format=custom'); ?>
Nevermind, figured it out. For anyone else that needs this code:
$myposts = get_posts(‘numberposts=10&category=NAME_HERE&order=DESC’);
foreach($myposts as $post) :
< ?php endforeach; ?>
You must be logged in to reply to this topic.