Adding PHP

This is how unforgiving PHP is, if there’s an error in the code, your site can turn into a blank white page. To fix this, simply go into your server and delete the code you added. Access to your server via FTP or File Manager (through your hosting control panel). Apache’s .htaccess files allow per-directory … Read more

How to get rid of block-library/style.min.css?

How to Absolutely Remove WordPress Gutenberg / Block Editor External CSS and Javascript Files? By default the Gutenberg Block Editor loads its default CSS/stylesheet on the front-end of your WordPress site.  <link rel=”stylesheet” id=”wp-block-navigation-css” href=”https://yourdomain.com/wp-includes/blocks/navigation/style.min.css?ver=6.8.1″ media=”all”> <link rel=”stylesheet” id=”wp-block-image-css” href=”https://yourdomain.com/wp-includes/blocks/image/style.min.css?ver=6.8.1″ media=”all”> It’s a core style sheet for the core block styles. Remove Gutenberg CSS Library … Read more

GeneratePress vs Astra vs Default Theme

GeneratePress GeneratePress doesn’t offer starter sites in its free version (but does with the premium version). Additionally, it doesn’t offer any backend dashboard settings in the free version. So when you install the free theme, your first step is to jump right into the native WordPress Customizer: Astra Astra offers starter sites even with its … Read more

WordPress creates image size variants based on resizing images on posts?

How to Dynamically Resize WordPress Image On-The-Fly On View without creating additional file? How to resize WordPress images on upload to specific height and width without cropping it? I need the image to be “contained”. When a user uploads an image, WordPress will generate as many images as you’ve declared with add_image_size(). There is one … Read more

Disable WordPress from generating image variants

How many image variants WordPress secretly generates? Depending on the size of the image that is uploaded, images with sizes of 768px, 1536px, 2048px and 2560px (maximum size) may also be created to be used with the scrset HTML attribute. You may think that unchecking box of creating images variant sizes in the WordPress admin … Read more

What is WordPress image srcset?

Since WordPress 4.4 release of December 2015, native responsive images is supported by srcset and sizes attributes. By adding srcset attributes for responsive images, it allows browsers to choose the most appropriate image size based on the user’s device. WordPress automatically creates several sizes of each image uploaded to the media library. WordPress Core includes … Read more

What is ajax search?

What is ajax search? Ajax search is a kind of search autocomplete that displays search results for every keystroke. The  search results are updated dynamically on a webpage without reloading the entire page. Ajax search stands for Asynchronous JavaScript and XML search. I currently have 1 million custom posts. What you don’t understand, is that … Read more

Did Gutenberg Invent The First Printing Press?

Johannes Gutenberg was a German inventor who lived during the 1400s and is often credited with inventing the printing press. The technique of “block printing” was well-known at the time: A page of text could be carved into a block of wood and then used to create multiple copies of a page over and over … Read more

WordPress vs Drupal vs Joomla

WordPress = car with aftermarket mods Drupal = custom built racing car Joomla = bicycle assembled at a scrapyard WordPress is a blogging tool that people have contorted into a CMS. Reddit.  If you are a site builder (non-programmer) Drupal is going to be a steep curve. If you’re not familiar with Composer and command line … Read more