How to set conditions for a custom field in ACF – WordPress plugin

To set conditions for a custom field in Advanced Custom Fields (ACF) plugin for WordPress, follow these steps: Create your custom field group in the ACF interface. Click on the “Add Rule” button to add a condition. Choose the rule you want to set. You can choose from a range of options including “Page Template”,… Continue reading How to set conditions for a custom field in ACF – WordPress plugin

List of Basic SSH Commands

ls Show directory contents (list the names of files).cd Change Directory.mkdir Create a new folder (directory).touch Create a new file.rm Remove a file.cat Show contents of a file.pwd Show current directory (full path to where you are right now).cp Copy file/folder.mv Move file/folder.grep Search for a specific phrase in file/lines.find Search files and directories.vi/nano Text… Continue reading List of Basic SSH Commands

How to export WordPress posts to Microsoft Excel

First, navigate to Tools › Export and choose the type of data that you want to export. Data is divided into various article types by WordPress, including posts, pages, WooCommerce products, and real estate properties. By choosing it here, you can export any custom post category or taxonomy. Go to Microsoft Excel > Blank Workbook… Continue reading How to export WordPress posts to Microsoft Excel

How to Enforce One Category Per Post in WordPress

The ‘Select All Categories and Taxonomies‘ plugin is the simplest way to limit users and authors to a specific category. Users can add several categories to a post by checking the category’s box by default. The default category checkboxes are replaced with radio buttons by this WordPress plugin. First, you’ll need to install and activate the Select All Categories and Taxonomies plugin. After activation, navigate to Settings » Moove taxonomy buttons.  Then, in the ‘Category’ dropdown, select ‘Radio button.’

How to restrict Public email service

To restrict it to company mail IDs only. In other words, no free email service provider’s mail id would work for registration. A condition can be used: if(/(aol|gmail|yahoo|hotmail|outlook|icloud|zoho|titan|protonmail|gmx|yandex|tutanota).com$/.test(mail1)) {jQuery(‘#validmail_’+type).html(” Please enter your Business email”);return false;} The restricted email service provider names:  aol  gmail  yahoo  hotmail  outlook  icloud  zoho  titan  protonmail  gmx  yandex  tutanota 

Warnings in Firefox Web Console – Mixed Content error

When a page on your website has this problem, the Firefox Web Console shows a mixed content warning notice in the Net window. The text “mixed content” and the mixed content resource that was loaded through HTTP will appear in red and link to this page. To fix this type of error, all requests to… Continue reading Warnings in Firefox Web Console – Mixed Content error

What is Mixed Content Error?

A mixed-content warning shows the presence of both protected and unsecured components on a website that should only include encrypted content. All of the content on a page with an HTTPS URL must originate from a secure source. A user’s connection with the web server is encrypted with TLS when they access a website that… Continue reading What is Mixed Content Error?