Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / 2016 / Archives for April 2016

Archives for April 2016

Apr 18, 2016 By Jared Heinrichs Leave a Comment

How to protect your WordPress Website

WordPress-Security

.htaccess tricks

You can use .htacces to prevent people from peering at your files. Edit the .htaccess in your WordPress root.

<Files .htaccess> order allow,deny deny from all </Files>

<Files php.ini>
Order allow,deny
Deny from all
</Files>

<Files wp-config.php>
Order Deny,Allow
Deny from All
</Files>

Prevent people from browsing folders

Almost all folders should have this in it to prevent browsing.

  • Create a blank index.html and put it in the plugins folder.

Remove Certain WordPress Code

Make sure that your footer.php or header.php doesn’t have this line in the theme:

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

Another great post on WordPress Security can be found here:

http://www.wpexplorer.com/htaccess-wordpress-security/

If you know of any other items please let me know using the comments section.

 

Filed Under: Wordpress

Apr 16, 2016 By Jared Heinrichs Leave a Comment

Genesis Plugins you will want on every site (Tutorial)

genesis-featured-image

If you don’t know what Genesis is you might want to check out some of my previous posts to get up to speed:

  • How to install the Genesis Framework
  • What is the Genesis Framework?
  • How to easily install WordPress

There are several plugins you will need on every website. The nice thing about Genesis plugins is that they can be installed directly from the WordPress repositories. If you have ever installed a WordPress plugin then you can install these plugins!

  • Genesis Featured Page Advanced – An advanced version of the Genesis – Featured Page widget. Allows you to add a custom image, custom content, page excerpt, and more.
  • Genesis Responsive Slider – This plugin allows you to create a simple responsive slider that displays the featured image, along with the title and excerpt from each post.
  • Genesis Simple Edits – This plugin lets you edit the three most commonly modified areas in any Genesis theme: the post-info (byline), the post-meta, and the footer area.
  • Genesis Simple Hooks – This plugin creates a new Genesis settings page that allows you to insert code (HTML, Shortcodes, and PHP), and attach it to any of the 50+ action hooks throughout the Genesis Theme Framework, from StudioPress.

 

Filed Under: Wordpress Tagged With: Tutorial

Apr 15, 2016 By Jared Heinrichs Leave a Comment

Tutorial – How to Install the Genesis Framework

This is a tutorial on how to install the WordPress Framework known as Genesis. If you missed my earlier two posts you might want to check them out:

  • What is the Genesis Framework?
  • How to easily install WordPress

Please remember since Genesis is paid for framework you can’t install it until you purchase it from StudioPress. When you buy Genesis Framework you are actually buying “two themes”. You are getting:

  1. Genesis
  2. Genesis-sample

NOTE – If you buy any of their other starter themes you will get that other Child theme as well as “Genesis” & “Genesis-Sample”.

Before Uploading Genesis to your site please remember you will need to upload at least two items. You will need to upload:

  1. Genesis Framework Theme
  2. Genesis Child Theme

You can’t touch the Genesis folder in any way. This un-activated theme folder is required for ALL Genesis child themes. You can have one or more child themes on your server however only one can be active at a time. NEVER try to activate the Base Genesis theme!

There are two main ways of installing Genesis.

  1. Log into your WordPress site and use the theme upload wizard
  2. Manually unzipping and getting the theme files into the “\wp-content\themes” folder.

I will cover both ways.

WordPress Theme Upload Wizard

The first thing you will need to do is to log into your website. Click on Appearance – Themes

genesis-014

Click “Add New”

genesis-015

Click “Upload Theme”.

genesis-016

Click on “Choose File” and select the core genesis Framework file. In my case it is “genesis.2.2.7.zip”. Click open. Notice that “No File is chosen” and the “install now” button is greyed out.

genesis-017

The open screen will close. You can now see that you have chosen a file and the “Install Now” is now clickable. Please click “Install Now”.

genesis-018

You will see that “Genesis” is now installed.

genesis-019

This next step is constantly missed by people new to Genesis. It is important to stress once again:

  1. Do NOT activate the Genesis framework you just installed.
  2. You still need to upload a child theme and activate it.

To install the Genesis child theme you must follow the same steps you just followed BUT this time, you are going to select “genesis-sample”. You will activate this theme!

genesis-020

How to Manually install Genesis and a Genesis theme

NOTE- If you have already uploaded the themes through WordPress you don’t have to do this. This is just an alternative way of installing the framework and child theme.

The second way of installing Genesis is by copying the contents of the zip files and putting them into the “\wp-content\themes” folder. On my local install it can be found at: C:\xampp\htdocs\genesis\wp-content\themes

After you copy the file to the folder it will look like:

genesis-021

Now that you have copied the files go log into WordPress and go to the themes section.

genesis-014

You will have at least 3 themes that you can choose from.

genesis-022

You need to click on the “Activate” button on the “Genesis Sample” theme.

genesis-023

