Requirements A self-managed VPS or dedicated server with Ubuntu 18.04 running Apache 2.4.xx. A registered domain name with working HTTPS (TLS/SSL). HTTP/2 only works alongside HTTPS because most browsers, including Firefox and Chrome, don’t support HTTP/2 in cleartext (non-TLS) mode. Step 1: Install Apache2 Per default it will be apache2 version 2.4.29 what is enought for http2… Continue reading How to Enable HTTP/2 in Apache2 on Google Cloud Server
Category: Wordpress
Contact Form to Any API – WP plugin
What is contact form 7 (cf7) plugin?CF7 is a WordPress plugin. Multiple contact forms can be managed by Contact Form 7, and you can dynamically adjust the form and the email’s contents with easy markup. The form supports CAPTCHA, Akismet spam screening, Ajax-powered submission, and other features. The most effective plugin to deliver data from… Continue reading Contact Form to Any API – WP plugin
Responsive font size
he text size can be set with a vw unit, which means the “viewport width”. That way the text size will follow the size of the browser window. <h1 style=”font-size:8vw;”>Text1</h1><p style=”font-size:2vw;”>Resize the browser window to see how the font size scales.</p>
VS Meta Description Plugin – WP
About To add a meta description to your WordPress website, use this simple plugin. The meta description is used by search engines like Google and Bing to display search results. The post category and tag “Description” as well as the post and page “Excerpt” can be used as meta descriptions. How to Use After installation… Continue reading VS Meta Description Plugin – WP
Script to automatically create alternative text to each image tag
This function checks whether each image tag that contains alternative text or not. If it does not exist, then it will add ‘alt’ attribute. The value for that attribute will be the name of the image which fetches from the URL of the image. Advantages of this method compared with previous methods No need of… Continue reading Script to automatically create alternative text to each image tag
Fetching alternative text from image media URL.
We can fetch alternative text of an image using its corresponding media URL.
How to fetch Alternative text from ACF
→Go to ACF field creation settings→Set the Image field type to the ‘image array’ option.→We can get the URL and Alternative text from its get_field().
Jetpack Plugin in WordPress
Tools for WordPress performance, marketing, and design — WordPress professionals created Jetpack to speed up and secure WP sites while also increasing traffic. By default, it is already installed with the latest WordPress versions ( in 2022). Your website will automatically be backed up in real time, and you may quickly restore it to any… Continue reading Jetpack Plugin in WordPress
How to use relative URL’s in WordPress
Normally Relative URL’s we use:src(“/path/image.png”) This method is not applicable to WordPress.Use get_template_directory_uri() function in front of relative URL to work as same.src(“<?php echo get_template_directory_uri() ?>/path/image.png”) In some themes in wordpress, this may not work. Add the below code for its functioning: path: wp-includes/theme.php
OneSignal – Web Push Notifications – WP Plugin
Increasing user engagement may be accomplished quickly and painlessly using OneSignal. Sending visitors targeted push alerts with OneSignal will ensure that they continue to return to your site. The installation only takes a few minutes to complete. OneSignal is a WordPress VIP Gold Partner, which means that it has undergone extensive testing to ensure that… Continue reading OneSignal – Web Push Notifications – WP Plugin