Benefits of Using Laravel Blade Templates vs. PHP Templates Laravel Blade templates offer a clean and efficient approach to writing views compared to traditional PHP templates. One of Blade’s major benefits is its lightweight syntax. It allows developers to write expressive code without the clutter of standard PHP, improving readability and reducing code duplication. Blade
Author: imranhsayed
Setting Up Tools For A New Macbook
Posted onDownload OhMyZsh Install Homebrew Install NVM Install PHP Install Docker Desktop Install Composer Install Sequel Pro Create your SSH Key Open the config file and add Then run Install MySQL via Homebrew To stop the services in-case you have it running through docker run:
Setup And Run Cypress Tests With Your WordPress Plugin
Posted onIn this blog, we will learn how to setup and run Cypress test with your WordPress plugin. Source Code: (for smart people 😉) https://github.com/imranhsayed/aquila-features/pull/7 Step 1: Install Cypress( Assuming you already have a package.json file in your project, else run npm init first. This will install cypress locally in node_modules of your project. Step 2:
Men Who Inspire – Interview Of Andy Turner By Imran Sayed
Posted onTell me a little bit about yourself and your work Every week I meet with professionals from engineers to dentists who have the same problem – achieving the IELTS score they need. They come from places like the Middle East, Asia, Canada, and even the UK. They all want to emigrate to countries like Australia,
Create Custom Post Type Search Result Page In WordPress
Posted onIn 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
Apply Different CSS Styles Based On Window Size (Responsively) Without Using JavaScript Window Event
Posted onSwitching CSS classes or properties based on screen size can be achieved using JavaScript as shown below. But handling such things with JavaScript window resize event is not as efficient to achieve it with CSS. Using Tailwind For example, if we want to create a feature where the child menu opens on mouseenter event and
Adding Local Fonts or Google Fonts In Tailwind CSS For WordPress Theme
Posted onIn 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
Load More Post Or Infinite Scroll For A Single Post In WordPress
Posted onIn 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
Connect Python To MySQL Database With Pymysql And PhpMyAdmin.
Posted onIf 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. PyCharm — A Python IDE MAMP — A local development environment. ( You can also use XAMP ) PhpMyAdmin — MySQL Workbench. Pymysql module — A
Advance To A Particular Slick Slide or Center using slickGoTo
Posted onIn 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