Tips, Tutorials, SEO, WordPress, Joomla, Web Design

How to Use ajaxurl in WordPress

In the WordPress backend, there is a global ajaxurl variable defined by WordPress itself.
Whereas for the frontend, we have to define the variable by ourselves as it is not created by WP.

The function we use is called wp_localize_script. It takes three arguments:

  • script-handler-name, the registration handler of the ajax-example.js script.
  • A

Read More

WordPress Hide Admin Bar - WordPress Hide Admin Bar

WordPress Hide Admin Bar

Hide / Disable Admin Bar for All Users Except for Administrators. Paste this code in your theme’s functions.php file

add_action('after_setup_theme', 'remove_the_admin_bar');
function remove_the_admin_bar() {
 

Read More

check if the SIM card is 4G enabled 800x300 - GP, Banglalink, Robi, Airtel, Teletalk 4G Sim Check

GP, Banglalink, Robi, Airtel, Teletalk 4G Sim Check

Bangladeshi mobile operator’s GP, Banglalink, Robi, Airtel, Teletalk have started 4G service in selected areas after receiving the license for the fourth-generation (4G) mobile internet. The top three Bangladeshi carriers are now live with 4G service with about 400 base transceiver stations (BTS) in major cities.

However, to enjoy 4G, customers’

Read More