Author: imranhsayed
-
Adding Debounce To A Window Resize Event Using Underscore In WordPress
In this blog, we will learn about how to add a debounce to the window’s resize event using Underscore in WordPress. WordPress already provides you access to the underscore library. All you have to do is add that as a dependency while enqueing the JavaScript file where you need it like so: Then we can…
-
Connect Python To MySQL Database With Pymysql And PhpMyAdmin.
If we already have a PhpMyAdmin workbench, we can not only connect PHP but also Python to a MySql Database. In this blog, we are going to use the following tools and packages. Let’s assume you have already installed and set up PyCharm, MAMP with PhyMyAdmin. Step One: Install pymysql You can install it in…
-
Using MySQL Client With MySql Server Or MAMP — Run MySQL via Command Line ( CLI )
In this blog, we will learn about how we can use the MySql client in the terminal to execute MySQL commands. We will discuss two scenarios of using MySQL client: The key task after installing one of the above would be to just provide the PATH where MySQL is installed in your .bash_profile or .zshrc file. 1. With MAMP…
-
Installing Windows 10 On Mac Using BootCamp — Switching between Windows And Mac
The first thing we need to do is download Windows ISO Disk Image FileThe windows will be installed in a partitioned disk. Please make sure you have enough space ( over 50 to 60GB on your Mac ) . Install Windows on Mac Go to Applications > Utilities > Boot Camp Assistant > Click on it.…
-
Using Chassis For WordPress Development
In this blog, we will learn about how to set up chassis for WordPress development. Note:In case your themes and plugins are not inside the root of`content`, but inside content/wp-content, then be sure to add that path in `local-config-db.php` like so : and also in the root file wp-config.php like so: Migrating Database. PHPMyadmin
-
Load more Post/ Infinite Scroll For A Single Post In WordPress
In this blog, we will learn about how to create a load more posts feature for a single post page in WordPress. Create None for Security and Enqueue Scripts Let’s Create a nonce for AJAX request and pass the nonce to our JavaScript file which we will create later in the blog. Every time a…
-
Remove WordPress Default Categories And Tags Taxonomies Or Unregister
If you would only like to remove it from the WP Admin menu use the below code. If you want to completely unregister them use the below code:
-
Adding Rewrite Rules In WordPress Tutorial
In this blog, we will learn about how to create rewrite rules in WordPress. The problem Let’s say we want to have a monthly archive page for a term. WordPress has a term archive page, which is /{taxonomy}/{term}/ , but does not have a monthly archive page for that term. This means /{taxonomy}/{term}/{year}/{month}/ does exist by default. The solution…
-
Get Archive URL In Array Format With wp_get_archives And Regex
In this blog, we will learn how to extract just the monthly archive URL/path , instead of markup. Output
-
Change the Archive Link Structure And Add Rewrites For Custom Post Type In WordPress
In this blog, we will learn about how to change the URL structure and add rewrites for Custom Post Type Archive Pages Let’s add re-writes, That’s all folks!