→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().
Category: Wordpress
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
Custom Twitter feeds Plugin – WordPress
This Plugin helps to integrate Custom twitter details with the desired Website. The main features of Custom Twitter feeds Plugin are: Completely Customizable – by default the Twitter feeds will inherit your theme’s styles. The content of your Twitter feed can be crawled by search engines, giving SEO value to your site. Completely responsive and mobile-optimized –… Continue reading Custom Twitter feeds Plugin – WordPress
Flexible Content in ACF plugin – WordPress
This concept provides a simple, structured, block-based editor. This field type functions as a blank canvas on which you can establish, generate, and manage content with total control, using layouts and subfields to customize the accessible blocks. Settings LayoutsDefines the layouts available when editing content. Each layout contains Label, Name, Limit, Display and Field settings.… Continue reading Flexible Content in ACF plugin – WordPress
To get the page title with the page ID – WordPress
To get the Title of the page normally we use the_title()/get_the_title() function. But in some cases, the page title may not display as expected. Instead of page details, it may display other contents ( for eg. its inner page/post contents). So, for avoiding such situations, just add the corresponding page ID along with the functions.… Continue reading To get the page title with the page ID – WordPress
Error: Failed to connect to FTP Server localhost/WordPress
For the purpose of importing data from server to local, there we need to follow the mentioned steps below: In Dashboard, go to Tools → Import →download the required default plugin. While downloading the plugin, sometimes it shows an error. ERROR: To perform the requested action, WordPress needs to access your web server. Please enter… Continue reading Error: Failed to connect to FTP Server localhost/WordPress
Page/Post showing 404 error- WordPress
Sometimes, after the creation of the page/post, the auto-created URL redirects to 404 (page not found). There are some reasons for the causing same. Issue in Structure of permalink created. Update your permalink settings through the WordPress dashboard. Go to Settings → Permalinks and click Save Changes (you don’t need to make any changes – clicking Save… Continue reading Page/Post showing 404 error- WordPress
Custom Search by Title Functionality
HTML JS