What is AJAX AJAX (Asynchronous Javascript and XML), enables websites to dynamically fetch and display content without the user moving away from the current page. This makes more interactive user experience, and can speed things up too since a whole new webpage needn’t be reloaded. This means that we can update a part (or parts) … Continue reading WordPress Ajax
Category: Wordpress
WordPress is the most popular CMS in the world. This caused that it is the target of the most number of hackers attacks. WordPress is not secured out of the box, but if you remember few rules of security you could minimize this risk: At the beginning: Do not use login same as domain name … Continue reading Tips To Secure Your WordPress Site From Hacking
1) What is WordPress? Word press is a best Open Source CMS which allows it to be used free of cost. You can use it on any kind of personal or commercial website without have to pay a single penny for it. It is built on PHP/MySQL (which is again Open Source) and licensed under GPL. … Continue reading WordPress Interview Questions and Answers
Here is tips for how to protect your wordpress site from hackers. Following topics help to protect your wordpress site: 1. Avoid using Defaults There are multiple ways that one can use to sign up for their WordPress site. So be careful about your default usernames while selecting your hosting plan or domain name. Most … Continue reading Secure WordPress Site from Hackers
Here We are going to learn how to insert record into table and get last insert Id in WordPress In Wordpress, Record insertion into table is quite simple. 1. Create an Object of $wpdb; 2. Set the data in an Array. 3. Set the table name. 4. Use insert function to insert record. 5. In insert … Continue reading WordPress Insert Data in MySQL
Creating custom meta boxes is extremely simple, at least it is once you’ve created your first one using the tools baked into WordPress’ core code. In this tutorial, I’ll walk you through everything you need to know about meta boxes: Creating meta boxes. Using meta boxes with any post type. Handling data validation. Saving custom … Continue reading How To Create Custom Post Meta Boxes In WordPress
Registering Additional Image Sizes for your Theme You will need to start by adding the support of post thumbnails by placing the following code in your theme’s functions.php file: 1 add_theme_support( 'post-thumbnails' ); Once you enable the support for post thumbnails, you can now use the functionality of registering additional image sizes with the function … Continue reading How to Create Custom Image Sizes in WordPress
Do You Want To Add Custom Fonts Or Web Fonts In WordPress wysiwyg editor? Here is Solution For This. Firstly Add Fonts In Theme Then Once Fonts Are Added And Ready To Use, Go To Function.php of Your Theme And Add This Code In function.php if ( ! function_exists( 'wpex_mce_google_fonts_array' ) ) { … Continue reading Add Fonts In WordPress WYSIWYG Editor
In order to add the “Add to wishlist” button into your custom built content-single-product.php you must add this line to the top of your file: global $wishlists; Then add this code where you want the button to appear: $wishlists -> add_wishlist_form(); If you need it without the quantity field just use this instead for the … Continue reading Woocommerce Wishlist Button on Product Detail Page
If You Have Error Like Requested page not found When Changing URL, We Have Solution For This First Go To Setting->Permalinks And Change Permalink To Default And Again Change Into Whatever You Need. Then Save And Check If Problem Solved If Still Problem Occurs Then Go To Apache Of Your Server Find Apache Module Named … Continue reading Requested page not found WordPress