That is all! Next post I will talk about the Genesis plugins that I install on almost EVERY site I work on! Stay tuned!

Filed Under: Wordpress

Apr 15, 2016 By Jared Heinrichs Leave a Comment

Tutorial – WordPress Genesis Framework 101

Introduction to the Genesis Framework

genesis-013

Genesis is a premium paid-for framework. Once you have paid for it you can make child themes that run on top of Genesis.

I am going to assume you have at least 6 month worth of experience with WordPress and know about the basic things like adding themes and plugins. You should have a general idea what the structure of a WordPress site should look like.

If you haven’t done it yet you should probably setup your own local copy of WordPress using my 5-minute install post.

Let’s jump in with a few basic questions before moving on to the nitty-gritty…

PLEASE NOTE: If your site is hosted on WordPress.com (example: mysite.wordpress.com), you can NOT install the Genesis Framework or new themes. This is a restriction on WordPress.comhosted sites

What’s a Framework?

A theme framework is a robust WordPress theme that acts as a platform on which your WordPress website can be created.

The Genesis Framework integrates all of the SEO, security, and performance features needed to help you have the best site possible.

You can build your site on the Genesis Framework using the included Sample child theme (it’s easy, flexible, and powerful enough for that), or you can purchase one of our many beautiful turnkey child theme designs to help you accomplish exactly what you want.

What’s a Child Theme?

A child theme is a layer of code that sits on top of the Genesis Framework and is comprised mainly of the design elements of your site, but can also extend and modify the functionality of the Genesis Framework’s default functions.

The Framework + Child Theme structure of site building is great because it separates the performance issues of your site from the design issues. So, if you use a child theme, you can design all day long without ever touching the critical, underlying code that makes Genesis sites so powerful.

Analogies are sometimes helpful. Think of your website like a car:

  1. WordPress – acts as the engine of your car.
  2. Genesis (the framework) – is the frame and body of the car, and is the basic design, security, and SEO foundation of your website. In handling all the core code, Genesis also helps to “future-proof” your site, so all your customizations won’t disappear when it comes time for your one-click software upgrades.
  3. Child theme – is the pure design element that rests on top of your framework — the cherry red paint job on that car. Or blue. Or black. Pink. Green. You get the idea, whatever works for you …

Theme Files

A Genesis child theme will generally be comprised, in part, of the following elements:

  • Screenshot: An image of the design that the theme will create around your content.
  • Style sheet (style.css) (required): The CSS code that determines the look of the site based on the HTML generated by Genesis and WordPress.
  • Functions file (functions.php) (required): Connects the child theme to the framework. Can also be used to add, remove, and modify elements from the framework defaults.
  • Front Page file (front-page.php) (optional): Generally used to create a widgetized or custom
    home page.
  • Other template files (optional)
  • Images (optional): Used by the Style sheet as a part of the site design

These elements are grouped together in what’s known as a child theme directory (or folder) and can be activated like any other WordPress theme.

Filed Under: Wordpress

Apr 15, 2016 By Jared Heinrichs Leave a Comment

WordPress 5 minute install

This post will go through my 5-minute install of WordPress. This will be the base setup for my Genesis framework HOW TO. There really is only 12 steps.

This will go over how to setup WordPress on your local machine. I am going to assume you have already installed something like XAMPP or MAMPP on your machine. I will also assume you have the latest version of WordPress downloaded.

For my e-XAMPP-le I am going to be using XAMPP 🙂 Ok. Enough cheesy jokes.

I installed XAMPP to: C:\xampp\

The root of my website is: C:\xampp\htdocs

Extract WordPress

Because this will eventually lead into my Genesis HOW To I will extract the contents of the WordPress .zip file. Remember this is the file that I assumed you downloaded before starting this post?

genesis-001

Setup My SQL User / Database

This is easier than you might think. Open XAMPP control panel and click the MySQL Admin.

genesis-002

You will need to click on “Users”

genesis-003a

On the Users page scroll down and click the “Add user” link:

genesis-004

You will need to make a username and password. PhpMyAdmin allows you to generate a really good password. I recommend just hitting the generate password button. Make sure to document this password!!!!

It’s also important to “Create a database with the same name and grant all permissions”!

 

genesis-005

Once everything is setup click “GO”. You should see that you have added a user.

genesis-006

Setup WordPress

Go to this URL in your browser: http://localhost/genesis

Make sure that you select your language and hit continue.

genesis-007

Read and Click “Let’s Go”

genesis-008

Fill out the information. This should be the same info that you got from setting up the User/Database in MySQL. The Table Pre-Fix is “WP_” by default. WordPress recommends that you change it!

genesis-009

Almost Done!

genesis-010

Setup your WordPress user and Password. This will be the first Admin of the site. Most people only have one user.

genesis-011

All done! Click “Login” to start using your site!

genesis-012

In the future, you will need to go to “http://localhost/genesis/wp-admin/” to log in.

Filed Under: Wordpress

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design