How to Add a Simple jQuery Script to WordPress

How to Add a Simple jQuery Script to WordPress

Most WordPress site owners & developers use plugins to add functionality to a WordPress site, but what if you don’t want to use a plugin? What if you want to create your own function by adding a simple jQuery script to WordPress?

In this step-by-step guide, I’ll show you how to add a simple jQuery script to your WordPress website.

Step 1: Create Your jQuery Script File

Start by creating a file with your jQuery code written inside the file. For example, your file name may look like this,

your-script.js

When adding your jQuery script to the .js file, you don’t need the <script> tags. When working with jQuery, you simply use ‘jQuery’ at the start of the function rather than ‘$’.

Here is an example of how your jQuery script may look like:

jQuery(document).ready(function($) { 
    $('#nav a').last().addClass('last'); 
})

Step 2: Create a Folder Within Your Theme Folder

Within your theme folder, create a sub-folder titled “js”.

Next, add your jQuery script file to this folder. The location of your file should look something like this:

wp-content/themes/your-theme/js/your-script.js

Step 3: Enqueue Your jQuery Script

Next, you need to tell WordPress to load the jQuery script file with your theme.

You can do this by enqueueing the .js file in your theme’s functions.php file. If you’re creating a theme from scratch, then you will need to create the functions.php file. If you’re working with a child theme, then be sure to check to see if the parent theme has jQuery added already.

Within the functions.php file, you will want to use the wp_enqueue_script() function to add your script while also telling WordPress that it depends on jQuery.

To do that, your code should look something like this:

add_action( 'wp_enqueue_scripts', 'add_my_script' ); 
function add_my_script() { 
    wp_enqueue_script( 
         'your-script', // name your script so that you can attach  
         other scripts and de-register, etc. 
         get_template_directory_uri() . '/js/your-script.js', // this
         is the location of your script file 
         array('jquery') // this array lists the scripts upon which
         your script depends 
    ); 
}

Step 4: Test it Out

If your theme has wp_head and wp_footer functions included in the proper files, this should work perfectly. If your code doesn’t work, I would suggest using a troubleshooting tool such as Chrome Developer Tools.

Utilizing jQuery on your WordPress site may seem like a daunting task at first, but it’s actually much easier than you think. Once you master the ability to code and add scripts to your WordPress site, you won’t have to depend on third party plugins to add functionality any longer.

Your PHP installation appears to be missing the MySQL extension which is required by WordPress

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

This error is generated in wp-includes/load.php. Go to your WordPress directory and go look at that file and search for the line that has the error message.

Look at the “if” statement above it to see what MySQL extensions your version of WordPress is trying to use. If it’s checking for “mysqli” and other MySQL extensions, that’s a good thing, and you just have to make sure one of those supported extensions is installed.

If it’s only checking for the “mysql” extension, the problem is that extension has been deprecated and is no longer installed with new versions of PHP. You have to either upgrade your WordPress installation, or see if it is possible to install the “mysql” extension with your version of PHP.

WordPress vs Medium 2019 Which is Better to Make Money Online

WordPress vs Medium 2019: Which is Better to Make Money Online?

You need traffic to generate revenue. I think that’s a pretty obvious statement. If nobody is visiting your website or blog, how do you expect them to buy anything from you? You can’t. So then the question becomes, how do you generate traffic?

This question requires a pretty comprehensive answer and I could talk to you on this topic all day. But, one of the most well-known and effective methods is content marketing. Which means writing content (articles, case studies, opinion pieces, etc) which your target audience will search for and read. The higher quantity & better quality content you have the better chances of generating traffic to your site or blog.

Content marketing is a strategic marketing approach focused on creating and distributing valuable, relevant, and consistent content to attract and retain a clearly defined audience — and, ultimately, to drive profitable customer action.

Instead of pitching your products or services, you are providing truly relevant and useful content to your prospects and customers to help them solve their issues.

A recent survey conducted by Content Marketing Institute (CMI) shows the vast majority of marketers are using content marketing. In fact, it is used by many prominent organizations in the world, including P&G, Microsoft, Cisco Systems, and John Deere. It’s also developed and executed by small businesses and one-person shops around the globe. Why? Because it works.

But, you need a platform where you will publish your content. It could be a self-hosted WordPress website or you can use publishing platforms like Medium, Quora, Linkedin, Tumblr, etc. There are many of them. Two of the most well-known and popular publishing platforms are WordPress and Medium.

In a recent study, WordPress now powers 30% of all websites in the world. That’s a staggering number. As of February 2019, Medium is in the top 200 most visited websites in the world according to Alexa.

When I set out to write this article, I wanted to compare WordPress & Medium and find out which one will help you generate the most traffic, and as a consequence, revenue. But, as it turned out, using both together is a much better strategy.

I also discovered Linkedin can be a powerful platform to publish your content and generate traffic, especially if trying to reach professionals and businesses owners. This is not at all what I expected find.

So, I decided to follow the research, dig a little deeper and reach out to bloggers and digital marketers who’ve used all 3 platforms to get their opinions.

I contacted David Alexander of Mazepress to get his 2 cents. Here’s what he had to say…

“Over the years I have found the best results come from using more than one platform. That said, there are many differences between WordPress and Medium worth being aware of.

Medium is a great platform and very easy to use, so it’s an ideal choice for those starting out who have no audience and need to build a following.

Medium has its own partner program where you can make money as a result of the number of people who read your articles but it does involve paying to sign up.

While there are many authors making a good amount of additional income from their Medium blogs, it’s rare to see a large number of people making a full income from this platform on its own.

