Author: wavesdream

Linux MySQL commands

SET FOREIGN_KEY_CHECKS = 0;<br>DROP TABLE IF EXISTS <code>table1, table2, table3, …;SET FOREIGN_KEY_CHECKS = 1;</code> Take Backup of Database

Read More

WordPress custom YouTube feed plugin

The Custom YouTube Feed plugin allows WordPress site owners to display videos from multiple YouTube channels and individual videos in an attractive grid layout. The plugin features pagination, popup video playback, and automatic caching for improved performance. Key Features Installation Requirements Usage Shortcode: Add videos to any post or page using the shortcode: Admin Settings […]

Read More

Fetch data from Google Sheet and show in HTML using PHP

This documentation explains how to use the provided PHP code to fetch data from Google Sheets and display it in a custom layout using HTML/CSS. Setup Instructions Step 1: Get Your Google Sheet ID Open your Google Sheet in a web browserLook at the URL in the address bar – it will look like:https://docs.google.com/spreadsheets/d/BmzaSyBzQ0cRTrbf_vxrB75nh8AoV3BtawPiiCQ/edit#gid=0The long […]

Read More

Disable WordPress Comment System Completely

Here’s a comprehensive function to completely disable the WordPress comment system. Add this code to your theme’s functions.php file or in a custom plugin. The function will: Additional Steps for Stubborn Comment Forms {.wp-block-heading}If the comment form still appears after adding this code. Check your theme files: Some themes hard-code the comment form. Look in […]

Read More

Block HTtrack or any other web scrapper

There are several web scrappers tools are available by which your website can be do nloaded as static files. The simplest way to block these web scrap ers is to add the following blocking bots code in your website .htaccess file.

Read More