In this short tutorial, you will learn how to install a child theme in Divi. The same procedure is needed if you are going to use other WordPress theme.
Watch this video first:
In the video there are 3 files, 1 is functions.php, 1 style.css, and an image for the theme.
So first, open a Notepad, then copy the code below:
Here’s the code needed for the functions.php
<?php
function my_theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
//add new code here
Save it as functions.php
Then open the notepad again (you can actually use other Text Editors) and copy and modify the code below:
/*
Theme Name: The Disciplers Divi Child
Theme URI: https://thedisciplers.com
Description: Divi Child Theme customised by WordPress Medics
Author: WordPress Medics
Author URI: https://www.wordpressmedics.com
Template: Divi
Version: 1.0.0
*/
/* Theme customization starts here
------------------------------------------------------- */
You can basically customize all the details here since you are now the new author of this new Child Theme.
Save it as style.css.
Put it in the folder together with your premade image for the theme.
Compress the file and make a zip file.
Upload the Parent theme, in this case the Divi theme and activate it.
Once uploaded, upload the zip file that you made and activate it.
NOTE: Your Child theme won’t activate unless the parent theme has been activated first.
Today, I will share to you the 4 best security plugins for WordPress that I have used personally so far. I say best because I personally tried them and have seen them to be the most helpful and had the least problems after years of used.
I have
tried other security plugins. Some are really great like Sucuri, but it’s not
free. So if you are on a tight budget, then this very short list is for you
because they are free and they can do the job.
Akismet – I first used Akismet about 10 years ago. It was created by Matt Mullenweg, the creator of WordPress itself. The plugin first came out in 2005. After more than 10 years, this comment spam filtering plugin became one of the most reliable plugins in what it does.
The main advantage of this plugin is that it was made by the creator of WordPress, and is maintained by Automattic. So, we are pretty sure that this plugin will work well with WordPress.
Akismet is
free for personal blogs. You only pay when your site is a commercial one or for
business.
Jetpack – This plugin had made a huge leap over the years. I have become aware of the existence of this plugin when I was still new in WordPress. I used this in several of my sites, and it has become a giant security plugin since then.
This plugin
contains the necessary security features for free. But if you want to enjoy
some serious security features, then you should get the premium version.
Jetpack protects
your site from brute force attack, spams, and malwares. It also has an auto-backup
features, and performance enhancement features.
Wordfence – Wordfence is the BEST security plugin that I have tried so far. It includes endpoint firewall and malware scanner. The free version is already a big help to your site. It is a light plugin, but heavy in security.
I would say
that this is a MUST to install to your website. The downside of this plugin is
that the premium version is quite expensive. If you have funding and do want to
have a serious security, then this plugin is a good one.
Bulletproof Security – This plugin probably has the most important security features in this list. It has malware scanner, firewall, login security, anti-spam, etc. And guess what, these essential security features come in free version. I love this plugin. This really has a heavy security feature.
The only downside
that this plugin has is that it is heavy on the server side. This works best if
you do have a good hosting account. If you have a slow shared hosting, you may
want to think twice before installing this one.
So what should
I install?
It depends on your need. If you are only for blogging, Akismet is a good spam-filtering security plugin. I haven’t seen an equal so far with this one. However, it is limited to spam-filtering. So apart from Akismet, I will use Wordfence too.
For quite a while, I started working on gathering my resources and the things that I already know and practicing. This WordPress Optimization Secrets eBook is a product of hard work and knowledge from my wide experience on website optimization.
So in this ebook, I discussed the most important things that one should do in optimizing their website for search engine and for long lasting effect of such optimization.
This not an all in one SEO mastery program. But this is the basic things that you should know how search engine works and what you have to do in your website to be called optimized. Meaning this will lay a good foundation for your website when it comes to search engine optimization.
If you are looking for super advanced SEO? This is definitely NOT for you. BUT, if you are looking for SAFE and long lasting optimization effect, this is for you.
Many gurus out there has been suggesting this and that. There is so many technical things to do which makes SEO very technical. However, if you are starting out and want it to be optimized this is the ebook that you should be reading. Very basic, but very powerful.
I have been doing this for quite a while, so I know which ones work and which ones does not. I have sites that ranked well, and I have sites that is also doing well with specific keywords. And what I said in this ebook is what I have been doing in building a strong SEO foundation.
In this post, I will discuss 7 reasons why use Divi for your next WordPress Project. For over 8 years of experience of setting up WordPress sites, using a premium theme is my most recommended way of starting your project. You can lose a lot of your precious time in the process without achieving much if you experiment on various themes available for free.
While there is nothing
wrong in using free themes, in fact there are lots of good free themes that you
can check out there, but the chance of getting the best features that you are
looking for a theme is not there or at still lacking.
So why use Divi Theme?
1. Divi is Drag and Drop kind of theme. While there is no such thing as “zero coding” in WordPress setup, Divi greatly reduces the probability of using the code. It’s so feature rich in a sense that you can design almost any kind of WordPress with the least manual coding.
2. Divi is easy to learn. I have seen similar kind of themes out there, but Divi has full tutorials and is a way easy to learn. I can also say that it is one of the most polished drag and drop themes out there, if not the best.
3. Divi has a lot of “premade” layouts in it. This makes designing a lot easier than before. All you have to do is to do some clicks and upload the layout and then customize it the way you want it.
4. Divi has a front end, editing feature. You are able to edit and see at the same time what you are editing.
5. Divi is a good way to start learning WordPress. Some people will probably not agree with me on this matter. However, if you are looking for ahead start in WordPress, Divi is more fun to deal with in designing your first website.
6. Divi a designers dream theme for license. You can have a business without worrying for license. Once you purchased a lifetime license, all the sites that you built is covered with the updates even if the site is your client’s site.
7. Divi has all the tutorials you need. Elegant themes has a ton of tutorials about Divi and it is uploaded also in Youtube. Nearly all your questions will be answered buy just watching the tutorials.
So there you have it. Hope
this list of reasons will give you a bigger picture of why I did used Divi in
most of my projects lately.
If you are using an Optimize Press plugin, then you might have encountered this notification error:
Notice: Use of undefined constant OP_SN - assumed 'OP_SN' in
... /wp-content/plugins/optimizePressPlugin/lib/framework.php on line 494
Notice: Use of undefined constant OP_SN - assumed 'OP_SN' in
... /wp-content/plugins/optimizePressPlugin/lib/framework.php on line 495
This happens if you your WordPress wp-config.php file debug is set to True. I first noticed this notification when my websites upgraded to 4.0 version, and it was very annoying to have this error appearing in the front end of your website.
The solution though is very simple. Just login to your cpanel, locat wp-config.php and look for this line:
define( 'WP_DEBUG', true );
Simply change the “true” to “false”, then click save. That should take out that error line.
One of the best things that you can get with Studiopress’ Genesis Framework is its flexibility to add new widget area. This kind of flexibility has become a lot easier compared few years ago when Genesis Framework is just starting up. There are some other ways in adding new widget areas if you are using other themes but unlike Genesis, they often use another set of plugin.
In Genesis however, we don’t have to add another plugin. All we need to do is to add a few codes. The first code that we need to add in functions.php of your child theme is this:
This code will register a new widget. Please take note of the following labels:
id = You will have to remember this one because this will be your call id.
name = This is the name that widget.
description = You need this so that you will be able to identify where your code is located.
The second code that you will have to install is where you will want the widgetized area to appear. You will have to be familiar with Genesis hooks location so that you will be able to identify the right call sign. So if you are not familiar with the Genesis hooks, no problem. Just refer in this Genesis visual hook guide. The code is:
Please take note that “genesis_before_footer” is the hook. And you can refer to other hooks in the visual hook guide where you want it to appear. In this example, I prefer that it will appear before the the footer.
Now, the third code that we will have to know is the CSS. Please take note of the “id”
Again, if you are familiar with CSS styling, this will be far more useful to you. The above CSS is what I have used for this example. Feel free to modify it if you want.
Have you ever used Genesis? Share your thoughts below.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.