How to integrate bulk message API with key using php

API is the HTTP to SMS API. This is a Restful API that uses simple query parameters via URLs, however, we encourage our clients to use POST requests when submitting a request to our server. Using a POST request the data will be secure inside the body of the POST request and not appended as … Read more How to integrate bulk message API with key using php

How to add to cart without reload page using php code

we are add to cart in e-commerce website without reload page use the php simple code. and get id the cart in session that are the send value through cart button with session. //Get session value $_SESSION[‘cart’]; if(isset($_GET[‘action’]) && $_GET[‘action’]==”add”){ $id=intval($_GET[‘id’]); if(isset($_SESSION[‘cart’][$id])){ $_SESSION[‘cart’][$id][‘quantity’]++; } else{ //Get product id $sql_p=”SELECT * FROM products WHERE id={$id}”; $query_p=mysqli_query($con,$sql_p); … Read more How to add to cart without reload page using php code

WordPress Actions, Filters, and Hooks : A guide for non-developers

Hooks are provided by WordPress to allow your plugin to ‘hook into’ the rest of WordPress; that is, to call functions in your plugin at specific times, and thereby set your plugin in motion.In WordPress code there are numerous pre-defined actions or hooks that allow developers to add their own code at these points. There … Read more WordPress Actions, Filters, and Hooks : A guide for non-developers

Add columns to admin orders list in WooCommerce backend

You want to add some columns to your order listing page in the woocommerce admin area. So you if you want to add some columns in the orders Admin list page (in backend) ADDING COLUMNS IN WOOCOMMERCE ADMIN ORDERS LIST In the example below, we add 2 new custom columns, before existing “Total” and “Actions” … Read more Add columns to admin orders list in WooCommerce backend

How to Optimize WordPress Robots.txt File for SEO

You are lucky that WordPress automatically creates a Robots.txt file for you. Having this file is half of the battle. You have to make sure that Robots.txt file is optimized to get the full benefits. What is Robots.txt File? Robots.txt file is a text file which instructs search engine bots how to crawl and index … Read more How to Optimize WordPress Robots.txt File for SEO

How to Fix “Brifefly unavilable for Scheduled maintenance. check Back in a minute” Error

maintenance-error-wp

“Briefly unavailable for scheduled maintenance. Check back in a minute” is an error in WordPress, which usually occurs when an update is not successfully completed. This is the common problem in theme update and plugins updates.the update process may timeout, leaving your site in maintenance mode and inaccessible. In this article, I will familiarize you with … Read more How to Fix “Brifefly unavilable for Scheduled maintenance. check Back in a minute” Error

Use ajax without a plugin in wordpress

Plugin code is just… code, it can go in a themes functions.php, or a plugin file, there’s no magical or special difference other than the order they’re loaded . The problem you’re facing is that you’ve tried to put your logic inside the search page. Instead, the code needs to be in functions.php which is always loaded. How … Read more Use ajax without a plugin in wordpress

Get values from an options page from Acf Repeater

we can be used  get field from an options page, however, a second parameter is required to target the options page in using while loop and get filed value show and front and for get display filed <p><?php the_field(‘field_name’, ‘option’); ?></p> <?php $variable = get_field(‘field_name’, ‘option’); // do something with $variable ?> <?php if( have_rows(‘repeater’, … Read more Get values from an options page from Acf Repeater