Leírás
Adds shortcode to show content based on Buddypress profile field
Suppose we have „Gender” profile field for „Male” and „Female” profle field values .
Here’s how we can use the shortcode :
[profile_field_content profile_field=”Gender” profile_field_value=”Male”] This content is for male [/profile_field_content]
[profile_field_content profile_field=”Gender” profile_field_value=”Female”] This content is for female [/profile_field_content]
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
Telepítés
- Upload the plugin files to the
/wp-content/plugins/plugin-namedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->Plugin Name screen to configure the plugin
- (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
GYIK
- Why is this plugin for ?
-
To show content based on profile field
Vélemények
Nincsenek értékelések erről a bővítményről.
Közreműködők és fejlesztők
“Profile field based content shortcode” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:
Közreműködők“Profile field based content shortcode” fordítása a saját nyelvünkre.
Érdekeltek vagyunk a fejlesztésben?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Változási napló
1.0
- A change since the previous version.

