WordPress HTML, CSS
& Child Themes
with Michelle Ames
MarketedByMichelle.com
Deb: deb.mbymhost.com
Login: deb
Password: flagday2015
Mary Ann: maryann.mbymhost.com
Login: maryann
Password: flagday2015
Walter: walter.mbymhost.com
Login: walter
Password: flagday2015
Steve: steve.mbymhost.com
Login: steve
Password: flagday2015
Your Sandboxes
WordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child Themes
Tip/Hack
Changing your theme won’t delete your content (media,
posts, and pages) but most likely WILL delete any
customization – so if you revert back to an older theme you
will have to re-enter customizations.
Tip/Hack
Don’t want any media to link to the file?
Put this in your functions.php file.
update_option('image_default_link_type','none');
Tip/Hack
Using the “Visual” vs. “Text” views will allow you to access
and edit different aspects of the page.
Tip/Hack
You can “layer” your spam filters for added effect. I often
install Antispam Bee and Bad Behavior on blogging sites to
control spam.
Tip/Hack
A favicon is the cherry on your website sundae! It’s good for
branding, too!
Basic Installation
 WordPress automatically installs several things:
 Themes: twenty twelve, twenty thirteen, twenty fourteen,
twenty fifteen
 Plugins: Akismet, Hello Dolly
Tip/Hack
NOTE: delete plugins and themes not in use. They can be a
security risk, and they take up server space.
MarketedByMichelle.com
Basic Installation
 Where to get started
 Choose your plugins and upload them.
 Some of my “must haves” include:
 Security (BruteProtect, WordFence)
 Spam Control (Disable Comments)
 Widget Solutions (Jetpack)
 Backup (Backup Buddy, WPClone)
 Forms (Gravity Forms, Jotform)
 Calendar (Timely)
 SEO (Yoast)
 Post Expirator
 Shopping Cart
(woo commerce, Ecwid, shopify)
Tip/Hack
Logged into your wordpress.org account? Favorite the
plugins you use frequently for easy uploading from the
repository.
MarketedByMichelle.com
Appearance
 Themes
 Delete anything you are not using or will not use.
 Customize will have different options based on the theme.
 Background may or may not display as you intend – based
on the theme.
Tip/Hack
Never edit theme files directly! Use a child theme or CSS
editor (like the one included with Jetpack) to make CSS
edits.
MarketedByMichelle.com
Appearance
 Widgets
 Widgets area also varies based on themes, but most have
similar functions. Variations may include WHERE widgets can
be placed (i.e. footer, sidebar, header, etc.)
 Standard widgets include text boxes, meta functions,
calendar of posts, categories, menus, etc.
 Plugins can often provide additional widget options like
Facebook “like” boxes, Twitter feeds, and even industry-
specific options like real estate MLS lookups.
Tip/Hack
The Text Widget allows you to use basic HTML language to
add content, links, graphics, etc. This can really come in
handy!
MarketedByMichelle.com
Appearance
 Menus
 Menus are much more versatile than you may think!
 Establish link hierarchy through dropdowns
 Add links to outside pages in your menu
 Customize labels – change the menu name without changing
the target page or link name
 Add blog categories as their own menu items
Tip/Hack
Want a menu link to open in a new tab? Click the “Screen
Options” tab at the top of the menu dashboard and check
“link target.” Now when you edit a menu item you can
check “open in new window/tab.”
MarketedByMichelle.com
Plugins
 Installed Plugins
 See all the plugins you have installed.
 See which need updating.
 Activate/deactivate/update/delete
Tip/Hack
When looking for plugins, check to see when last updated,
and look at the ratings before you download/upload your
plugin.
MarketedByMichelle.com
Settings
 What to Change
 General Settings
 Site Title
 Tagline
 Timezone
 Date Format
 Week Starts On
Tip/Hack
Be careful not to change your WP or Site addresses unless
you are confident of what you are doing. You can make your
site “disappear.” You have to know how to navigate the
Cpanel well to fix it.
MarketedByMichelle.com
Settings
 What to Change
 Permalinks
 Permalinks will default to unfriendly URL page names (like
/?p=123)
 Instead click the “Post Name” setting to have your page names
appear in the URL bar. (like www.sitename.com/pagename)
Tip/Hack
Using Post Names as the URL page name also assists with
SEO!
MarketedByMichelle.com
HTML
 Where to use HTML
 Text Editor on pages and posts
 Text widgets
