Create Custom Post Type Search Result Page In WordPress

Create Custom Post Type Search Result Page In WordPress

Posted on

In this blog, we will learn about how to create a custom post-type search result page in WordPress. We need to take the following steps: Create a custom search page template ( {custom-post-type}-search.php ) Load your template using ‘template_include’ filter  Create a custom search form template ( {custom-post-type}-searchform.php ) Step One — Custom Search Page Template Create a

Read More

Adding Local Fonts or Google Fonts In Tailwind CSS For WordPress Theme

Adding Local Fonts or Google Fonts In Tailwind CSS For WordPress Theme

Posted on

In this blog, we will learn about how to add local fonts in TailwindCSS.There are several reasons why you should include fonts locally. Watch this video to know more. Step 1: Download the Fonts Locally Use Google Fonts Helper Place the fonts into the fonts directory. Step 2: Copy the fonts code into fonts.scss Step 3: Add the

Read More

Load More Post Or Infinite Scroll For A Single Post In WordPress

Load More Post Or Infinite Scroll For A Single Post In WordPress

Posted on

In this blog, we will learn about how to create a load more posts feature for a single post page in WordPress. Create a nonce and pass it to the JavaScript file, so it can be verified. We will create a function that renders the template with load more button. Create a function that verifies

Read More

Saving the ACF JSON locally to your plugin or theme file | Save, Load and Sync Advanced Custom Fields JSON

Posted on

Saving the ACF JSON files locally allows you to have version control over your field settings! Let’s learn how to do that. Create an acf-json directory Create a directory called acf-json in your plugin. Save the JSON Add the following in your functions.php file Now when you hit save/update for each ACF Group , it is going

Read More

Submitting A New WordPress Plugin And Uploading It On SVN

Posted on

In this blog you will learn about uploading a new approved plugin or updating an existing WordPress plugin on svn. 1. Adding New Plugin to WordPress   Go to below link and upload your plugin :https://wordpress.org/plugins/developers/add/ Add read me file Screenshots Screenshots go in the /assets folderthe filename for screenshot should be screenshot-1.png, screenshot-2.png and the

Read More

Slick Slider WordPress Without Plugin | Slick Carousel

Posted on

In this blog we will learn how to add a slick carousel in a WordPress Theme without using any plugins. There are couple of ways you can add a slick carousel in WordPress: Using slick-carousel npm package, or, Download required slick files. In this blog we will learn the second way, by downloading the slick files.

Read More

Setup Tailwind CSS in a WordPress plugin or theme

Setup Tailwind CSS in a WordPress plugin or theme

Posted on

In this blog we will discuss how we will setup Tailwind css in a WordPress plugin or theme. Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override. If you would

Read More