upgrade PHP version for Wordpress

How to Upgrade PHP From 5.6/7.0 to Latest Version | Secure WordPress

57% of WordPress sites become less secure ☠️ in December 2018 due to old PHP version, and how to Upgrade PHP.

As you can see in the below image, 57% of WordPress sites run on PHP 5.6 and PHP 7.

Why?

Security updates are ending soon of the following PHP versions

 PHP 5.6 is ending on December 31, 2018
 PHP 7.0 is ending on December 3, 2018

✔️ How to Upgrade PHP From 5.6/7.0 to Latest Version

Step 1 – Backup Your Site

It is important to back up your WordPress site. The easiest way to do this is with the UpDraftPlus plugin or All in One Migration.

Step 2 – Check Plugin Compatibility

Make sure all of your plugins have been updated to their latest version and can support the latest PHP version.

Step 3 – Upgrade PHP Version

Log in to your web hosting control panel, find the PHP section and upgrade the PHP version for your website. If this is to difficult then contact your web hosting support for help.

Or watch this video to do in 5 minutes

 

Source: https://web.facebook.com/groups/bloggersfunda/permalink/1997134683734876/

Speed Up WordPress

Speed up WordPress | Top 10% Developers Secret | 80+ Google Speed Insights

Innovative Today: We are going to reveal the top 10% developers secret about how they speed up WordPress and get 80+ Google Speed Insights without any cheat and tricks! just go with me step by step and we will be able to fix the WordPress speed, as well as ongoing issue’s that comes while doing the speed optimization + I will be guiding you how to handle it even if you don’t have techie knowledge.if in case  you lost your control on website you can directly send message to us on live chat we are almost available 16+ hours a day and try to fix the issue for you asap if you have applied any of my methods.

The Minimum Results that we are going to get

We are sharing the best-optimized version for each browser, in this tutorial will also score above 90 but show you the behavior of a website’s how it has been distracting. So for me and top google experience’s above 80 is a good score for any website.

Website’s used for a tutorial.

1 – Agency Website –  https://innovative-designer.com 

2 – Services Website – https://www.kingremodelingla.com/

3 – E-commerce Store –  https://qxrexpress.com/

Plugins that we will be using:

1 – WP Fastest Cache
2 – WP Fastest Cache Premium Version

Applications used:

1 – Adobe Photoshop CS5

1 – Analyze Your Website Score:

The first and important step in every field of programming or life is that you need to analyze the current status of your ongoing conditions. So we are going to analyze our website’s test and checking them what are their score without optimization.

INNOVATIVE: 70

QXR EXPRESS: 68

KING REMODELING: 71

2 – Understanding the [Optimization Suggestions] in Google Speed Insights.

After testing your WordPress website on Google speed insights(GSI), we are going to go through each optimization suggestions and how to make them best for Google and page speed.

2.1 – Optimize Images:

Images play important role in our website’s but non-optimized images are bad for a website speed. The first step you need to download the optimize images from google speed insights optimized version, you can see this type of link in once you do the optimization check. [2.1 Screenshot Below]

Downloading the google Speed insights content

But Google only optimize the current size of images and they are not compressing to the best version and sometimes the web page speed becomes slow.

For Example, if you are using .PNG images, the png images are large in size if you download it from Shutterstock and its normal size is 1mb and if the post or web page contains more than 10 images it will become 10mb and just think how long it will take to load?  Don’t worry here is the solution.

The solution for big size images without losing a quality:

  1. Download & install the Adobe Photoshop any version (Latest is better).
  2. Open your desired image in adobe photoshop.
  3. Click on top left menu File.
    File > Export > Save for Web Legacy.
    in older version File > Save for Web Legacy.
    or press [Alt + Shift + Ctrl + S ] at one time.
  4. Select the preset from the right top [JPEG Medium].
    Check the quality of your image if it is losing quality then increase quality from 30 to 45.
    then save the image. [Check Below Screenshots for a tutorial].

Step 1: Exporting images to optimizer

Step 2: Optimizing an image for WordPress speed up

2.2 – Minify HTML,CSS & Javascript:

Ok So we have optimized the images now we are going to combine + minify the code that we have written. This is the techie part but you don’t need to worry about it if your code is written by best web agency then it’s easy to compile everything with just installing plugin, if not then you need to wait for our next tutorial and try to fix the code first and bypass the theme files by enqueuing them in header.php. Well let’s get into the point the steps you need to do:

  1.  Install the plugin – Wp Fastest Cache.
  2. Activate it.
  3. Also, install the premium version. and activate it.
  4. Go to Plugin settings and check mark all the fields leaving behind the Google Fonts Field(because it slows down Server Speed so keep it open to load it separately).
  5. Then go to delete cache tab in wp fastest cache settings and click on button [Delete Cache and Minified CSS/JS].
  6. That’s it we are done!.

HERE ARE THE RESULTS AFTER DOING OPTIMIZATION

SUMMING UP:

Today we have tested 3 different website’s and also optimized them with a plugin and Google speed insights, in the next tutorial I will be covering the theme core files and tell you how to do deep optimization in WordPress. As you can see some websites are in mobile still below 80 and while on the desktop it’s above 85 ~ 90, this is because we are viewing the website’s from different devices and we show code in a different way for mobile users and they see less content instead of desktop version. I will cover all the things in core optimization and update you here in a post or via email.

Wish you the best of luck!
#innovative_designers

Limit Posts To The Specific Category with the Title | Styling The Post Titles

Hello World! Today Innovative is here to add some function to post and make them like tender to shuffle between posts and limit posts to the Specific category with the title.

WordPress Functions  used:

# get_adjacent_post
# get_permalink
# get_the_category();
# $prev_post
# $next_post
# my_custom_post_navigation

Steps to limit posts to the Specific Category with the title:

1. Go to your theme single.php [Some theme have template parts so try to find the exact location]
in my case I was working with Flatsome WordPress Theme, So it’s directory is {Public_html/wp-content/themes/template-parts/posts/content-single.php}.

2. Copy Paste the below code to content-single.php.

< div class="post-limited-navigations">
	ID; // Get current post ID
$cat = get_the_category(); 
$current_cat_id = $cat[0]->cat_ID; // Get current Category ID 

$args = array('category'=>$current_cat_id,'orderby'=>'post_date','order'=> 'DESC');
$posts = get_posts($args);
// Get IDs of posts retrieved by get_posts function
$ids = array();
foreach ($posts as $thepost) {
    $ids[] = $thepost->ID;
}
// Get and Echo the Previous and Next post link within same Category
$index = array_search($post->ID, $ids);
$prev_post = $ids[$index-1];
$next_post = $ids[$index+1];
?>

ID) . '" title="' . $prev_post->post_title . '">Previous: ' . $prev_post->post_title . ''; } ?>

ID) . '" title="' . $next_post->post_title . '">Next: ' . $next_post->post_title . ''; } ?>
< /div>

3. Call the code in function.php of theme

/**
 * Return only the first category when outputting the previous/next post links
 */
function my_custom_post_navigation($terms, $object_ids, $taxonomies, $args){
    return array_slice($terms, 0, 1);
}

4. Add the style to [Apearance>Customize> Additional Css>]

.post-limited-navigations a {
    width: 50%;
    background: whitesmoke;
    text-align: center;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    padding: 20px 0px;
    font-size: 18px;
    font-weight: bold;
}

Results

That’s it!

Hope you have liked the simple tutorial, Don’t forget to comment and share your information in the comment box. I will try my best to give response asap.

Wish you Best of luck!

#innovative_designers

Changing Your Email Destination with cPanel Shared Hosting

cPanel offers email service that’s hosted locally on your cPanel account itself. However, if you want to use another email service, we offer a simple tool to help you route your email elsewhere using your domain name’s MX records, which control the server which receives email sent to your domain.

Using this tool, you’ll add MX records from your email provider, let them propagate across the Internet, and then remove the existing MX records. During the propagation time, email could be delivered to either your cPanel shared hosting account or your email provider.