MarketedByMichelle.com
HTML
 Most Common Tags
 Header Tags
 <H1>…</h1>
 Text Appearance
 Bold <B>…</b>
 Underline <U>…</u>
 Italic <I>…</i>
 Alignment Tags
 <P Align=“Left”>…</p> (or Center or Right)
MarketedByMichelle.com
HTML
 Most Common Tags
 Lists
 Numbered Lists
 <OL>
<LI>First row
<LI>Second row
</OL>
 Bulleted Lists
 <UL>
<LI>First row
<LI>Second row
</UL>
MarketedByMichelle.com
HTML
 Most Common Tags
 Horizontal Lines
 <HR> (full-width line)
 <HR SIZE=6 WIDTH=50%> (half-width line)
 Break Tags
 <Br> Forced line break
 <P> Paragraph Break
MarketedByMichelle.com
HTML
 Most Common Tags
 Display an Image
 <img src="http://kellybradley.mbymhost.com/wp-
content/uploads/2015/06/yellow-flowers.jpg" width="300px">
 Link Tag to another URL
 <A HREF=“URL”>Text/description</a>
 Link Tag to another URL through a graphic
 <a
href="https://www.facebook.com/kellybradleyDC?fref=ts"><im
g src="http://kellybradley.mbymhost.com/wp-
content/uploads/2015/05/connect_to_facebook.png"
width="200px"></a>
MarketedByMichelle.com
HTML
 Most Common Tags
 Anchor Tags/Jump Tags
