Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
ipiforg
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
I would like to move the progressbar to the widget area instead of below the featured image on a single campaign.
Is there a shortcode for this?
Or can you give me code to insert to my functions.php to create a short code? (in my childtheme)
I’ve found the code in the single-download.php, so I know how to remove it but I don’t know how to call it again …
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
skat
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
Hi there,
I’m afraid that this is not possible right out of the box. It will require you to build a widget with those functions and set a custom sidebar for the campaigns and display that widget inside.
Cheers!
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
ipiforg
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
I can build a widget if you can give me the code or direct me to the code that generates the progress bar.
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
skat
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
For example, if you edit the “single-download.php” file you’ll see the code of the bar starting from line 141 to 144. You’ll also need to get the data from the variables at the top of the file:
$sd_campaign = new ATCF_Campaign( get_the_ID() );
$sd_percent = $sd_campaign->percent_completed( 'raw' ) > 100 ? '100%' : $sd_campaign->percent_completed();
Cheers!