04 Oct 2018

How to Create a WordPress Child Theme?

Creating a child theme is extremely simple, so much so you can copy and paste my example below.

To create a child theme for your theme, you will need to do the following steps:

  1. Create a theme directory in your WordPress install
  2. Create a stylesheet with information about your child theme
  3. Pull in the styles of your parent theme

Once these steps are completed you can activate your child theme and your website will look exactly the same as before, but it will be using your child theme.

So let’s go through the above steps in detail. For this example, I will be creating a child theme for the Twenty Fourteen default theme.

read more

Share this
10 Aug 2018

HOW To Change PHP Version, Module and PHP Variables?

All of our cPanel Servers are running on CloudLinux OS with cPanel/WHM.

PHP Selector is a CloudLinux feature that allows each cPanel user to select PHP version, module and php variables based on their needs.

You can easily switch between several different PHP Versions such as 5.6, 7.1, 7.2 as well as enable or disable many PHP modules, such as apc, mysqli, gd, pdo, soap and etc, entirely based on your needs. It also allows user to change the PHP Variables/Settings such as: max_execution_time, upload_max_filesize, memory_limit and etc.

read more

Share this
17 Mar 2018

PHP 5.6 to PHP 7.0 Or Switch

Ok, so let’s start with the server. First, you’re running PHP 5.6. You should be running 7. Here’s why.

  • Site speed – PHP 7 can handle uncached hits 2-3x faster than on PHP 5.5
  • Resource efficiency – An upgrade to PHP 7 is estimated to bring 30-50% improvements in memory consumption
  • Service more concurrent users – PHP 7 can serve up to 3x as many requests per second and handle more traffic with the same number of resources
  • Return type declarations – You can now specify return type variables with PHP 7
  • Error handling – Many fatal errors have been replaced with object-oriented exceptions to make it easier to find and address bugs
  • Long-term support – Lower technical debt with ongoing support of bug fixes, security patches, and maintenance updates for years to come
APT COM shared hosting support an upgrade to 7.
Share this
15 Feb 2018

© Copyright APT COM Hosting

Click Me