Asides Trouble
-
I followed https://codex.www.ads-software.com/Adding_Asides#Displaying_Asides_on_the_Sidebar
to add asides to my site.It worked, in that posts in the Asides category show up where they should. The main post though disappears from the front page. I have it set to display only the most recent post, and the aside in this case now becomes the most recent.
The part that says
“After doing all of that, you will need to put this line:
<?php rewind_posts(); ?>
Either before the loop in your index.php file or before the loop in your sidebar.php file, depending on which one comes last. So, for example, if <?php get_sidebar(); ?> comes after the <?php endif; ?> line in index.php, then you will have to put it before the loop in sidebar.php. “
isn’t exactly clear, and I’ve tried putting <?php rewind_posts(); ?> in a few different places, but ith or without it added, nothing changes.
What can I do to keep the main posts displayed, while having asides?
- The topic ‘Asides Trouble’ is closed to new replies.