-
Author
Tagged: php, revolution, slider, page, revslider, BP, slide, pages, buddypress, function, kleo, functions.php, functions
-
November 24, 2014 at 00:30 #36427
tstrickland415
ParticipantI am looking for a way to add a Revolution Slider slide to the top of Buddypress’ “Sitewide Activity” page. The Activity page is already blank (I assume there’s some backend functionality generating the content of these pages), and when I add the shortcode nothing changes. I am not proficient in PHP, so if there’s something to add to the functions.php file, can someone please help. Thanks!
December 3, 2014 at 02:29 #37429Abe
KeymasterHi, that page is generated by Buddypress. the templates are located in buddypress folder so you can edit templates and add the revslider shortcode by php like
<?php echo do_shortcode('[my_shortcode_here]');?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 6, 2014 at 19:10 #37910tstrickland415
ParticipantNice! Thank you! Now how would I target the Site-Wide activity page to add this shortcode? I’m afraid if I add it straight to buddypress’ core template files, they will be lost during update. How can I do this through either the bp-custom.php or my child theme’s function’s file?
December 6, 2014 at 22:06 #37925sharmstr
ModeratorWhat abe meant by buddypress folder is the buddypress folder in the kleo theme. Copy /kleo/buddypress/activity/index.php to your child theme using the same directory structure. Also, normally you’d do a ‘do_shortcode’, but rev slider has its own function which is putRevSlider.
COPY CODE<?php putRevSlider("your-slider-name"); ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 7, 2014 at 03:40 #37944tstrickland415
ParticipantDecember 7, 2014 at 20:00 #38035Abe
Keymaster@sharmstr thank you
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.