anshumansahu143/profile-field-based-content-bp
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Plugin Name === Contributors: alexhal Donate link: http://www.poolgab.com Tags: Buddypress,shortcode,profile fields,profile,profile field based content Requires at least: 3.0.1 Tested up to: 4.6.1 Stable tag: 4.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Adds shortcode to show content based on Buddypress profile field == Description == Adds shortcode to show content based on Buddypress profile field Suppose we have "Gender" profile field for and "Male" and "Female" profle field values . Here’s how we can use the shortcode after adding the code : [unit_content_profile_field profile_field="Gender" profile_field_value="Male"] This content is for male [/unit_content_profile_field] [unit_content_profile_field profile_field="Gender" profile_field_value="Female"] This content is for female [/unit_content_profile_field] Note that the shortcode has two parameter : profile_field where you put the profile field profile_field_value where you put the profile field value . NOTE : Profile field value and profile field names are case sensitive == Installation == 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly. 1. Activate the plugin through the 'Plugins' screen in WordPress 1. Use the Settings->Plugin Name screen to configure the plugin 1. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes) == Frequently Asked Questions == = Why is this plugin for ? = To show content based on profile field == Screenshots == 1. Usage == Changelog == = 1.0 = * A change since the previous version. == Other notes ==
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published