• Resolved commuto

    (@commuto)


    Basically I’m trying to have one word on my tagline appear in italic. I noticed the field is intented to be plain text (?), however I’m still trying to change it manually, even editing the field directly in MySQL (..not the right method?).
    Until know that didn’t work, any knowledge for a workaround

Viewing 5 replies - 1 through 5 (of 5 total)
  • I had a similar problem with titles, and used <span> </span> right in the post title editor. Try that in the tagline editor.

    Thread Starter commuto

    (@commuto)

    errr… not sure to understand. I don’t know about this <span> </span> tag :-/ ; more info. Can you explicit a bit more about the method?

    Simplest to hack this from within your template. Where you are displaying your tagline:

    <?php bloginfo('description'); ?>

    change it to:

    <?php echo str_replace('WORD', '<em>WORD</em>', get_bloginfo('description')); ?>

    Modify WORD to the word you want to italicize/emphasize.

    Thread Starter commuto

    (@commuto)

    Brilliant! That did the trick thanks

    I just used this trick to italicize on word of the tagline on my 2.7 install. Works great.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Formating tagline’ is closed to new replies.