WordPress, on the other hand, is something you can own completely and have full control over. While you have no inherent audience if you are willing to put in the work and open up different traffic sources like Medium, social media and using SEO strategies the ceiling is a lot higher and you can monetize in lots of different ways that are either difficult or impossible with Medium.

I have found the best results come from having a WordPress website or blog at the top of your pyramid and then using platforms like Medium to republish content several months after it has been published to expose your content to a wider audience with the hope that traffic will trickle through to your owned media (your own website on WordPress).

With your own WordPress site you can drive people to your email list, include sponsored ads, affiliate offers and build your own eCommerce store on the back, all of these things aren’t so easy if all you have is a Medium blog.

Medium is a platform like any other social media site and being overly reliant on one source of traffic and revenue leaves you in a difficult position if they decide to change their business model or even shut down.”

David is a digital marketer and ‘web guy’ with over a decade under his belt helping SME’s & individuals to use technology not only to survive but to thrive in the new digital ecosystem. He also documents his experiments, failures and interesting tools at Mazepress. You can find David on Twitter @mazepresscom.

I also reached out to Brandon Ballweg of ComposeClick who also uses Medium to syndicate his content for additional exposure. Here’s what he had to say..

“In my opinion, hands down the best option between these two is WordPress, and by that, I mean the self-hosted WordPress.org version. This means that you own your own domain and you install WordPress to it through your hosting provider. 

Given that you own everything on your site if you set it up with WordPress, you get to do whatever you want with it and monetize it in ways that aren’t available on Medium. Some examples include display ads, affiliate marketing where you review and recommend products, sell your own products/course, and many more. 

The only way I use Medium is by syndicating content, meaning cross-publishing on your own site’s blog and on Medium for additional exposure – which can bring more people to your site and build your brand.”

Brandon is the founder & editor of photography education website ComposeClick.

Case Study: Which platform generates the most traffic

An interesting case study conducted by Rich Tucker demonstrates how combing your own blog (using WordPress) along with Medium and Linkedin will generate more views of your content. Here’s what he concluded from his study…

When starting out with a new blog, the extended reach from Medium and Linkedin makes the time spent writing more valuable. It is easy to re-publish content on Medium and Linkedin.

In his study, Rich wanted to test publishing the same article on Linkedin vs Medium vs his own WordPress blog RichTucker.co to see if there are more benefits to republishing content on either Linkedin or Medium.

He published it on his blog first, then on Linkedin and a week later on Medium. The only change he made on the 3 posts, were slight modification in titles to help them all potentially rank for different long tail Google Searches.

4 weeks after the original post, here were the stats:

RichTucker.io WordPress Blog:
193 views

Linkedin:
1,257 views

Medium:
877 views

Linkedin and Medium both gave the article extended reach based on the engagement.

Linkedin got off to a stronger start than Medium, but Medium’s daily views didn’t slow down right away. Rich predicts Medium will surpass Linkedin in a couple of months.

You can read Rich’s full case study on Medium – Test Results: Publishing on Medium vs Linkedin vs Personal Blog

Rich Tucker is director of Enventys Partners, an integrated product development, crowdfunding and marketing agency in Charlotte, NC. You can find him on Twitter @RichTucker.

Advantage of Medium & Linkedin Over WordPress

Both Medium and Linkedin provide valuable data to writers that you do not get from a personal WordPress blog.

Medium shows the number people who viewed the post as well as how many of those people actually read it.

Linkedin shows the employers and job titles of the readers. This is pretty cool data that you can only get from posting articles on Linkedin.

Conclusion

I think it’s quite clear from my research you shouldn’t limit yourself to only one platform to publish your content. The consensus seems to be that WordPress offers the most flexibility & freedom in how you to generate revenue, but, it needs to be combined with other well-known platforms like Medium & Linkedin to help drive traffic (not to exclude other platforms like Quora or Tumblr).

If you’ve had success with either of these platforms and are willing to share your experiences, we’d love to hear about it in the comments.

 

Top 3 WordPress Contact Form Plugins Compared

Top 5 WordPress Contact Form Plugins Compared

With any WordPress website, one of the most important components is the call to action. How are people going to contact you? The answer is with a contact form.

Since there’s many contact form plugins available in the WordPress Plugins directory; we decided to pick the top 5 and compare them. An overview and analysis of each will give you a better idea to which WordPress contact form plugin you should use for your site.

Contact Form 7

Contact Form 7

With over 5 million active installations, Contact Form 7 is the most popular and oldest WordPress contact form plugin in the WordPress plugin directory. It’s a free plugin that can manage multiple contact forms that can be customized to your liking.

The form supports important features such as Ajax-powered submitting, CAPTCHA, and Akismet spam filtering. You can also consider installing third-party add-ons to enhance Contact Form 7 to customize the styles and improve functionality.

The form itself is great for anyone that wants a straight forward contact form that can be added quickly. The only downside is the lack of support since it’s a free plugin, however, there are many online resources available. It’s also not very customizable in terms of design, so you may want to consider other plugins if you’re looking for anything fancy.

Another downside is that Contact Form 7 is only good for creating the most basic looking contact form. If you want to do more, like integrate email or payment, then it might not be the best option for you.

Contact Form by WPForms

Contact Form by WPForms – Drag & Drop Form Builder for WordPress

WPForms created a user-friendly contact form that can be built without any coding knowledge required. It has over a million active installations, making it the next most popular WordPress contact form plugin. With WPForms, you can crease gorgeous contact forms with the drag and drop WordPress form builder. This is a great option for beginners!

