Functionality to allow the management of social media usernames and contact details
Author: | Phil Thompson (profile at wordpress.org) |
WordPress version required: | 3.8 |
WordPress version tested: | 3.8.3 |
Plugin version: | 1.12 |
Added to WordPress repository: | 14-02-2014 |
Last updated: | 29-04-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://imgiseverything.co.uk/wordpress-plugin... |
Total downloads: | 824 |
Click to start download |
Manage social media usernames and contact details via WordPress.
Usage
In your theme files:
- // Company address details
- $address_line_1 = get_option('company_address_line_1');
- $address_line_2 = get_option('company_address_line_2');
- $address_line_3 = get_option('company_address_line_3');
- $city = get_option('company_city');
- $post_code = get_option('company_post_code');
$country = get_option('company_country');
$email = get_option('company_email');
$telephone = get_option('company_telephone');
// Social media
- $twitter = get_option('twitter_username');
- $pinterest = get_option('pinterest_username');
- $instagram = get_option('instagram_username');
- $facebook = get_option('facebook_username');
- $googleplus = get_option('googleplus_username');
- $linkedin = get_option('linkedin_username');
- $blog_url = get_option('blog_url');
Then in your theme echo out the values:
- Twitter username is: @
- Company postal code is:
or you could just do:
Twitter username is: @
Or in the Visual Editor the following shortcodes work:
[img-simple-site-options twitter_username]
and
[img-simple-site-options $company_post_code]
Screenshots
ChangeLog