Creating a child theme

    Posted by on Aug 28, 2015 in Quick Tutorials, Themes, WordPress | Comments Off on Creating a child theme

    If you want to make significant changes to your theme, creating a WordPress child theme is key to managing a WordPress site without maintenance headaches. Why a child theme?  It creates a safe update resistant place to keep your changes.  It is true: Many current WordPress themes, including one of our favourites – Divi, have some means of adding custom css. There are WordPress plugins for adding custom css to your site that could be used for adding theme css. But what about changes to the theme structure, like adding/changing copyright notices and messages in the footer? You can’t do those properly with a css change, you need to change the theme files.  If you edit the theme files directly, you will loose the edits when the theme updates.  A child theme solves that problem. It’s really easy to make a child theme, it’s only 2 files in a folder. You need a folder named for your theme, lowercase, words connected by hyphens by convention. Lets use “my-theme” as the folder name for the example, but it can be anything you want. In that folder you need to create 2 files: A file called “style.css”. A file called “functions.php” style.css should contain the following header, at the start of the file: Only the Theme Name and the Template are required. The template is the FOLDER name of the parent theme and is case sensitive, in this case it’s set to Divi. Edit or delete the lines in the header as required. CSS /* Theme Name: My Theme Theme URI: http://the-URL-to-your-theme-source.address --This is mostly for developers. Description: Description of your theme Version: 0.0.1 Author: Your name Author URI: http://your-web.address --Again this is mostly for developers Author email: your@email.address Copyright: Your name or company that holds the copyright to this theme --Also, mostly for developers Template: Divi */ /* Add your custom CSS here */ /* ************************ */ 1234567891011121314 /*Theme Name: My ThemeTheme URI: http://the-URL-to-your-theme-source.address  --This is mostly for developers.Description:    Description of your themeVersion: 0.0.1Author:         Your nameAuthor URI:     http://your-web.address  --Again this is mostly for developersAuthor email:   your@email.addressCopyright: Your name or company that holds the copyright to this theme --Also, mostly for developersTemplate:       Divi*/ /* Add your custom CSS here *//* ************************ */ functions.php should contain the following, at the start of the file: The add action and the function load the parent style.css.  If you don’t want the parent style.css, just delete that code. PHP <?php /* See style.css header for theme details */ add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } /* add your custom theme functions here */ /* ************************************ */ 12345678910 <?php/* See style.css header for theme details */ add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );} /* add your custom theme functions here *//* ************************************ */ That is all you really need to get started, but you can find a lot more detail in the WordPress Codex at: https://codex.wordpress.org/Child_Themes For your convenience you can grab the above child theme template all set up to go, you just need to edit the header details.  You can upload a theme .zip file to your site themes, by going to the Themes item in the appearance menu selecting “Add New” and then “Upload...

    read more

    WordPress 4.3 released

    Posted by on Aug 20, 2015 in Releases, WordPress | Comments Off on WordPress 4.3 released

    WordPress Version 4.3, named after jazz musician Billie Holiday, has just been released.   The main focus of this release was making it even easier to format your content and customize your site. Some things they added/changed for 4.3 include: Improving the way that passwords are chosen and changed. Site Icons (favicons) that work out of the box, are theme independent, and do not require theme support. Multisite improvements Comments are now turned off on pages and custom post types by default. The singular.php theme template has been added to the Template Hierarchy. Changes to Customizer Panels and Sections PHP4 style constructors are deprecated See the full release notes for a complete list of...

    read more

    LumosTech Course Launch

    Posted by on Jan 9, 2015 in Lumos Tech News, WordPress | Comments Off on LumosTech Course Launch

    We are planning to open with new courses this spring! March 24, 2015 is Introduction to WordPress for Content Creators.  Following that will be Customizing WordPress Themes, and a 2-day, Build Your Own Website Workshop. Join our mailing list to get updated on future course dates. All courses will be offered with special introductory...

    read more

    WordPress 4.1 released

    Posted by on Dec 19, 2014 in Releases, WordPress | Comments Off on WordPress 4.1 released

    Version 4.1 of WordPress, named “Dinah” in honor of jazz singer Dinah Washington has been released. “New features in WordPress 4.1 help you focus on your writing, and the new default theme lets you show it off in style.” Some of the great new features in 4.1 include: New default theme, Twenty Fifteen: a blog-focused theme designed for clarity Improved Distraction-free writing mode Choose a different language from the General Settings Plugin recommendations Log out of everywhere Inline image editing Easy Vine video embedding Complex queries Customizer API <title> tags in themes Developer Reference See the full release notes for a complete list of...

    read more

    WordCamp Toronto 2014 Recap and Presentation Slides

    Posted by on Nov 18, 2014 in Lumos Tech News | Comments Off on WordCamp Toronto 2014 Recap and Presentation Slides

    We had a great time at WordCamp Toronto last week. Over 450 people attended the 2-day event, at Humber College’s Lakeshore campus. Rick presented Multisite for Multilingual in the Beginner Developers track. Jasmine presented Typography in Web Design in the Designer track. While a veteran WordCamp Toronto attendee, it was Jasmine’s first time presenting at the conference. We were humbled to have our rooms filled to the rafters. So much interest in WP! Thanks to everyone who attended our presentations, and a special thanks to the organizers, who put on a great event. Rick and Jasmine really enjoyed attending WordCamp Toronto, and look forward to speaking again next year. Our presentation slides are also now available on Slideshare: Multisite for multilingual from R-Cubed Design Forge   Typography in Web Design (WordCamp Toronto 2014) from Jasmine Vesque...

    read more

    LumosTech at WordCamp Toronto 2014

    Posted by on Nov 10, 2014 in Lumos Tech News | Comments Off on LumosTech at WordCamp Toronto 2014

    We are looking forward to attending WordCamp Toronto this week. Both Rick and Jasmine will be speaking at the sold out two day conference all about WordPress. Rick will be presenting, Multisite for Multilingual. This talk is about creating a multilingual WordPress site using WordPress multisite. The talk will cover: the basics of setting up multisite, some plugins to make it easier to create a multilingual site, pros & cons of using multisite for multilingual sites, and some tips and tricks to help with your sites. Rick’s presentation is on Saturday November 15th at 3:30pm in the Beginner Developer track. Jasmine will be presenting, Typography in Web Design. This presentation covers typography basics and best practices, examples of typography in web design, trends, personalities of type, an introduction to Google Fonts and different ways to enable fonts on your WordPress website. Jasmine’s presentation is on Saturday November 15th at 4:30pm in the Designer Track. What is WordCamp Toronto? WordCamp Toronto 2014 (#WCTO), in its 7th year, is an annual, volunteer-run conference that’s all about WordPress, the world’s most popular content management system...

    read more

    WordPress 4.0 released

    Posted by on Sep 5, 2014 in Releases, WordPress | Comments Off on WordPress 4.0 released

    Version 4.0 of WordPress, named “Benny” in honor of jazz clarinetist and bandleader Benny Goodman, is now available. Some of the great new features in 4.0 include: New Media Library grid view Improved writing experience Refreshed plugin install and search experience Embedding is now a visual experience See the full release notes for a complete list of...

    read more

    WordCamp Montreal 2014

    Posted by on Aug 7, 2014 in WordCamp, WordPress | Comments Off on WordCamp Montreal 2014

    WordCamp Montreal 2014 is in 1 week, $40 for 39 informative sessions on WordPress topics ranging from basics like choosing plugins, to developer topics like Advanced Customizer Usage, and the WordPress database schema.  Plus so much more, including lunch and cool swag!  If you are going to be in Monteal on the 16th and 17th, drop by and learn more about WordPress. Rick will be presenting Backing up your WordPress website – it’s not optional a talk that will look at the many options and plugins for backing up your WordPress site including backing up to Amazon...

    read more

    LumosTech at WordCamp Ottawa 2014

    Posted by on Apr 27, 2014 in WordCamp, WordPress | Comments Off on LumosTech at WordCamp Ottawa 2014

    Jasmine and Rick of LumosTech are presenting Introduction to WordPress for WordCamp Ottawa.  It’s a 3 hr crash course on WordPress to get WordCampers new to WordPress up to speed on the terms and concepts of WordPress. $5, Thur May 1,...

    read more

    WordCamp Ottawa 2014 – A great training opportunity

    Posted by on Apr 25, 2014 in WordCamp, WordPress | Comments Off on WordCamp Ottawa 2014 – A great training opportunity

    Don’t miss the best WordPress training opportunity of the year. If you haven’t signed up yet, WordCamp Ottawa 2014 is in 1 week, $30 for 40 informative sessions on WordPress topics ranging from basics like choosing themes and plugins, to developer topics like how to write your own theme, and the WordPress database schema.  Plus so much more, including lunch on Saturday!  Anyone who uses WordPress should not miss this event. Introduction to WordPress 3hr crash course, $5, Thur May 1, 7pm, presented by Rick & Jasmine of...

    read more