(Ex: http://zarpfarms.com/baked-goods/)
 <a href="#anchor">Link Text</a>
 <a id="anchor"></a>
MarketedByMichelle.com
Editing CSS
 Four ways to edit CSS:
 Settings/editor NO! Don’t do this!
 Theme includes an editor
 Edit CSS via plugin (Jetpack automatically provides this)
 Create a child theme
Tip/Hack
Download the “Firebug” add-on to Firefox to view and
“isolate” code. You can then experiment with settings
without changing your page. You can also use “Inspect
Element” in Chrome.
MarketedByMichelle.com
Editing CSS
 Using Firebug in Firefox:
 Click the Firebug icon
 Click the Inspect Element button
Tip/Hack
The window that opens at the bottom of the browser will
display div and php functions in the left window, and CSS
elements in the right.
MarketedByMichelle.com
Editing CSS
 Using Firebug in Firefox:
 Click any element
on the web page to
inspect the code
behind it.
 “Play” with the settings
to see how you might
want to edit them.
 Copy/paste the edits
into your CSS editor
or Child Theme.
MarketedByMichelle.com
Editing in a CSS Editor (Like JetPack)
 On the dashboard, click “Appearance” then “Edit CSS.”
 Enter the new CSS in the editor, then click “save stylesheet”
 Go to the site and refresh the page to see the changes.
 Don’t like JetPack? There are other plugins that will give you
the same functionality.
 https://wordpress.org/plugins/simple-custom-css/
 https://wordpress.org/plugins/wp-live-css-editor/
 http://www.csshero.org/
MarketedByMichelle.com
WordPress HTML, CSS & Child Themes
Creating a Child Theme
 Child Themes allow you to make changes to your theme
without “breaking” your theme.
 Child themes are independent of your theme – so if you do
a theme update, you will not lose your edits.
 Child themes only need to add code that differs from the
theme.
 The only file needed for a child theme is style.css, but
you can also add .php files to your child theme.
Tip/Hack
Visit http://codex.wordpress.org/Child_Themes to learn
even more about how to build a child theme and how they
function.
MarketedByMichelle.com
Creating a Child Theme
 Place your style.css file in a folder named with your
parent theme name-child. (I.e. Chameleon-child)
 Put any .php files you create into that folder.
 Upload via FTP to your WordPress site’s wp-
content/themes file.
 Navigate to your dashboard’s appearance/themes page
and “activate” your child theme.
 Check your site to see if it worked, or if you need to
further edit the child theme’s style.css file.
Tip/Hack
Comments are used to explain your code, and may help you
when you edit the source code at a later date. Comments
are ignored by browsers.
A CSS comment starts with /* and ends with */.
MarketedByMichelle.com
Creating a Child Theme/*
Theme Name: SampleTheme Child
Theme URI: http://www.samplethemes.com/gallery/
Description: SampleTheme Child Theme
Author: YOUR NAME
Author URI: http://YOURSITE.com
Template: SampleTheme
Version: 10.
Tags:
Text Domain: SampleTheme-child
*/
@import url("../SampleTheme/style.css");
/* =Theme customization starts here
-------------------------------------------------------------- */
Tip/Hack
Make sure your capitalization matches, or your child theme
may not look like you expect it to!
Change the
elements to
match your
parent theme.
Put your CSS
code here.
MarketedByMichelle.com
/*
Theme Name: Chameleon Child
Theme URI: http://www.elegantthemes.com/gallery/
Description: Chameleon Child Theme
Author: Michelle Ames
Author URI: http://marketedbymichelle.com
Template: Chameleon
Version: 3.7
Tags:
Text Domain: Chameleon-child
*/
@import url("../Chameleon/style.css");
/* =Theme customization starts here
-------------------------------------------------------------- */
Sample Child Theme – no CSS editing
<br class="clear" />
<div id="footer">
<p>Copyright &copy; <script language="JavaScript" type="text/javascript">
var d=new Date();
yr=d.getFullYear();
if (yr!=2000)
document.write(" "+yr);
</script> McIver Acupuncture ||
<?php esc_html_e('Site Design by ','Marketed by Michelle'); ?> <a
href="http://www.marketedbymichelle.com" title="Marketed by Michelle"
target="_blank">Marketed by Michelle</a>
</div>
<?php wp_footer(); ?>
<?php get_template_part('includes/scripts'); ?>
</body>
</html>
New footer.php
Additional Info that Didn’t Fit Anywhere
Else
 Favorite Sites
 http://builtwith.com/
 http://www.getip.com/
 http://whatwpthemeisthat.com/
 http://codex.wordpress.org/
 http://www.w3schools.com/
 http://theoatmeal.com/static/design_hell.html
 Use the forums: themes, plugins, WordPress – there’s a wealth
of knowledge from those
who have “been there, done
that!”
Tip/Hack
Use the Facebook Group forum for help on all kinds of WP
questions and “problems.”
MarketedByMichelle.com
Contact Me
I’m a “pay it forward” WordPresser who has been helped
along by others. If I can help you, I will!
Michelle Ames
Marketing Diva at Marketed by Michelle, LLC
585-749-5059
michelle@marketedbymichelle.com
Thank You!
I hope today was helpful and useful to you!
Let me know what other classes you might like to see this
year, and I will try to make them happen!
MarketedByMichelle.com

More Related Content

PDF
WordPress Basics
PDF
Child Themes (WordCamp Dublin 2017) with notes
DOCX
Using class suffixes
PPT
Internet Librarian Slides
PPTX
Customizing Your WordPress Theme Using Firebug and Basic CSS
PPTX
APEX navigation concepts
PPTX
Unit a adobe dreamweaver cs6
PDF
Introduction to-concrete-5
WordPress Basics
Child Themes (WordCamp Dublin 2017) with notes
Using class suffixes
Internet Librarian Slides
Customizing Your WordPress Theme Using Firebug and Basic CSS
APEX navigation concepts
Unit a adobe dreamweaver cs6
Introduction to-concrete-5

What's hot (20)

PDF
Introduction to-concrete-5
PPTX
Unit f adobe dreamweaver cs6
PPT
Chapter 6 - Web Design
PPTX
Unit h adobe dreamweaver cs6
PPT
Adding Vanilla to WordPress
PPTX
Overview of Using Wordpress for Web Site Design
PPTX
Unit g adobe dreamweaver cs6
PPT
TID Chapter 8 Web Page Development
PPT
Chapter 5 - Web Design
PDF
WebSG - HTML Email Newsletters
PDF
From a Fireworks Comp to a Genesis Child Theme, Step by Step
PDF
Joomla Quick Start 1
PPT
Chapter 7 - Web Design
PPTX
Using WordPress Blogging Features to Build a Website
PPTX
Essential html tweaks for accessible themes
PDF
Using Wordpress with Reclaim Hosting
PPTX
Start a BLog: Module 3
PPTX
Unit d adobe dreamweaver cs6
PDF
GoDaddy Guide to cPanel and WordPress
Introduction to-concrete-5
Unit f adobe dreamweaver cs6
Chapter 6 - Web Design
Unit h adobe dreamweaver cs6
Adding Vanilla to WordPress
Overview of Using Wordpress for Web Site Design
Unit g adobe dreamweaver cs6
TID Chapter 8 Web Page Development
Chapter 5 - Web Design
WebSG - HTML Email Newsletters
From a Fireworks Comp to a Genesis Child Theme, Step by Step
Joomla Quick Start 1
Chapter 7 - Web Design
Using WordPress Blogging Features to Build a Website
Essential html tweaks for accessible themes
Using Wordpress with Reclaim Hosting
Start a BLog: Module 3
Unit d adobe dreamweaver cs6
GoDaddy Guide to cPanel and WordPress
Ad

Similar to WordPress HTML, CSS & Child Themes (20)

PPTX
WordPress for Beginners
PDF
WordPress for Blogging: Benefits of Self-Hosting
PPTX
Customizing WordPress Themes
PDF
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
PDF
Newbies guide to customizing word press themes 25
PDF
Wordpress Setup Guide
PPT
Day One - Customise Your Blog
PPTX
WordPress 101
PDF
Modifying your themes design - Learning CSS - Atlanta WordPress users group
PPTX
NamesCon 2015 Wordpress Beginner Session
PPTX
Basic word press development
PPTX
How WordPress Themes Work
PDF
Crash Course in Theme Surgery
PDF
Wordpress Guide
PPTX
WordCamp RI 2015 - Beginner WordPress Workshop
PDF
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides
PDF
Build the Perfect WordPress Website
PDF
Dissecting WordPress Themes and Page Templates, WordPress Columbus Meetup
PDF
Complete word press tutorial
PPT
W pthemes
WordPress for Beginners
WordPress for Blogging: Benefits of Self-Hosting
Customizing WordPress Themes
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Newbies guide to customizing word press themes 25
Wordpress Setup Guide
Day One - Customise Your Blog
WordPress 101
Modifying your themes design - Learning CSS - Atlanta WordPress users group
NamesCon 2015 Wordpress Beginner Session
Basic word press development
How WordPress Themes Work
Crash Course in Theme Surgery
Wordpress Guide
WordCamp RI 2015 - Beginner WordPress Workshop
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides
Build the Perfect WordPress Website
Dissecting WordPress Themes and Page Templates, WordPress Columbus Meetup
Complete word press tutorial
W pthemes
Ad

More from Michelle Ames (20)

PDF
So You Want to Launch a Podcast.pdf
PDF
Networking, Relationship Building, and Community
PDF
Intro to CSS
PDF
Accessibility is More Than Disability Accommodation
PDF
How Pagebuilders are Great for Online Fundraising
PDF
Managing Your Personal Brand on Twitter
PDF
How to Focus on Customer Success to Grow Your Agency
PPTX
Cups, Community, and CoffeeTalk
PPTX
Blogging and Blog Coaching
PPTX
404 Experience
PPTX
The Care and Feeding of the WordPress Community: Me, You, and Us
PPTX
Customize Your 404 Page
PPTX
How to help your Non-Profit (or Non-Profit clients) connect better with donors
PPTX
The Care and Feeding of the WordPress Community
PPTX
How to Empower Clients to Use their Websites – and Client-proof them at the S...
PDF
Use Your WordPress Powers for Good
PPTX
Hidden Features of WordPress
PPTX
Little Things Make a Big Differece
PPTX
Little Things Make a Big Difference
PPTX
The Little Things Make a Difference
So You Want to Launch a Podcast.pdf
Networking, Relationship Building, and Community
Intro to CSS
Accessibility is More Than Disability Accommodation
How Pagebuilders are Great for Online Fundraising
Managing Your Personal Brand on Twitter
How to Focus on Customer Success to Grow Your Agency
Cups, Community, and CoffeeTalk
Blogging and Blog Coaching
404 Experience
The Care and Feeding of the WordPress Community: Me, You, and Us
Customize Your 404 Page
How to help your Non-Profit (or Non-Profit clients) connect better with donors
The Care and Feeding of the WordPress Community
How to Empower Clients to Use their Websites – and Client-proof them at the S...
Use Your WordPress Powers for Good
Hidden Features of WordPress
Little Things Make a Big Differece
Little Things Make a Big Difference
The Little Things Make a Difference

Recently uploaded (20)

PPTX
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
PPTX
Chapter 1_Overview hhhhhhhhhhhhhhhhhhhhhhhhhh
PPTX
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
PDF
B450721.pdf American Journal of Multidisciplinary Research and Review
PPTX
Introduction to networking local area networking
PPTX
National-Historical-Commission-of-the-PhilippinesNHCP.pptx
PPTX
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
PPTX
PORTFOLIO SAMPLE…….………………………………. …pptx
PPTX
REE IN CARBONATITE EEPOSIT AND INCLUDE CASE STUDY ON AMBADUNGAR
PPTX
Dating App Development Cost: Factors, Features & Estimates
PDF
Toolkit of the MultiCloud DevOps Professional.pdf
DOCX
Audio to Video AI Technology Revolutiona
PPTX
Digital Project Mastery using Autodesk Docs Workshops
PPTX
using the citation of Research to create a research
PPTX
Introduction: Living in the IT ERA.pptx
PDF
JuanConnect E-Wallet Guide for new users.pdf
PPTX
c_languagew_structure_and_functions.pptx
DOCX
MLS 113 Medical Parasitology (LECTURE).docx
PPTX
日本横滨国立大学毕业证书文凭定制YNU成绩单硕士文凭学历认证
PPT
chapter 5: system unit computing essentials
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
Chapter 1_Overview hhhhhhhhhhhhhhhhhhhhhhhhhh
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
B450721.pdf American Journal of Multidisciplinary Research and Review
Introduction to networking local area networking
National-Historical-Commission-of-the-PhilippinesNHCP.pptx
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
PORTFOLIO SAMPLE…….………………………………. …pptx
REE IN CARBONATITE EEPOSIT AND INCLUDE CASE STUDY ON AMBADUNGAR
Dating App Development Cost: Factors, Features & Estimates
Toolkit of the MultiCloud DevOps Professional.pdf
Audio to Video AI Technology Revolutiona
Digital Project Mastery using Autodesk Docs Workshops
using the citation of Research to create a research
Introduction: Living in the IT ERA.pptx
JuanConnect E-Wallet Guide for new users.pdf
c_languagew_structure_and_functions.pptx
MLS 113 Medical Parasitology (LECTURE).docx
日本横滨国立大学毕业证书文凭定制YNU成绩单硕士文凭学历认证
chapter 5: system unit computing essentials

WordPress HTML, CSS & Child Themes

  • 1. WordPress HTML, CSS & Child Themes with Michelle Ames MarketedByMichelle.com
  • 2. Deb: deb.mbymhost.com Login: deb Password: flagday2015 Mary Ann: maryann.mbymhost.com Login: maryann Password: flagday2015 Walter: walter.mbymhost.com Login: walter Password: flagday2015 Steve: steve.mbymhost.com Login: steve Password: flagday2015 Your Sandboxes
  • 10. Tip/Hack Changing your theme won’t delete your content (media, posts, and pages) but most likely WILL delete any customization – so if you revert back to an older theme you will have to re-enter customizations. Tip/Hack Don’t want any media to link to the file? Put this in your functions.php file. update_option('image_default_link_type','none'); Tip/Hack Using the “Visual” vs. “Text” views will allow you to access and edit different aspects of the page.
  • 11. Tip/Hack You can “layer” your spam filters for added effect. I often install Antispam Bee and Bad Behavior on blogging sites to control spam. Tip/Hack A favicon is the cherry on your website sundae! It’s good for branding, too!
  • 12. Basic Installation  WordPress automatically installs several things:  Themes: twenty twelve, twenty thirteen, twenty fourteen, twenty fifteen  Plugins: Akismet, Hello Dolly Tip/Hack NOTE: delete plugins and themes not in use. They can be a security risk, and they take up server space. MarketedByMichelle.com
  • 13. Basic Installation  Where to get started  Choose your plugins and upload them.  Some of my “must haves” include:  Security (BruteProtect, WordFence)  Spam Control (Disable Comments)  Widget Solutions (Jetpack)  Backup (Backup Buddy, WPClone)  Forms (Gravity Forms, Jotform)  Calendar (Timely)  SEO (Yoast)  Post Expirator  Shopping Cart (woo commerce, Ecwid, shopify) Tip/Hack Logged into your wordpress.org account? Favorite the plugins you use frequently for easy uploading from the repository. MarketedByMichelle.com
  • 14. Appearance  Themes  Delete anything you are not using or will not use.  Customize will have different options based on the theme.  Background may or may not display as you intend – based on the theme. Tip/Hack Never edit theme files directly! Use a child theme or CSS editor (like the one included with Jetpack) to make CSS edits. MarketedByMichelle.com
  • 15. Appearance  Widgets  Widgets area also varies based on themes, but most have similar functions. Variations may include WHERE widgets can be placed (i.e. footer, sidebar, header, etc.)  Standard widgets include text boxes, meta functions, calendar of posts, categories, menus, etc.  Plugins can often provide additional widget options like Facebook “like” boxes, Twitter feeds, and even industry- specific options like real estate MLS lookups. Tip/Hack The Text Widget allows you to use basic HTML language to add content, links, graphics, etc. This can really come in handy! MarketedByMichelle.com
  • 16. Appearance  Menus  Menus are much more versatile than you may think!  Establish link hierarchy through dropdowns  Add links to outside pages in your menu  Customize labels – change the menu name without changing the target page or link name  Add blog categories as their own menu items Tip/Hack Want a menu link to open in a new tab? Click the “Screen Options” tab at the top of the menu dashboard and check “link target.” Now when you edit a menu item you can check “open in new window/tab.” MarketedByMichelle.com
  • 17. Plugins  Installed Plugins  See all the plugins you have installed.  See which need updating.  Activate/deactivate/update/delete Tip/Hack When looking for plugins, check to see when last updated, and look at the ratings before you download/upload your plugin. MarketedByMichelle.com
  • 18. Settings  What to Change  General Settings  Site Title  Tagline  Timezone  Date Format  Week Starts On Tip/Hack Be careful not to change your WP or Site addresses unless you are confident of what you are doing. You can make your site “disappear.” You have to know how to navigate the Cpanel well to fix it. MarketedByMichelle.com
  • 19. Settings  What to Change  Permalinks  Permalinks will default to unfriendly URL page names (like /?p=123)  Instead click the “Post Name” setting to have your page names appear in the URL bar. (like www.sitename.com/pagename) Tip/Hack Using Post Names as the URL page name also assists with SEO! MarketedByMichelle.com
  • 20. HTML  Where to use HTML  Text Editor on pages and posts  Text widgets MarketedByMichelle.com
  • 21. HTML  Most Common Tags  Header Tags  <H1>…</h1>  Text Appearance  Bold <B>…</b>  Underline <U>…</u>  Italic <I>…</i>  Alignment Tags  <P Align=“Left”>…</p> (or Center or Right) MarketedByMichelle.com
  • 22. HTML  Most Common Tags  Lists  Numbered Lists  <OL> <LI>First row <LI>Second row </OL>  Bulleted Lists  <UL> <LI>First row <LI>Second row </UL> MarketedByMichelle.com
  • 23. HTML  Most Common Tags  Horizontal Lines  <HR> (full-width line)  <HR SIZE=6 WIDTH=50%> (half-width line)  Break Tags  <Br> Forced line break  <P> Paragraph Break MarketedByMichelle.com
  • 24. HTML  Most Common Tags  Display an Image  <img src="http://kellybradley.mbymhost.com/wp- content/uploads/2015/06/yellow-flowers.jpg" width="300px">  Link Tag to another URL  <A HREF=“URL”>Text/description</a>  Link Tag to another URL through a graphic  <a href="https://www.facebook.com/kellybradleyDC?fref=ts"><im g src="http://kellybradley.mbymhost.com/wp- content/uploads/2015/05/connect_to_facebook.png" width="200px"></a> MarketedByMichelle.com
  • 25. HTML  Most Common Tags  Anchor Tags/Jump Tags (Ex: http://zarpfarms.com/baked-goods/)  <a href="#anchor">Link Text</a>  <a id="anchor"></a> MarketedByMichelle.com
  • 26. Editing CSS  Four ways to edit CSS:  Settings/editor NO! Don’t do this!  Theme includes an editor  Edit CSS via plugin (Jetpack automatically provides this)  Create a child theme Tip/Hack Download the “Firebug” add-on to Firefox to view and “isolate” code. You can then experiment with settings without changing your page. You can also use “Inspect Element” in Chrome. MarketedByMichelle.com
  • 27. Editing CSS  Using Firebug in Firefox:  Click the Firebug icon  Click the Inspect Element button Tip/Hack The window that opens at the bottom of the browser will display div and php functions in the left window, and CSS elements in the right. MarketedByMichelle.com
  • 28. Editing CSS  Using Firebug in Firefox:  Click any element on the web page to inspect the code behind it.  “Play” with the settings to see how you might want to edit them.  Copy/paste the edits into your CSS editor or Child Theme. MarketedByMichelle.com
  • 29. Editing in a CSS Editor (Like JetPack)  On the dashboard, click “Appearance” then “Edit CSS.”  Enter the new CSS in the editor, then click “save stylesheet”  Go to the site and refresh the page to see the changes.  Don’t like JetPack? There are other plugins that will give you the same functionality.  https://wordpress.org/plugins/simple-custom-css/  https://wordpress.org/plugins/wp-live-css-editor/  http://www.csshero.org/ MarketedByMichelle.com
  • 31. Creating a Child Theme  Child Themes allow you to make changes to your theme without “breaking” your theme.  Child themes are independent of your theme – so if you do a theme update, you will not lose your edits.  Child themes only need to add code that differs from the theme.  The only file needed for a child theme is style.css, but you can also add .php files to your child theme. Tip/Hack Visit http://codex.wordpress.org/Child_Themes to learn even more about how to build a child theme and how they function. MarketedByMichelle.com
  • 32. Creating a Child Theme  Place your style.css file in a folder named with your parent theme name-child. (I.e. Chameleon-child)  Put any .php files you create into that folder.  Upload via FTP to your WordPress site’s wp- content/themes file.  Navigate to your dashboard’s appearance/themes page and “activate” your child theme.  Check your site to see if it worked, or if you need to further edit the child theme’s style.css file. Tip/Hack Comments are used to explain your code, and may help you when you edit the source code at a later date. Comments are ignored by browsers. A CSS comment starts with /* and ends with */. MarketedByMichelle.com
  • 33. Creating a Child Theme/* Theme Name: SampleTheme Child Theme URI: http://www.samplethemes.com/gallery/ Description: SampleTheme Child Theme Author: YOUR NAME Author URI: http://YOURSITE.com Template: SampleTheme Version: 10. Tags: Text Domain: SampleTheme-child */ @import url("../SampleTheme/style.css"); /* =Theme customization starts here -------------------------------------------------------------- */ Tip/Hack Make sure your capitalization matches, or your child theme may not look like you expect it to! Change the elements to match your parent theme. Put your CSS code here. MarketedByMichelle.com
  • 34. /* Theme Name: Chameleon Child Theme URI: http://www.elegantthemes.com/gallery/ Description: Chameleon Child Theme Author: Michelle Ames Author URI: http://marketedbymichelle.com Template: Chameleon Version: 3.7 Tags: Text Domain: Chameleon-child */ @import url("../Chameleon/style.css"); /* =Theme customization starts here -------------------------------------------------------------- */ Sample Child Theme – no CSS editing
  • 35. <br class="clear" /> <div id="footer"> <p>Copyright &copy; <script language="JavaScript" type="text/javascript"> var d=new Date(); yr=d.getFullYear(); if (yr!=2000) document.write(" "+yr); </script> McIver Acupuncture || <?php esc_html_e('Site Design by ','Marketed by Michelle'); ?> <a href="http://www.marketedbymichelle.com" title="Marketed by Michelle" target="_blank">Marketed by Michelle</a> </div> <?php wp_footer(); ?> <?php get_template_part('includes/scripts'); ?> </body> </html> New footer.php
  • 36. Additional Info that Didn’t Fit Anywhere Else  Favorite Sites  http://builtwith.com/  http://www.getip.com/  http://whatwpthemeisthat.com/  http://codex.wordpress.org/  http://www.w3schools.com/  http://theoatmeal.com/static/design_hell.html  Use the forums: themes, plugins, WordPress – there’s a wealth of knowledge from those who have “been there, done that!” Tip/Hack Use the Facebook Group forum for help on all kinds of WP questions and “problems.” MarketedByMichelle.com
  • 37. Contact Me I’m a “pay it forward” WordPresser who has been helped along by others. If I can help you, I will! Michelle Ames Marketing Diva at Marketed by Michelle, LLC 585-749-5059 [email protected] Thank You! I hope today was helpful and useful to you! Let me know what other classes you might like to see this year, and I will try to make them happen! MarketedByMichelle.com