Wordpress tweaks

From Ever changing code
Revision as of 14:00, 21 March 2015 by Pio2pio (talk | contribs) (Pio2pio moved page Wordpress blog title to Wordpress tweaks)
Jump to navigation Jump to search

If you would like to format the way your wordpress blog title is formatted in the header you need to edit header.php file. WordPress is pulling your title from the options menu. You can just insert your title into the header manually and add a span tag around the first word so that you can customize the first and second words differently. You can do it directly from web interface:

  1. Go to menu, Apperance > Editor > click on Header (header.php) then edit
  2. Find <?php bloginfo('name'); ?>
  3. Replace with Cisco<span style="color: #008000;">Linux</span> to receive this result CiscoLinux

Of course you can format up to your imagination but remember you will not be able to edit the blog title from web menu anymore.

Formatting

Force a single line spacing inside preformatted text blocks

 <pre style="line-height:1;">