Support » Fixing WordPress » Linking to actual blog post from sidebar
8 years, 3 months ago
I wanted the latest blog post to show in my front page sidebar i used the(the loop) and included
$content = get_the_content('',FALSE,'');
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
to shorten up the post. Now how can I include a read more link to the actual post? (not using the title permalink
Is there a code to link to the full (single.php) of the most recent post?
The read more link wouldn’t work since i’m only calling a few words on the sidebar…
8 years, 2 months ago
Never mind i figured it out.
7 years, 12 months ago
you know you should post the solution when you figure it out. Please