Support » Fixing WordPress » Crop sidebar contents to one line?

  • My latest posts are shown in my sidebar, but I’d like them to end after one line to keep things tidier. In other words, “A really long title that stretches forever” would be cropped down to “A really long title…”

    My code below shows I have a limit of 8 posts in my list, but what can I add to it to shorten the post titles?

    <?php wp_get_archives('type=postbypost&limit=8'); ?>

  • The topic ‘Crop sidebar contents to one line?’ is closed to new replies.