Category: Uncategorized
-
Creating ICal For Custom Post Type In WordPress Without A Plugin.
In this blog, we will learn about how to add an ical feature in WordPress without a plugin. Define the following constant in your functions.php Create a file called ical.php and include it in your functions.php Then to include the link for downloadable `Ical`, use the following. Now click on that link it will download a .ics file. Click on…
-
Dynamically populate a select field’s choices for Custom Post Types— ACF
Adding the dynamic select field choices in Advanced Custom Fields can be challenging, as ACF does not offer this feature by default. In this blog, we will discuss to do just that. Register a custom field with name ‘post_type_selection’ and field type ‘Select’ Now let’s write the PHP code as described above. Notice that, we…
-
Advance To A Particular Slick Slide or Center using slickGoTo
In this blog, we will learn how to advance to a particular slide using slick carousel’s slickGoTo method. Step 1: Get the carousel Element and all the slide items. Step 2: Now get the current Slide. Step 3: Now using the currentSlideIndex move the carousel item position to the current index. Please note that this will always keep the…
-
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: