<?php wp_footer(); ?> and <?php get_footer(); ?> are both PHP functions used in WordPress templates, but they serve different purposes: <?php wp_footer(); ?>: Purpose: This function is used to insert essential scripts and styles in the footer of your WordPress site. Usage: It’s typically placed in the footer.php file of your theme, just before the… Continue reading php wp_footer and php get_footer
Category: Wordpress
phpMyAdmin: How to Convert tf8_general_ci Database to utf8mb4_unicode_ci
Back up your WordPress database. Go to your WordPress folder and open your wp-config.php file using Text Editor. Find this line: define(‘DB_CHARSET’, ‘utf8′); Change the utf8 text to utf8mb4 then save the file. If utf8mb4 is already set in your wp-config.php continue with the next step. Follow the instructions in the image below. 3. Log into your phpMyAdmin using your MariaDB 10… Continue reading phpMyAdmin: How to Convert tf8_general_ci Database to utf8mb4_unicode_ci
what is Perfmatters Plugin in wordpress
Perfmatters is a WordPress plugin designed to help website owners improve the performance and speed of their WordPress websites. Perfmatters offers various features and optimizations to enhance website performance, such as: Script and Asset Control: It allows you to disable unnecessary scripts and assets on a per-page basis, reducing the number of HTTP requests and… Continue reading what is Perfmatters Plugin in wordpress
What is Plugin Organizer plugin in WordPress
The “Plugin Organizer” plugin for WordPress is a tool that allows you to manage and control the activation of plugins on your WordPress website. Here’s how it typically works: Plugin Priority: Plugin Organizer lets you set the priority of individual plugins. This means you can determine the order in which plugins are loaded on your… Continue reading What is Plugin Organizer plugin in WordPress
How To Get a List of All Active Plugins Programmatically
To get a list of all active plugins programmatically in WordPress, you can use the WordPress API functions. WordPress provides functions that allow you to retrieve information about active plugins. You can use either the get_option function or the wp_get_active_and_valid_plugins function. Here’s how you can use both methods: Method 1: Using get_option: Using wp_get_active_and_valid_plugins: Both… Continue reading How To Get a List of All Active Plugins Programmatically
How to fetch authors and published articles from wordpress?
Here is a code snippet that helps to fetch all the authors and their corresponding articles from your wordpress backend:
How to fetch articles from wordpress backend based on published date?
Here giving a code snippet which would help to fetch all articles from your wordpress backend based on the published date.
Set character limit in WordPress ACF texts
Sometimes, you might one to limit the character of text that user input in the text or text area field to prevent user input from breaking the design of the website. This great feature in included in the ACF plugin. What you have to do is to get into the ACF field and select the… Continue reading Set character limit in WordPress ACF texts
Fix the firewall blocking in Plesk panel ( Cors issue )
Some times there might be issue when using some rest API end points especially using web designing platforms like WordPress , Shopify etc. What makes issue for me is that when using the REST API endpoint for fetching users from wordpress. Its found to be that it was making a 403 server issue on fetching… Continue reading Fix the firewall blocking in Plesk panel ( Cors issue )
How To Increase the Maximum File Upload Size in WordPress
The easiest way to modify your file upload limit is to install a simple WordPress plugin designed for the task. There are many options available. We recommend the following plugins: Tuxedo Big File Uploads Upload Larger Plugins Upload Max File Size Maximum Upload File Size Simply install a plugin, activate it, and follow the instructions.… Continue reading How To Increase the Maximum File Upload Size in WordPress