Plugin Customization

  1. Home
  2. Plugin Customization
  3. Cyber Shortcodes

Cyber Shortcodes

 

Cyber Fundraiser also provides shortcuts for different purposes, for example shortcut to display all the projects, shortcut to display all the projects of a specific user.
Here are all the shortcodes and their detail that cyber fundraiser provides.

  • All Projects Shortcode: [cyber_show_all_projects]

This short-code is used to display all the projects on your site. You can use this short-code in any page template as well as you can create a separate page for displaying the Projects by adding this short-code in page content.

You can also pass these parameters to the short-code like this.

Argument Description
words_limit=”no” How many words you want to show in Campaign content, i.e words_limit=”50″
per_page=”10″ Campaigns per page, i.e per_page=”10″
per_row=”4″ Campaigns per row Or Numbers of columns in All Campaigns page, i.e per_page=”10″
ptoject_type=”both” Campaign type ie child campaigns, parent campaigns or both, values can be “parent_projects”, “child_projects” or “both”
include=” “ Campaigns IDs which you want to include i.e include=”10,11,12″
exclude=” “ Campaigns IDs which you want to exclude i.e exclude=”10,11,12″
categories=” “ Category IDs for which you want to show campaigns i.e categories=”10,11,12″
sort=”yes” Enable/Disable sorting i.e sort=”no”
orderby=”date” Sort By or Order By i.e orderby=”project_goal”, values can be “total_raised_amount”, “project_goal” or “date”
order=”asc” Sorting Order i.e order=”desc”
pagination=”yes” Enable/Disable pagination i.e pagination=”no”
display=”title,image,description” Which contents you want to display. Contents will be displayed in the order in which you have set in this shortcode i.e display=”title,image,description,project_details,contents,progressbar,donate_button”
  • All projects for current user: [my_all_projects]

This short-code is used to display all become fundraiser projects for a specific user if he is logged in. You can use this short-code in page template as well as you can create a separate page for displaying users Projects by adding this short-code in page content.

  • Shortcode for Project Categories: [cyber_categories]

You can also pass these parameters to the short-code like this.

Argument Description
show_count=”no” Show campaigns count with each category i.e show_count=”yes”
hierarchy=”no” Either you want to show categories hierarchically i.e hierarchy=”yes”
empty=”yes” Either you want to show categories which have no campaigns i.e empty=”no”
Was this article helpful to you? Yes No 1

How can we help?