• L402Audio.com

    Greetings. First things first, I’m new here and know very little about PHP, but appreciate suggestions!

    I’m wondering how I can force my Recent Posts sidebar titles to line break before a specific character. You see how they currently break due to the div’s width limit. I want to be more precise to give it a more orderly look. Spe

    Eg. of how I’d like it to change:

    From
    —–
    Essential Electronic : March 5-11,
    ‘07

    To
    —–
    Essential Electronic
    : March 5-11, ‘07 (where the code forces a new line before every “:” character)

    I’ve done a lot of searching but cannot find the right code/hack or plug in to complete this. Is this possible? My current code for this is
    <?php wp_get_archives('type=postbypost&limit=10&format=html'); ?>

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter jtovar

    (@jtovar)

    Any takers? There’s gotta be a way! It seems like it should be somewhat easy for those who know code.

    I’ve been told I may have to drop the wp_get_archives print and replace it with my own custom loop. Not knowing PHP very well, that option is sounding a bit daunting.

Viewing 1 replies (of 1 total)
  • The topic ‘Force line break in Recent Posts sidebar titles?’ is closed to new replies.