Category Archives: WordPress

Creating WordPress child themes and preventing automatic linebreaks in pre-tags

I wanted to prevent automatic linebreaks in pre-tags in the “Twenty Fourteen” theme. I followed WordPress’ description on how to create child themes.

  1. In the /usr/local/www/wordpress/wp-content/themes directory, I created the twentyfourteen_local directory.
  2. In this directory I created the style.css file.
  3. The file was given the contents shown below.
  4. In the Dashboard, I clicked on
    1. Appearance.
    2. Themes.
    3. The Activate button for the Twenty Fourteen Local theme.
  5. That’s it.
  6. In my case I performed one additional step, committing the new file to the SCM system I use for my configuration files.

Continue reading Creating WordPress child themes and preventing automatic linebreaks in pre-tags