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”
If you are in a tight budget and is looking for a free effective contact form for your WordPress, Contact Form 7 plugin may be the answer to your needs. It’s very simple and intuitive to use. However, to effectively use it with security, here are some ways to enhance your Contact Form 7:
1. Install Really Simple Captcha. This is another plugin that can be integrated with Contact form 7. All you have to do is to activate the plugin. When you start making your contact form, just click “Generate Tag” and click “Captcha”.
2. Install Contact Form 7 Honeypot. It’s a simple non-invasive SPAM protection. Here’s a short video about Honey Pot
3. Optional but can be helpful, install Contact Form 7 Integrations – If you are using CF7 in a professional site, and you need some integration for 3rd party tools, this plugin can be a big help. It integrate Mailchimp, Zendesk, Google Doc, Constant contact, etc.
Do you have any other way in enhancing your Contact Form 7? Share it below.
Enterprise Pro is a Genesis Child theme of Studiopress. As you can see, my website as of now (November 2014) is built upon this theme. What I like most with this theme is it’s clean look. The former Enterprise Pro theme has become minimalistic to this latest version.
I personally like the font style of this latest update as well as the simplicity of customizing this theme. The best update? It’s now mobile responsive.
This theme is very useful if you are presenting a business or your company. It contains a 3 columns widgets in front and a single featured page.
For other features:
6 Layout options
6 Theme colors
Do you have experience in using this theme? Put it below.
Most themes and frameworks these days have their own way of adding various codes like Google Analytics, Google Adwords, and other tracking codes like that of Facebook. So why in the world do you need another plugin to add this code?
The answer is very simple. First, not all themes and frameworks have that feature. So it means that in some themes, there is really a need for you to add a plugin that add codes in header and footer in WordPress site. Secondly, if you want to go to the path of non-theme dependent for this kind of feature, then better to add a plugin like this.
The question is what is the plugin to use to achieve this? In my investigation, there are two choice plugins to use. The first one is the Insert Headers and Footers plugin. This is made by the WPBeginner. If all you have to do is to add the code applicable for all the pages, then this plugin is already enough.
Do you know any other plugin that allows you to add a code to header and footer? Share it below.