Your Theme Can Do That Too!
-
Upload
russell-aaron -
Category
Technology
-
view
710 -
download
0
description
Transcript of Your Theme Can Do That Too!
First & ForemostPLEASE MAKE A BACK UP OF YOUR ENTIRE SITE AND DATABASE
BEFORE YOU TRY TO EDIT OR REMOVE ANYTHING FROM YOUR THEME
- Every WP Developer
YOUR T
HEME CAN D
O THAT
TOO!
RU
SS
EL L A
AR
ON
- @
KR
AS
HK
AR
TM
ED
I A
YOU’RE AN IDIOT AND EVERYONE OWES ME $100
Her Website Her Competitors Website
After many searches, she finds an outdated post!
So she is directed to A 3rd party source And buys a theme.
Installs the theme.
Activates the theme.
Views her home page.
WHICH BRINGS US BACK TO HERE
Older Themes.
NEW THEMES
WHICH BRINGS US BACK TO HERE
Turns out she just wanted the featured image and author information to show on her blog posts.
Your Theme Can Do That Too!Here’s how:
http://wp.tutsplus.com/articles/cheat-sheets/wordpress-cheat-sheat/
GOOGLE SEARCH: WordPress cheat sheet
So let’s say this is the blog post.
The template is going to be
Single.php
We open up single.php and using the cheat sheet, we know we want to use the “Get post thumbnail” code. We want that to be under the title of the blog post. We also want to get the author name. So we find that code, place it under the title and save. Upload the file.
Just Like That, Your Theme Can Do That Too!
PRETTY AWESOME RIGHT!!!!!
Now Let’s Do something Cooler. Let’s add a Google Map To Your Contact Page!
Copy the iframe and drop the code into the template file. Adjust the width to the same width as the container and save. Upload and you have your template.