The form boasts a long list of features, such as CAPTCHA and Honeypot method to stop spam, smart conditional logic to show or hide fields based on user behavior, and more! It can also be easily integrated with third-parties, such as PayPal, Stripe, and MailChimp with the upgraded version.

If designing isn’t your forte, then you can select from one of their pre-built form templates to customize. Best of all, it’s free to install! For additional support and features, you can upgrade to the pro version. However, I’d say that it already comes with a significant amount of features that are extremely customizable and versatile for any WordPress site.

HappyForms

Contact Form to Manage and respond to conversations with customers — HappyForms

HappyForms is another drag and form builder that can create contact forms, lead generation forms, feedback forms, quote forms, survey forms, and more! With over 10,000 active installations, it’s another great choice for beginners.

Features include live preview as you create them, one-click HoneyPot and Google ReCaptcha spam prevention, and more! It’s a free plugin with an option to upgrade for extended functionalities, such as password protect forms, form date/time scheduler, and advanced filtering of responses.

Though it’s not as popular as the other two options, it still has a five-star rating in the WordPress plugin directory. It’s a great WordPress contact form plugin to consider for your website.

Form Maker

Form Maker by 10Web – Mobile-Friendly Drag & Drop Contact Form Builder

Yet another convenient, yet powerful drag and drop WordPress contact form plugin, Form Marker’s intuitive interface allows you to create contact forms in a matter of minutes. It has over 100,000 active installations, making it another popular choice to consider.

This free WordPress contact form plugin has beautiful themes for you to pick and customize from. They include protection against spam, conditional logic, and a selection of 43 different field types to choose from! With the upgraded version, you’ll have access to payment integration, file upload, and more!

Our favorite thing about Form Maker is the customer support. They have a low response time and always resolve issues within 24 hours, making a great option for those that want the extra confidence.

Formidable Forms

Contact Forms, Surveys & Quiz Forms Plugin by Formidable Forms Builder for WordPress

With over 200,000 active installations, Formidable Forms is a WordPress contact form plugin that claims to offer the “first-ever” solutions-focused plugin on the market. Their drag and drop form builder can create contact forms, surveys, quiz forms, registration forms, and more!

Formidable Forms is one of the most advanced WordPress contact form plugins in the market. It gives you full customization and ability to create any kind of forms—not just contact forms. The benefit of utilizing Formidable Forms include the vast amount of functionality without having to install third-party tools. It has a built-in form styler to instantly customize the look and feel of your form, along with survey features to create surveys and reports.

This free all-in-one WordPress contact form plugin is great for advanced users that want the additional features. With the premium version, it includes features such as email subscription forms, file upload, and payment integration.

Since this plugin is more complex, we wouldn’t recommend it for beginners.

Which One is Best for You?

This greatly depends on what you’re looking to use the WordPress contact form plugin for. All of the plugins mentioned have high ratings and thousands of active installations.

It will also depend greatly on your experience with WordPress plugins and coding. If you’re a beginner, then you will probably lean towards a drag and drop option. If you’re more advanced, then one with vast amounts of features might be more suitable for you.

Another one to consider is mobile functionality. All of these WordPress contact form plugins are functional with mobile, but you should still test how each one looks on your website.

We recommend you to try each one to get a taste of what will work best for you. There are no risks with each one and the only way to find the perfect WordPress contact form plugin is to play around with them!

Error Establishing a Database Connection Error Message

How to fix Error Establishing a Database Connection in WordPress

You wake up one morning and attempt to log into your website only to discover it’s displaying a white page and an error message: Error Establishing a Database Connection.

Which usually looks something like this,

Error Establishing a Database Connection Error Message

Error Establishing a Database Connection Error Message

If you’re running an e-commerce site or generating leads for your business or professional career, this can be worrying as your loosing out on sales. So ideally you want to fix this issue ASAP.

I’ve encountered this problem many, many times over the years and 99% of the time I was able to resolve it quite quickly. So don’t panic. Keep reading this tutorial to learn practical tips on how to fix the error establishing a database connection in WordPress.

What does it mean?

First, let’s examine what this error message actually means. In short, you are getting this error because WordPress is unable to connect to the MYSQL database where all the data for your website is stored.

Your database uses a language called MySQL. Your website is reliant on a server-side language called PHP. Whenever your website URL is entered into the browser, WordPress uses PHP to retrieve all the information pertaining to the page from the database and sends it to the visitor’s browser.

The error establishing a database connection you tend to experience is because this MySQL-PHP connection is severed for some reason.

How to Fix Error Establishing a Database Connection in WordPress

Image by CloudWays.com Managed Cloud Hosting Platform

Why are you getting this error?

In my experience, this error usually occurs for the following reasons;

  • Your database login credentials are wrong or have been changed
  • Your database server is unresponsive
  • Your database has been corrupted
  • Your website may be experiencing a heavy traffic spike, which is beyond your server’s capacity

Video Troubleshooting Tutorial

Always backup your site

Before we start troubleshooting the error, it’s important you generate a backup of your site. This will ensure that if something goes horribly wrong, at least you have a backup you can revert to. In your web hosting admin panel (cPanel) do the following:

  1. Open the File Manager and compress all your website files (this will generate a zip file and will serve as your backup).
  2. Open PHPMyAdmin and export the MySQL database through the Export function.

Now that you’ve backed up your site, we’re ready to start troubleshooting.

Narrow down the problem

