How to Use WordPress Options into Feed?

What is WordPress Option?

You may use WordPress CMS to build your website and projects. By default, WordPress uses some built-in values in the admin and front pages. These values are called WordPress Options.Here, in CTX Feed Plugin, WP Options is a feature from where you can add your expected WordPress options to use and get those values in the feed.

Suppose you may need to show your site URL or admin email into the feed. Then, you just have to add those options from the WP Options page and now you can use them in the feed configuration to show the site URL or admin email values you wanted.

Configure WordPress Option

Let’s add an option with the following steps:

  1. Go through CTX Feed > WP Options.
  2. Click on “Add New Option”.
  1. Here, In search option name, type or click to search a WordPress option, Then select an option. [In Example: siteurl]
  2. Click on ‘Add Option’ to save the option to use in the feed configuration.

Use WordPress Option

In the feed settings page, clear the cache first. Your saved option should be present in the attribute dropdown list now. Here, We have found siteurl in the WP Options” section as we have saved the option last time. Now just generate the feed.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.