Changeset 1604020
- Timestamp:
- 02/26/2017 08:49:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
profile-field-based-content-shortcode/trunk/readme.txt
r1591272 r1604020 1 === Plugin Name ===1 === Plugin Name === 2 2 Contributors: alexhal 3 3 Donate link: http://www.poolgab.com … … 15 15 Adds shortcode to show content based on Buddypress profile field 16 16 17 Suppose we have "Gender" profile field for and"Male" and "Female" profle field values .18 Here’s how we can use the shortcode after adding the code:17 Suppose we have "Gender" profile field for "Male" and "Female" profle field values . 18 Here’s how we can use the shortcode : 19 19 20 [ unit_content_profile_field profile_field="Gender" profile_field_value="Male"] This content is for male [/unit_content_profile_field]21 [ unit_content_profile_field profile_field="Gender" profile_field_value="Female"] This content is for female [/unit_content_profile_field]20 [profile_field_content profile_field="Gender" profile_field_value="Male"] This content is for male [/profile_field_content] 21 [profile_field_content profile_field="Gender" profile_field_value="Female"] This content is for female [/profile_field_content] 22 22 23 23 Note that the shortcode has two parameter :
Note: See TracChangeset
for help on using the changeset viewer.