Note: Before changing your mail destination (i.e. your domain name's MX records), we recommend setting up your email address on the new service and making sure you have the MX records you need to use.

To Change Your cPanel’s Email Destination

  1. Log in to your GoDaddy account.
  2. Click Web Hosting.
  3. Next to the account you want to use, click Manage.
  4. In the Email section, click MX Entry.
  5. From the Domain menu, select the domain name whose email destination you want to change.
  6. In the Add New Record section, enter the information from your email provider, and then click Add New Record.
 Note: To prevent possible issues with your email service, we recommend starting with Priority 10 instead of 0 for the MX records you add.

At this point, we recommend waiting up to 48 hours for the changes to your domain name’s email settings to propagate across the Internet. However, if your email isn’t currently working or you don’t mind downtime, you can proceed.

Finalize Your Changes

  1. Go to the MX Entry page.
  2. In the Email Routing section, select Remote Mail Exchanger, and then click Change.
  3. In the MX Records section, next to the Priority 0 MX record with the Destination that is your domain name, click Remove.
  4. Click Delete.

While this change propagates, email sent to your domain name might still get delivered to the email address on your cPanel shared hosting account.

How to connect Godaddy subdomain to shopify

Steps to connect Godaddy subdomain to Shopify

Following are steps to connect your godaddy sub-domain to your shopify store :

1 – Login to your godaddy account

2 – Go to my products https://account.godaddy.com/products

3 – Scroll down to your desire domain ,
3.1 – For my Domain is omnoire.com

4 – Click on DNS  settings

 

5 – Scroll down to Sub-domain area

6 – Add your domain for me the domain was http://shop.omnoire.com .

7 – Then the important settings that we need to do
7.1 – On the records section click on ADD
7.2 – and add CNAME details by following settings
7.3 – CNAME | Host  = shop | Points to = omnoire.myshopify.com / or yourstorename.myshopify.com

connecting-sub-domain-to-shopify

8 – Then settings you need to do on shopify
8.1 – Login to your shopify account
8.2 – on dashboard scroll down to online store > domains > add new domain/ Add existing domain(if not  connected any other domain)

8.3 – Verify the connection

8.4 – we are done 🙂

 

Having issues ? Hire us !

Candy Surfers Gold – Android Game

Candy Surfers Gold – Android Game

Join into Candy Surfers Gold Jump Fun Adventure , Which is

very funny game
with beautiful graphic candies for kids , collect all sweet Candy on the
game , and avoid sharp candies . this game is really fun for your kids and
let them focus trying to avoid obstacle thereUse familiar Graphic like Blue candy,red candy,yellow candy,Chocolate
cake,strawberry cake,Blueberry cake and many more cake for you . Keep
delicious game on your eye and play throgh the levelsFeel free to play candy best jump 2017 game on your phone , and share the
highscore to your friends

Candy Surfers Gold Features :

Easy To play
Simple One Tap Gameplay
Beautiful Graphic Candy
Suitable for Kids who wants to play
Fun Game with Many Levels
Many Characters Available on game
And Many More

Play store Linkhttps://play.google.com/store/apps/details?id=com.innovativedesigner.candysurfers

Download : Candy Surfers Gold

Acupuncture Website Design Services

Dear Forward-Thinking Acupuncturist, getting your site up and running can be a quite alarming thing for a few people… I should know, I’m alarmed of making sites. What’s more, in all honesty, you truly don’t should do it.

Acupuncturists (and essentially every other person besides) have more imperative things to do than work over making a compelling site for their center. When you change your mindset from working “in” your business to working “on” your business you’ll see additional time free up for more critical assignments. One approach to work “on” your business is by outsourcing a ton of the work that you don’t know how to do.

Regardless of the possibility that you know how to do a portion of the work you should at present outsource it if it’s excessively tedious. Presently what should your site resemble? Something I generally suggest (and in the event that you’ve at any point counseled with me 1 on 1 then you know the amount I stretch this) is directing people to your “crush page”.

A “crush page” ought to basically be the fundamental point of arrival of your site. This is a standout amongst the MOST imperative parts of your site! Presently the entire goal of this greeting page is to do a certain something and one thing as it were.

Get people groups data.

So for instance, my “press page” requests that you put just your first name and email deliver to subscribe to my online pamphlet (on the off chance that you haven’t done this as of now and have gotten to this site through some back connection then I emphatically prescribe subscribing to the bulletin).

This does 3 essential things.

Gives you the chance to build up an association with your prospect… Gives you an approach to remain in the cutting edge of their psyches when they need to purchase something you offer, for your situation when they need to come in for needle therapy, instead of Google another person, they go to you in light of the relationship you made…

Lastly, it encourages you move toward becoming and “master” or “big name” and when that happens you in a flash make more an incentive for yourself and your administration

So recollect, while making your site ensure you’re driving individuals to your “press page” and after that once they’ve given you their data give them coordinate, insider access to your Acupuncture site.

To More Patients and More Freedom,

Acupuncture website
Acupuncture websites
Acupuncture website design
Acupuncture website design services
top acupuncture websites
acupuncture website templates
best acupuncture websites
best acupuncture sites
acupuncture website content
qi sites
acuperfect websites
great acupuncture websites

Revolution slider fatal error on activation

but when it comes to errors and you are on nulled plugin or don’t have knowledge how to fix the errors while activating the plugin. I have experimented the following steps hope it will help you guys in future 🙂

Error 1 – Revolution slider fatal error on activation

 

 

Fatal error: Uncaught Error: [] operator not supported for strings in /home/lazatrey/public_html/wp-content/plugins/revslider/includes/framework/base-admin.class.php:71 Stack trace: #0 /home/lazatrey/public_html/wp-content/plugins/revslider/admin/revslider-admin.class.php(572): RevSliderBaseAdmin::addMetaBox('Revolution Slid...', '', Array, NULL) #1 /home/lazatrey/public_html/wp-content/plugins/revslider/admin/revslider-admin.class.php(73): RevSliderAdmin->addSliderMetaBox() #2 /home/lazatrey/public_html/wp-content/plugins/revslider/admin/revslider-admin.class.php(44): RevSliderAdmin->init() #3 /home/lazatrey/public_html/wp-content/plugins/revslider/revslider.php(164): RevSliderAdmin->__construct('/home/lazatrey/...') #4 /home/lazatrey/public_html/wp-admin/includes/plugin.php(1882): include('/home/lazatrey/...') #5 /home/lazatrey/public_html/wp-admin/plugins.php(164): plugin_sandbox_scrape('revslider/revsl...') #6 {main} thrown in /home/lazatrey/public_html/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 71

How to Fix Fatal Error Occur during activation revolution slider ?

it’s Simple

Step 1 – Go to your cpanel/hosting

Step 2 – Go to php selecter Tool

Step 3 – Change Php Version to 5.6 instead of 7.1

That’s it we are done! 🙂

Avoid conflict of AMP in WORDPRESS with old version of theme

Today I am going to show you how to remove conflict of old theme with the new AMP version .
just follow the steps and your website will be AMP ready 🙂

1

Copy paste the code in your header.php above the </head> tag and see the screenshot for help.

<script type="text/javascript">
  <!--
  if (screen.width <= 800) {
    window.location = "/amp";
  }
  //-->
</script>

or DO it VIA PHP 😉 simply Copy paste the below code in your header.php (this is the better way to do it)

 

<?php

$useragent=$_SERVER['HTTP_USER_AGENT'];

if(!is_home() && is_single() && preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i',$useragent)||preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i',substr($useragent,0,4))){

$currentURL = get_permalink();
 header('Location: '.$currentURL.'amp/');

}

?>

FAQ

which plugin is best to activate AMP in wordpress ?

I recommend to use AMP by Automatic
Download

How can I redirect users to amp version of wordpress ?

Copy paste the code in your header.php above the closing of </head> Tag.

<script type="text/javascript">
  <!--
  if (screen.width <= 800) {
    window.location = "/amp";
  }
  //-->
</script>

Hide content on time or date base wordpress plugin

This plugin provides shortcodes allowing you to display content or hide content at given dates and times. You can also combine the two to show some content at a given time, and then hide it at another time.

There’s also a separate shortcode if you want to repeat a schedule for showing and hiding content – for example to only show information about a radio show while it’s on air. Continue reading “Hide content on time or date base wordpress plugin”