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
Author: Karishma K K
Repeater in ACF Plugin – WordPress
The main usage of this section is, it provides a neat solution for repeating content. eg. Slides, Employee details, …. etc. This field type acts as a parent to a set of subfields that can be repeated again and again. Sub Fields : Defines the set of repeatable subfields. Collapsed : Enables each row to… Continue reading Repeater in ACF Plugin – 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
Structuring Permalinks in WordPress
The permanent URLs of your website’s posts, pages, categories, and other archive pages are known as permalinks. The name “permalink” comes from the fact that these URLs are permanent and should not be modified. When you wish to share your post on social media, simply share the permalink. When another blogger wants to connect to… Continue reading Structuring Permalinks in WordPress
Post Types in WordPress
WordPress comes with a number of distinct post kinds by default, all of which are stored in the database under the wp posts table. Default Post Types Posts Pages Attachments Revisions Navigation Menus Custom CSS Changesets POST most used by blogs posts are shown in reverse chronological order by time PAGES They can also be arranged in a hierarchy, with one page being the parent or child of another, resulting in a page structure. ATTACHMENTS These hold information… Continue reading Post Types in WordPress
Certbot Free SSL Certificate installation issue in GCP
Issue: Another instance of Certbot is running while working in the GCP shell, if the ssl certification installation process or its setup get stopped due to some technical issues (like, system shutdown, power off, network failure etc.), then there have to start the process from the beginning. So, if we start it again there is… Continue reading Certbot Free SSL Certificate installation issue in GCP
How to install WP-stateless Plugin
Purpose of use: To integrate Google Cloud Storage with your WordPress site. Free integration available. automatically upload files to GCP upload from the wordpress media. Steps to follow: Install and Activate WP-Stateless. Goto → media → stateless settings Add bucket name Create a service account in GCP. Goto IAM & Admin → Service Account →… Continue reading How to install WP-stateless Plugin
Issue faced on GCP bucket Storage
Issue: After adding an image Link from GCP, it displayed successfully. But, when browsing from an external email ID, the image is not displaying. If you are facing the above-mentioned issue, here is the solution… From the above-given screenshot, the image is not displayed in the post, but instead, its alternative text ( ProjectManagementImage) has… Continue reading Issue faced on GCP bucket Storage
Google Cloud Storage
[Including the steps for offloading WordPress Media without using plugins.] Bucket CreationGoto Cloud Storage → Browser → Create Bucket[Text Wrapping Break]Name should be unique id. File UploadingClick on newly created bucket → Upload file → select image Copy URLClick on image → copy the Authenticated URL from the Object Details. Goto wp-admin Dashboard → goto… Continue reading Google Cloud Storage
Purchasing a Domain name and pointing to GCP
The domain name is provided by different Host server websites like GoDaddy. Here for learning purposes, I purchased a free domain from the most preferred provider called freenom. (https://www.freenom.com) First, sign in to the GCP account Network services → cloud DNS → Create DNS Zone ADD RECORD SET → With and without WWW.[Text Wrapping Break] Freenom… Continue reading Purchasing a Domain name and pointing to GCP