We need to determine if your MYSQL database has been corrupted. If you receive the same “Error Establishing a Database Connection” message when you access your admin panel (http://www.yourwebsite.com/wp-admin/); your database has not been corrupted and you can proceed to the next step in this tutorial.

However, if you receive the following error message:

One or more database tables are unavailable. The database may need to be repaired

Then your MYSQL database has been corrupted and it must be repaired. WordPress has a built in feature that allows you to do this easily.

In the root WordPress file directory, locate the wp-config.php file. Use an FTP client or the File Manager within your web hosting panel (cPanel).

Open the wp-config.php file and add the following line at the bottom of the file:

define('WP_ALLOW_REPAIR', true);

Now navigate to:

www.yourwebsite.com/wp-admin/maint/repair.php

(Replace “yourwebsite.com” with your actual URL)

You should see a page like this.

WordPress Repair Database Feature

Image credited to CloudWays.com Managed Cloud Hosting Platform

You now have 2 options. If you’re not in a hurry I recommend selecting the 2nd option: Repair and Optimize Database. This option takes a little longer but it offers a more comprehensive attempt to fix your corrupted database.

Immediately after the repair and optimization process has completed, remove the line of code you added to the wp-config.php file. This repair page can be accessed without the need to log in, so it creates a security issue.

Verify the MYSQL database name and password are correct

As I mentioned at the beginning of this tutorial one of the most common reasons for this error is an incorrect database name or password which prevents your site’s PHP files from connecting with the MYSQL database.

These settings are found in your sites wp-config.php file in the root directory and contains the following four variables,

  • database name
  • database username
  • database password
  • database host

It will look like this,

/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );

/** MySQL database username */
define( 'DB_USER', 'username_here' );

/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );

/** MySQL hostname */
define( 'DB_HOST', 'localhost' );

Note down these values since you will need to verify them later on.

NOTE: Your DB_HOST value may not be localhost. Depending on your web host, it could be different. For popular web hosts like HostGator, BlueHost or SiteGround, it is localhost. Your localhost value is usually visible within your web hosting panel. If not, you can always contact your web host and ask them to provide it to you.

cPanel Manage MYSQL Databases

cPanel Manage MYSQL Databases

Next, log into your web hosting account panel (cPanel) and locate the section entitled Databases and click on MySQL Databases.

In the Current Databases section you will find a list of all your existing databases. Locate the name of the database you noted down previously.

Verify a user has been assigned to it and that it matches the DB_USER value you noted earlier from the wp-config.php file.

cPanel MYSQL Databases Management

cPanel MYSQL Databases Management

If those values don’t match then you have found the reason for the error and you will need to copy and paste the correct values into the wp-config.php file.

Unfortunately, web hosts generally don’t display passwords for database users in the web hosting panel for security reasons. So, you’ll need to generate a new password and enter it in the DB_PASSWORD field of the wp-config.php file.

Scroll down to the section entitled Current Users and locate the correct user for your database. Click on Change Password to generate a new secure password.

Navigate to Current Users section and click Change Password

Navigate to Current Users section and click Change Password

 

Generate a new password for the database user

Generate a new password for the database user

Once you’ve ensured the wp-config.php file contains the correct values for the database name, database user and password, save the file.

