Recent posts, recent comment links?
-
I have just installed a new theme and I have a box in my sidebar that shows recent posts, comments and a tag cloud. Here’s my problem. I need to replace # in the coding with the proper link. What’s the link to show these things?
Here’s the code:
<div id=”changebox”><ul id=”changebox-header”>
<li class=”active” id=”change-posts” >Recent posts
<li id=”change-comments” >Recent comments
<li id=”change-tag”>Tag cloud<div id=”changebox-content”>
<?php
echo ”- “;
$lastposts = get_posts(‘numberposts=7&orderby=post_date’);
foreach($lastposts as $post) :
setup_postdata($post);
?>- ” title=”<?php the_title(); ?>”><?php the_title(); ?>
<?php endforeach;
echo “
“;?>
</div>What is the link I’m supposed to use to make this box work correctly?
Link:
https://downtowndesmoinesblog.comThanks much!
Josh
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Recent posts, recent comment links?’ is closed to new replies.