Plugin Directory

Changeset 1604020


Ignore:
Timestamp:
02/26/2017 08:49:05 PM (9 years ago)
Author:
alexhal
Message:

readme changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • profile-field-based-content-shortcode/trunk/readme.txt

    r1591272 r1604020  
    1 === Plugin Name ===
     1=== Plugin Name ===
    22Contributors: alexhal
    33Donate link: http://www.poolgab.com
     
    1515Adds shortcode to show content based on Buddypress profile field
    1616
    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 :
     17Suppose we have "Gender" profile field for "Male" and "Female" profle field values .
     18Here’s how we can use the shortcode :
    1919
    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]
    2222
    2323Note that the shortcode has two parameter :
Note: See TracChangeset for help on using the changeset viewer.