Now you can check if the issue has been solved by visiting the front-end of your website (http://www.yourwebsite.com) or by logging into your Admin Dashboard.

Check if your MYSQL database server is unresponsive

Sometimes the error could be due to an issue with the server itself and not your site files or configuration. In order to test and see if your MYSQL databaser server is unresponsive, try creating a new database in your web hosting panel.

Check if your databaser server is running by trying to create a new database

Check if your database server is running by trying to create a new database

If you’re unable to create a new database or it seems to be taking too long, then there’s most likely an issue with the database server itself.

In that case, contact your web hosts technical support department to request assistance.

Check if your server is overcapacity

That is a nice problem to have. It could mean you’re experiencing a huge traffic spike. Someone may have shared your site on social media or a high traffic blog or online newspaper has linked to your website.

In short, it means your server has reached maximum capacity or can’t keep up with the extremely high demand. To check if you’re experiencing a sudden traffic spike you can check your sites analytics software (Google Analytics).

Check your analytics software for a sudden traffic spike

Check your analytics software for a sudden traffic spike

You’ll see a huge spike and a drop-off, indicating your site stopped reporting the traffic because your server is down. The only way to get your site up and running again is to contact your web hosting company to upgrade your hosting plan. Most web hosting companies provide 24/7 customer support and are usually good in providing quick turn-around for upgrades.

But how can you prevent this from happening in the first place? What kind of measures can you implement to make sure your site doesn’t crash when a traffic spike hits? The answer is to get a better hosting plan but not everyone is willing to pay extra in the event your website “may” or “may not” go viral at some point. A good alternative is to use a Content Delivery Network (CDN) like Cloud Flare. Here’s an article explaining what you should do if you’re expecting a huge traffic spike.

So, hopefully you’ve found this article helpful and were able to resolve the issue. If you have any questions or comments use the comment form below and one of our moderators will be glad to respond.

 

How to Fix Login Page Refresh & Redirect Problem in WordPress

How to fix WordPress Login Refresh & Redirect Loop Issue

There are several types of login issues that can occur with a WordPress site. One type of error is when your login page keeps refreshing and redirecting you back to the login screen. It can be quite annoying and frustrating. In this troubleshooting tutorial I’ll show you how to fix this type of error.

Try clearing your browser’s cookies

The first step is to see if it’s your web browser (Edge, Chrome, Firefox, Safari) or your WordPress site which is causing the issue.

Most websites store cookies which help manage login information. Sometimes issues arise with these cookies and you need to clear them in order to start fresh.

What are Cookies?

Cookies are simple text files that a website can store on your browser. They are mainly used to “identify” a user and can be used for many things like keeping a user logged in, store the shopping cart items, etc.

Clearing (or deleting) these cookies and starting fresh can often clear up these issues. Here’s how to do that with the most popular browsers.

Clear your cookies in Firefox

  1. Click the three horizontal lines in the top right of your browser
  2. Click on the Options section in the menu
  3. Click on Privacy & Security on the left
  4. Scroll down to Cookies and Site data and click “clear data”

Clear your cookies in Chrome

  1. Click the three dots in the top right corner of your browser
  2. Click on the settings menu
  3. Scroll down to “clear browsing data” and hit the “clear data” button

Refresh your website and try to log in. If you’re still unable to log in, let’s proceed to the next step of our troubleshooting guide.

Does your webhost have backups available?

Some hosting plans come with free backups, if yours does then you may be able to restore your site from a recent backup.

Of course, not everyone will have this option available, but it’s worth a try. If not, things will get a little more complicated and you’ll need to get comfortable with the file system.

What happens if I can’t log in to my WordPress site?

If clearing your cookies did not help and you can’t get into your WordPress site then you might have to continue troubleshooting using the file system for your installation. This sounds scary, but it’s not as difficult as you may think.

However, it’s always a best practice to create a backup of your site before proceeding, if you don’t have one already. This way, even if you do manage to mess something up you can just restore the files.

Download an FTP client like Filezilla

In some cases, you may be able to edit your WordPress installation files directly from your host’s control panel, but if not you’ll need an FTP program. This software allows you to connect and browse the files sort of like how they’re set up on your computer.

Locate your login credentials in your web hosting control panel

Every web host should have FTP credentials available somewhere for you that allows you to connect through the software. If you’re not sure where these are, then try contacting support for help.

To log in using FTP, you’ll need your hostname (usually your domain name), a username and a password provided by your host. Make sure to download all of your files before you touch anything.

Test your plugins

Plugins are part of what makes WordPress so great, but unfortunately, they sometimes don’t play nice with each other. Even plugins you’ve been using for a long time may release an update which could conflict with another plugin.

The only way to know for sure is to test each plugin and see if they are causing the problem. Often, the best course of action is to deactivate all plugins.

Now, refresh your website and see if the problem is gone. If so, then congratulations! You’ve figured out what’s causing the problem with your site.

You can simply reactive your plugins one by one until the issue returns, then you’ll know which plugin is the culprit, and find a replacement.

How to deactivate plugins with FTP

Using your preferred FTP client, go to the plugins folder, for example:

/wp-content/plugins/

and rename it to something else. For example:

/wp-content/plugins-backup/

All the plugins will cease to function.

Test your theme

Sometimes themes don’t play nice with WordPress after an update. If you revert back to the default Twenty Nineteen theme, your login page issues may disappear.

It’s not always the fault of the theme creator, things may have worked perfectly up until the latest WordPress update. If this is the case and you don’t want to use a different theme, contact the theme developer to help debug the issue.

However, the quickest course of action is to use another theme.

How to deactivate your WordPress theme with FTP

Using your preferred FTP client, go to your themes folder, for example:

/wp-content/themes/

and rename it to something else. For example:

/wp-content/themes-backup/

WordPress will fail to find your current theme and use the default theme instead.

Delete your .htaccess file

This file can perform a lot of useful functions, but sometimes it can get overwritten and cause problems. Delete it this file and see if you can log in. If you’re able to successfully log in, you’ll need to regenerate the .htaccess file.

In your Admin Dashboard go to Settings > Permalinks and click the save button at the bottom to generate a new .htaccess file.

Update your site’s URL

If you’ve recently installed an SSL ceritifcate or changed your site’s URL this can sometimes cause issues. Changing and updating it manually may help with login page problems. Start by logging into your webhost with FTP.

Manually add the following lines (with your site’s URL in place of example.com) to your wp-config.php file, save and see if the issue is fixed.

define(‘WP_HOME’,’http://example.com’);

define(‘WP_SITEURL’,’http://example.com‘);

Hopefully, you’ve found this article useful and managed to solve the problem. We welcome you to submit your comments and questions using the comment form below.

4 free directory listing wordpress themes

4 Free Directory Listing WordPress Themes

Directory, or listing sites are a great way to locate online business, local retail stores, as well as services or professionals like dentists or doctors.

They’re usually very easy to use, and by simply filling out one or more fields in an online form you will receive the results that you are looking for in seconds. As the owner of a business, it makes good business sense to be registered with as many online directories within your niche as possible, the more places your details are available the more traffic that will end up at your site.

So, if you want to start your own online directory or listing site to generate revenue, WordPress has tons of plugins and themes which allow you to do that quite economically.

In this weeks collection we’ve rounded up a list of free WordPress themes to start your own online directory or listing website.

Directory Starter

Directory Starter By Paolo

Directory Starter By Paolo

Directory Starter is a starter theme for the GeoDirectory plugin, perfect to be edited directly or to create your own child themes. Directory Starter is a fully responsive Directory Theme that has been methodically coded to be lightweight and customizable, we have used all the latest WordPress Customizer options allowing you to customise the look and feel of your site with no coding knowledge.

Business Directory

Business Directory by inkthemescom

Business Directory by inkthemescom

Business Directory for WordPress is one of the easiest themes to build your Web Presence in 10 Minutes. Just with in 5 Simple Steps. The Theme is highly customizable and with the presence of several background patterns and Theme Options, You can have your own branded new Website for your Business or Personal Use in Minutes. Features Templates for Blogs, Gallery, Fullwidth Page without sidebar and Contact Us Page.

Robolist Lite

Robolist Lite Theme by Code Themes

Robolist Lite Theme by Code Themes

Robolist Lite is modern, feature rich and free WordPress theme for listing and directory sites. It is integrated with the well built WP Job Manager Plugin, which enables you to add a list of any professions. Such as business agencies, corporate sites, hotels, real estate and so on. The core objective of this theme is to give the information to the visitors as much as it can. Robolist Lite is loaded with the all the necessary extension which means tons of possibilities. The complete out of the box BootStrap Framework has made Robolist Lite fully responsive theme. Its clean and pixel perfect design is powerful enough to grab the attention of the visitors. Launch your directory website with this awesome WordPress listing theme, Robolist Lite.

Robojob Lite

Robojob Lite Theme by Code Themes

Robojob Lite Theme by Code Themes

RoboJob Lite is the new best WordPress Job theme. Running a job site or a listing site becomes a lot more easier. It is a WP Job Manager powered WordPress theme for job sites. Since this is powered by a powerful and actively maintained WP Job Manager Plugin, there are a lot of extensions available, which mean a lot of possibilites.

 

How Much it Costs to Build & Host a WordPress Website in 2019

How Much it Costs to Build & Host a WordPress Website in 2019

Building a website in 2019 is very affordable, especially when comparing with the cost of starting a bricks and mortar business. Whether it’s to promote a business, build a portfolio, or to start a personal blog, it’s become an essential component of branding in the 21st century.

WordPress has been around for years and remains one of the most popular content management & blogging platforms in the world.

According to data from web technology survey firm W3Techs, WordPress powers over 30% of the Internet!

It’s perfect for beginners with limited knowledge of web design & development. It’s extremely user-friendly, flexible and customizable with thousands of themes & plugins.

The WordPress software itself is free, but there’s a few additional components you need in order to get it running.

  1. Domain name – This is the address where you website will reside. Example: www.yourwebsite.com.
  2. Web Hosting Plan – Websites are hosted on servers, where the files of your website will reside.
  3. Free or Premium WordPress Theme – This will be the face (or design) of your website.

To give you the quick and short answer; starting a WordPress site in 2019 will cost you between US$33 to US$132 for the first year. But it depends on which hosting plan, domain name and WordPress theme you decide to use. So in this article we cover each of the components and break down the costs associated with each.

Choosing a Web Hosting Plan

There’s tons of affordable hosting services, but I suggest you check to see which features are included with each plan. Take note of the cost breakdowns, the services they come with, and reviews.

If you’re only looking to host a single website, most basic hosting plans will be enough.

Here’s a breakdown of a few popular hosting plans, along with pricing and key services:

  • Bluehost Starting at $3.95 a month for their basic package, it includes a free domain, 1-click WordPress installation, 5 email accounts, and 50GB of website storage.
  • HostGator – Starting at $2.75 a month for their basic package, it includes a free domain, 1-click WordPress installation, and unlimited website storage.
  • SiteGround – Starting at $3.95 a month for their basic package, it includes a free email account and 10GB of website storage.
  • A2 Hosting – Starting at $5.21 a month for their basic package, it includes free site transfers and unlimited website storage.

All the options mentioned above include a free SSL certificate and extremely reliable up-time guarantees. If any issues occur, they offer 24/7 customer service support.

When choosing a hosting plan, it’s important to consider exactly what you’re looking for. Some offer free domain names, while others have unlimited website storage.

The prices listed are often just for the first year and increase the following year, which is why I highly recommend purchasing a hosting package for the longest duration to lock in the best pricing!

HostingFacts.com reviewed 31 web hosting companies and assigned a 0 to 10 rating based on various factors: services, hidden fees, payment methods, terms of agreement, customer support, total activation time & site performance.

HostingFacts.com Rewiew of 31 Web Hosting Companies

HostingFacts.com Rewiew of 31 Web Hosting Companies

Purchasing a Domain Name

On a basic level, domain names are important because the Internet’s addressing scheme is not very effective without them.

Each computer on the Internet has an Internet protocol (IP) address: a unique string of four numbers separated by periods, such as 165.166.0.2. Since remembering the IP addresses of all of your favorite Web sites would be nearly impossible, a group of computer scientists created the domain name system to assign a unique name to each numeric IP address.

But domain names are much more than just a technical shortcut. A short, memorable domain name can make the difference between creating a successful web presence and getting lost in cyberspace.

Most hosting companies will include a free domain name if you purchase a 1 year hosting plan. If not, you can always purchase a domain name from a registrar.

A few popular places to purchase domains from are:

While you may be inclined to go for the cheapest domain, always check to see how much it will cost the following years. These companies often offer a very low price for the first year to entice customers.

Free WordPress Themes

A theme is a collection of templates and stylesheets used to define the appearance and display of a WordPress powered website.

WordPress has a directory with thousands of free themes to choose from, which is perfect for anyone with a smaller budget. Many of these themes can be customized and modified to your specific use.

Themes can be changed, managed, and added from the WordPress admin area under Appearance » Themes.

Install a free wordpress theme from the WordPress.org directory

Install a free wordpress theme from the WordPress.org directory

Premium WordPress Themes

If you’re looking for a more professional, refined design for your WordPress site, then I suggest purchasing a premium WordPress theme.

By its most simple definition, a premium WordPress theme costs money. If it isn’t free, it is premium. There are no fixed standards or certification that designates a theme as being premium. Anyone can build a WordPress theme, brand it as premium, and offer it for sale.

But typically speaking, a premium theme will have been built by professional web designers, with the specific aim of catering to a market who is willing to pay more for a better product.

They can cost anywhere from $30 to upwards of $100. It all depends on the pricing set by the developer and the services or features bundled with the theme.

Here’s 3 of the most popular sites where you can purchase premium WordPress Themes:

  • ThemeForest – A very popular marketplace with ~11,000 WordPress themes, most cost between $20-70. If you do a bit of digging, you can find deals for $13!
  • Mojo Marketplace – Another great platform to browse for thousands of beautifully designed themes, most cost between $40-60.
  • Template Monster – With ~2131 WordPress themes, you’re always bound to find something! Most of their themes cost around $75.
ThemeForest WordPress Themes Marketplace

ThemeForest WordPress Themes Marketplace

In Conclusion

If you purchase the cheapest hosting plan that includes a free domain name, and utilize a free WordPress theme, then your only costs will be $2.75/month hosting fee (if you go with BlueHost), or $33 for the first year.  This is extremely affordable and perfect for anyone who’s just looking to get started on a small budget.

If you decide to go with a Premium WordPress theme and a more professional and refined design, your cost for the first year will be vary between $70-132.

Regardless of what you decide to do, hosting and building a WordPress website in 2019 is extremely affordable and there’s something for every budget level.

How to Update WordPress to the Latest Version

How to Update WordPress to the Latest Version

WordPress is a fantastic content management and blogging platform. It allows anyone to deploy and run a fully functional website with zero coding knowledge. This, of course, did not go unnoticed and WordPress exploded in popularity.

It’s so popular it’s estimated that WordPress now powers 30% of the internet. Unfortunately, this comes with some major pitfalls as well.

WordPress has become so popular that sites hosted on it are frequently the victims of cyber attacks. While the team behind the software constantly pushes out security updates, none of that will matter if you don’t keep your WordPress site updated!

Keeping your WordPress installation updated is important for a few very good reasons. Here are some things to think about.

Security

WordPress is Open Source, and that means anyone can study the code and make it better. That’s why WordPress has so many awesome themes and plugins available for you to use.

Unfortunately, it also means people can study it to find vulnerabilities that they can exploit for their own personal gain! Unsavory people spend a lot of time trying to find ways to inject malware into WordPress sites.

This means that if you’re using an outdated version of WordPress then you’re using software with known security exploits! This is very dangerous and if an attacker finds out you’ll be an easy target for them and your website could suffer for it.

Features

New WordPress updates also come with great features that you could be missing out on. These features might add new functionality to your blog or make your days managing your site just a little bit easier, but you’ll never find out if you don’t upgrade.

WordPress 5.0 included an awesome new content editor that helps bloggers to create better layouts for their blog posts.

Performance and bug fixes

WordPress developers tweak every release to give you speed and bug fixes that make WordPress better to use. Staying updated can make your website run smoother and it helps you to remain compatible with popular plugins.

How to update your WordPress site

There’s a couple of ways to update your WordPress site, and we’re going to quickly go over them to help you learn how to do it yourself. This could take you just a few seconds or a few minutes depending on which method you use.

STOP! Before you do anything it’s important to create a backup of your WordPress site. At the bare minimum, you should export your posts and media files using the exporter tool.

The best solution though is to use a full-featured backup plugin. These help you to make sure everything is backed up, and they often include one-click restoration features. Try something like UpDraft Plus for this purpose.

Method #1 – Update using the One-Click updater

The easiest method for updating your WordPress blog and the one you’ll likely be using is the one-click updater. If there are any WordPress updates available your dashboard will let you know up at the top.

If you click on that link it will direct you to the menu which has the update feature available. This is the easiest way to go because WordPress does everything for you.

How to Update WordPress to the Latest Version

Navigate to Dashboard > Updates and click the Update Now button

It disables your plugins for you, it downloads the update, it installs it, and it gets everything going again like nothing happened. You’ll be done in probably 30 seconds.

However, you will need to check your site carefully after the installation completes. Sometimes updates do cause plugins or themes to become incompatible. So take a moment to check everything out.

If something did get messed up it is possible to roll back the update until you find a solution. However, the best course of action is to just to find new plugins or themes which are compliant so you can take advantage of the security fixes that come with an updated WordPress installation.

Method #2 – Manually update WordPress using FTP or Cpanel

This method involves manually downloading the update from the WordPress website and then installing it directly to your site using cPanel or an FTP program.

Why would you want to do this when you have a perfectly good one-click installer? If your website has restrictive file permissions for security reasons then you may need to do manual upgrades of your core files, themes, and plugins.

Step 1 – Create a site back up and deactivate plugins

Create a backup of your site before you do anything else in case you mess something up. You’ll also need to deactivate your plugins before proceeding.

Step 2 – Download the update from WordPress.org

Go to WordPress.org and manually download the update. Unzip it somewhere on your desktop so you have easy access to the files.

Step 3 – Access your FTP or cPanel

Log in to your FTP account (Filezilla is good for this and it’s free to use.) or your cPanel for your host. In this step, you’ll be replacing some of the files and folders on your site with the ones in your newly updated file that you downloaded. Navigate to the root directory to get started.

Step 4 – Delete wp-admin and wp-includes

You can go ahead and delete these folders files from the root directory safely, but don’t touch anything else just yet.

Step 5 – Upload the new wp-admin and wp-includes files

Upload the new wp-admin and wp-includes files from the updated WordPress installation file to the same place where you removed the old ones.

Step 6 – Copy the new WordPress files

You won’t be deleting anything in this step. Instead, you simply want to copy the other WordPress files inside the folder to where they go in your WordPress installation.

These files should overwrite the existing ones. Be careful not to accidentally delete anything important.

Step 7 – Check to make sure your site works

At this point, you can visit your site and see if it’s working properly. If everything looks okay you can activate all your plugins again and you’re good to go. Congratulations! You’ve manually updated your WordPress site!

10 Free One-page Business WordPress Themes 2018

10 Free One-page Business WordPress Themes 2018

One-page websites are a great way to display all your content on a single page. People’s attention spans and shrinking so by condensing and focusing your content on one page in an elegant, easy-to-ready manner, you’re making it easier for your clients and readers to learn about your company, product or service.

In this weeks collection we’ve rounded up 10 free one-page themes found on the WordPress.org directory which you can use for your business or professional career.

All have been updated and maintained in the last 3 months, have positive reviews and a minimum user rating of three out of five (3/5) stars.

Integral

Integral WordPress theme by Themely

Integral WordPress theme by Themely

Build a professional website with Integral one page business theme. Its strength lies in displaying content on a single page in a simple and elegant manner. It’s super easy to customize and allows you to create a stunning website in minutes. It boasts a rich color scheme with light and dark sections and a clean, minimal, modern design with smooth parallax effect. Integral is built with Bootstrap, is responsive and integrates with popular plugins like Contact Form 7, Woocommerce. Integral is now compatible with Elementor & Beaver Builder page-builders. Perfect for professionals, agencies, small business, corporate business, startup, freelancer, development company, personal, portfolio, blog, real estate, lawyer, travel and photography websites.

Parallel

Parallel WordPress theme by Themely

Parallel WordPress theme by Themely

Build a professional website with Parallel one page theme for startups, businesses and professionals. It’s strength lies in displaying all your content on the homepage in a simple and elegant manner. It’s super easy to customize and allows you to establish your online presence in minutes. It boasts a rich color scheme with light and grey sections and a clean, minimal, modern design with smooth parallax effect. Parallel is built with Bootstrap, is responsive and integrates with popular plugins like Contact Form 7, Mailchimp for WordPress & Woocommerce. Parallel is perfect for freelancer, business, design firm, freelancer, development agency, corporate, personal, portfolio, blog, real estate, lawyer, travel and photography websites.

Optimal

Optimal WordPress child theme by Themely

Optimal WordPress child theme by Themely

Build a stunning website with Optimal One-page theme for small businesses and professionals. Designed to display all your content on a single page in an elegant manner; it’s extremely easy to setup & customize. Build yourself a stunning website for your professional carreer or small business. Optimal is a child theme for the Integral WordPress theme developed by Themely. It’s perfect for startups, freelancers, agencies, small business, corporate business, design firm, education, freelancer, development company, personal, portfolio, blog, real estate, lawyer, travel and photography websites.

OnePress

OnePress WordPress theme by FameThemes

OnePress WordPress theme by FameThemes

OnePress is an outstanding creative and flexible WordPress one page theme well suited for business website, portfolio, digital agency, product showcase, freelancers and everyone else who appreciate good design. The theme overall is an elegant and classic one, a fine example of Bootstrap 4 WordPress theme which compatibility with latest version of WooCommerce.

One Page Express

One Page Express By Extend Themes

One Page Express By Extend Themes

One Page Express is a beautiful WordPress Theme that can be used to create a one page website in minutes by drag and drop. In comes with a predesigned home page and over 30 ready to use content sections that you can easily customize. It also has lots of customization options (video background, slideshow background, header content types, etc) that will help you create a beautiful, unique one page website in no time. One Page Express is responsive so it works on mobile devices out of the box.

OnePage Parallax

OnePage Parallax By Adnan

OnePage Parallax By Adnan

OnePage Parallax is a single-page theme that displays all the essential features of your website on the home page. It makes easy for the users to get all the required information within a single page. OnePage Parallax is a professional and outstanding responsive business WordPress Theme. OnePage Parallax was built keeping the simplicity of design in mind.

Zerif Lite

Zerif Lite By Themeisle

Zerif Lite By Themeisle

Zerif LITE is a free one page WordPress theme. It’s perfect for web agency business,corporate business,personal and parallax business portfolio, photography sites and freelancer.Is built on BootStrap with parallax support, is responsive, clean, modern, flat and minimal. Zerif Lite is ecommerce (WooCommerce) Compatible, WPML, RTL, Retina-Ready, SEO Friendly and with parallax, full screen image is one of the best business themes.

OneEngine

OneEngine WordPress theme by Engine Themes

OneEngine WordPress theme by Engine Themes

Enhance the simplicity with this Multi-Purpose One Page WordPress Theme with Layout builder included, easy-to-use backend options, plus glorious design.

West

West WordPress theme by AThemes

West WordPress theme by AThemes

West is a responsive business theme that aims to provide everything you need in order to help you create an awesome website for your company. Some of the features you will find in West are: Live Composer integration, fonts and colors controls, blog options, custom header option and much more.

Sydney

Sydney WordPress theme by aThemes

Sydney WordPress theme by aThemes

Sydney is a powerful business theme that provides a fast way for companies or freelancers to create an awesome online presence. Sydney brings plenty of customization possibilities like access to all Google Fonts, full color control, layout control, logo upload, full screen slider, header image, sticky navigation and much more. Also, Sydney provides all the construction blocks you need to rapidly create an engaging front page.

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match