I already tried it. But it display only the loop, not the form.
Also, i use this plugin : https://wordpress.org/plugins/buddypress-activity-plus/
@szed
Use the plugin I mentioned above and modify it like like so:
In line 84-86 in bp-activity-as-shortcode.php you will see:
<?php if($title): ?>
<h3 class="activity-shortcode-title"><?php echo $title; ?></h3>
<?php endif;?>
Just above that add this:
<?php if ( is_user_logged_in() ) : ?>
<?php locate_template( array( 'activity/post-form.php'), true ); ?>
<?php endif; ?><br />
Use the shortcode in your post or page and you are done and the post form will be included. Make sure you study the parameters you can use with the shortcode on the plugins page!
Great 🙂
It works fine.
I also have to modify a little buddypress-activity-plus to use the shortcode with the plugin.
Thanks !
That works perfectly but I would love to know how to get this post form to add the Buddypress Activity Plus media buttons. Any idea?
@szed
Any luck with adding the buddypress-activity-plus icons with the buddypress activity shortcode plugin?
Thanks!