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

WordPress Security by obscurity is underrated

People have been misinterpreting “security by obscurity is bad” to mean any obscurity and obfuscation is bad. Instead it was originally meant as “if your only security is obscurity, it’s bad”. Many serious real-world scenarios do use obscurity as an additional layer. If only because sometimes, you know that a dedicated attacker will be able … Read more

What is WordPress Image permalink vs Image URL?

Why do wordpress use image attachment post instead of image url? How to insert an image into a post without linking to the attachment page? Ah, you have discovered attachment. The WordPress software automatically creates an attachment page every time you add an image to a post or page, and is essentially a separate page … Read more