Title: WP247 Get Option Shortcode
Author: wescleveland
Published: <strong>اپریل 9, 2015</strong>
Last modified: اگست 8, 2021

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp247-get-option-shortcode.svg)

# WP247 Get Option Shortcode

 By [wescleveland](https://profiles.wordpress.org/wescleveland/)

[Download](https://downloads.wordpress.org/plugin/wp247-get-option-shortcode.1.2.zip)

 * [Details](https://ps.wordpress.org/plugins/wp247-get-option-shortcode/#description)
 * [Reviews](https://ps.wordpress.org/plugins/wp247-get-option-shortcode/#reviews)
 *  [Installation](https://ps.wordpress.org/plugins/wp247-get-option-shortcode/#installation)
 * [Development](https://ps.wordpress.org/plugins/wp247-get-option-shortcode/#developers)

 [Support](https://wordpress.org/support/plugin/wp247-get-option-shortcode/)

## Description

Include WordPress options anywhere shortcodes are accepted.

#### Syntax

[wp247_get_option option=”**desired-option**” default=”**desired-default**” scope
=”**desired-scope**“]

where:

 * **desired-option** is the option to be retrieved from the WordPress wp_options
   table. Default: none
 * **desired-default** is the default value to be returned if the desired option
   does not exist. Default: “”
 * **desired-scope** indicates which type of option is to be retrieved. **scope=”
   site”** will retrieve options using the WordPress **get_site_option** function.
   All other values are ignored and the WordPress **get_option** function will be
   used to retrieve the desired **option** value. Default: “”

#### Examples

Include the WordPress site URL in some text somewhere:

 * This is my site’s URL: [wp247_get_option option=”siteurl”].

Set up a copyright notice in a footer widget:

 * Copyright © [[wp247_get_option option=’blogname’]](https://ps.wordpress.org/plugins/wp247-get-option-shortcode/[wp247_get_option option='siteurl']?output_format=md).
   All rights reserved.

## Installation

In the site’s WordPress backend:

 * Go to Plugins->Add New
 * Search for the plugin ‘wp247 get option shortcode’
 * Click the “Install” button
 * Click on “Activate”

That’s it. You’re now ready to include WordPress options on your site.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP247 Get Option Shortcode” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ wescleveland ](https://profiles.wordpress.org/wescleveland/)

[Translate “WP247 Get Option Shortcode” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp247-get-option-shortcode)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp247-get-option-shortcode/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp247-get-option-shortcode/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp247-get-option-shortcode/)
by [RSS](https://plugins.trac.wordpress.org/log/wp247-get-option-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

Removed Notifications Plugin corequisite
 Fix Settings API for PHP v7 Update Admin
Favorites

#### 1.1

fixed settings API bug
 Added WP247 Extension Notification System interface

#### 1.0.1

Remove namespace use in WP247 Settings API to due errors

#### 1.0

First release on 2015-April-9

## Meta

 *  Version **1.2**
 *  Last updated **5 کلونه ago**
 *  Active installations **10+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.8.13**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp247-get-option-shortcode/)
 * Tags
 * [get_option](https://ps.wordpress.org/plugins/tags/get_option/)[options](https://ps.wordpress.org/plugins/tags/options/)
   [shortcode](https://ps.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://ps.wordpress.org/plugins/wp247-get-option-shortcode/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp247-get-option-shortcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp247-get-option-shortcode/reviews/)

## Contributors

 *   [ wescleveland ](https://profiles.wordpress.org/wescleveland/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp247-get-option-shortcode/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RM26LBV2K6NAU)