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

Row Indexing in WordPress

It may be important to determine the row number of a Repeater or Flexible Content field (index). His function accomplishes this without the requirement for a special $i++ counter. Returns the current row index within a have_rows() loop. Method : This example demonstrates how to use this function to output unique ID’s into each row’s wrapper. This… Continue reading Row Indexing in WordPress

Category base and Tag base Permalink in WordPress

On the WordPress dashboard, go to Settings → Permalinks Screen. Under the Optional settings area of the same screen, you may also set custom category and tag bases for your site. The prefixes Category base and Tag base are used in category and tag archives’ URLs. Example: example.net/category_base/category_name example.net/tag_base/tag_name Category and tag are the default… Continue reading Category base and Tag base Permalink in WordPress