WordPress: Fix permalink issue “Not Found” in Ubuntu

run command: nano  /etc/apache2/apache2.conf Change from “AllowOverride None” to “AllowOverride All” Save and close Now run: a2enmod rewrite Now run sudo service apache2 restart It should work now.

WordPress: Best Plugin to improve your website speed in google

Today I wasted many hours to increase my website’s speed in google PageSpeed insights but I could not. I was in red color. But then I found following plugin that surprisingly increased my page speed. And now that website entered in Green on google: Plugin: GZip Ninja Speed URL: https://wordpress.org/plugins/gzip-ninja-speed-compression/ Further I would like to share my […]

WordPress: Best Plugins to migrate website form one hosting to another hosting

Alright! Today I found an awesome, very useful and time saving plugin that can save your a lot of time if you are willing to migrate your wordpress website from one server to remote server. Just install this plugin: Welcome to WP Clone by WP Academy First install this plugin in first server. Take backup and […]

WordPress: How to display custom taxonomy terms in select field in options panel of redux framework?

Its very easy to show custom taxonomies as select options list in the options panel of redux framework. I used following paremeter to get list of custom taxonomies: ‘fields’ => array( array( ‘id’ => ‘slider_type’, ‘type’ => ‘select’, ‘title’ => __( ‘Select Slider for Homepage’, ‘redux-framework-demo’ ), ‘subtitle’ => __( ” ), ‘desc’ => __( […]

WordPress: how to add custom classes in wp_nav_menu using custom walker calass?

Sometimes we need to add custom classes in the the navigation menus created by wordpress’ function ‘wp_nav_menu’. For example we want to add custom classes for dropdown menus, in such spcific cases we there is no option to add custom class for dorpdown menu. So in that case we can use walker abstract class. We […]

WordPress: How to auto include header and footer for every template in wordpress?

Put following code in functions.php to enable auto header, footer include in every custom template you will create. add_filter( ‘template_include’, function( $template ) { get_header(); include $template; get_footer(); return FALSE; });  

how to create custom admin page?

In this article I’ll show how to create custom page for admin panel. <?php // Following code is just example to show how this works. So obviously you can alter this or write your own code for UI // function that will prpeare User Interface for our New Admin Page function az_admin_custom_page() // You can […]

How to setup Google reCaptcha Version 2.0?

To setup Google reCaptcha oepn url https://www.google.com/recaptcha/admin and fill form as shown in the screenshot below: After registration open newly created reCaptcha site and read the guide provided by google as shown below: Now paste <script src=’https://www.google.com/recaptcha/api.js’></script>  in <head> or anywhere before use of captcha. And then paste <div class=”g-recaptcha” data-sitekey=”6LcPQggTAAAAAAw-SQm8KTEW-N1CBuzBz_gW71UT”></div> to the place where you want to show captcha […]

WordPress: How to submit custom form data using Ajax?

In wordpress we send data using same ajax method as we do in regular non-wordpress website.  The difference is few additional data variables and filter on serverside. To Implement this I created a template page named “Request a Quote” in request-a-quote.php, created new wordpress and assigned that template to this page.

How to create Custom 5 Stars Rating System in WordPress?

In this article I’ll show that how to create custom 5 stars Rating system in wordpress. I’ll create WordPress Short Code to place rating anywhere in any post. Steps: 1- Create Directory “az_rating” in the root folder of your active theme. 2- Create rating.php in az_rating/ folder. In this file we will write all code for […]