• I am trying to italicize two of four words in the site title of a Twentyeleven theme. I first tried this in Appearance>Customize:
    The <em>Moving Pixel</em> Company

    This of course doesn’t italicize anything and instead just prints it as is on the page and in the Title bar of the browser. Is it even possible to make only a portion of the site title italics?

    movingpixel.com/wp

Viewing 5 replies - 1 through 5 (of 5 total)
  • Not without some serious coding as part of a child theme. WordPress strips out all tags from the site title by default.

    Esmi is right. WP will pull out the tags. WordPress uses php to pull the site title out of the database.
    Make a child theme and inside of your header.php just write out your title and wrap the text you want with em.

    Thread Starter j.biddy

    (@jbiddy)

    @s3mw I had considered just hard coding it into the header.php page as you suggest but thought I would ask first as that didn’t seem like preferred WP practice on first consideration.

    Thanks for the info, all.

    As long as you use a child theme, you’re OK.

    Thread Starter j.biddy

    (@jbiddy)

    @esmi I am operating a child theme, thanks for the reminder though. Us WP noobs have to be reminded about the child theme, super important!

    Thanks again, everyone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Italics in part of Site Title’ is closed to new replies.