Replies
Hi Irne,
i haven’t used types plugin, so Can’t say much about that. Can you please try this code instead.<h4> Price: <?php echo get_post_meta( get_the_ID(), 'show-price', true ); ?> EURO </h4>
Does that work?
- Brajesh Singh on October 3, 2015 at 11:04 am in reply to: [Resolved] BuddyPress Activity Shortcode Load More #717
First, I missed your post here again because of other ongoing threads. There was an easy fix, after seeing your message I pushed that to github today.
https://github.com/sbrajesh/bp-activity-shortcode/commit/da2692368eb75ef434b8ccf67f1cd9268b443165
Here is the plugin download
https://buddydev.com/plugins/bp-activity-shortcode/Second, you don’t have to trust my code, I know what I write and I hold a graduate degree in software engineering with more than 8 years of experience, so I don’t need your recognition for my programming ability.
Just wanted to clarify about your other misleading comment, As I checked, this pluigin was listed to have support package available. No, you are not required to buy it but don’t give an impression that you wanted to.
Time is very important, and I may not be able to handle all the free requests we have been getting here, Our paid members are priority and they will remain so. I will keep investing some time in supporting free members, but there is no guarantee on free support.
So, if you are looking for free support, you are most welcome, I will do my best to provide support, but there is no guarantee or time frame.
Hi Irene,
Are you referring to the edit form display or display on single post page? Also, are you letting the single post to be displayed on profile on their own individual normal pages.You can put the code in your theme’s functions.php or bp-custom.php inside the plugin directory.
The code should be
add_filter( 'buddyblog_post_form_settings', 'buddydev_custom_buddyblog_settings' ); function buddydev_custom_buddyblog_settings( $settings ) { $custom_fields = $settings['custom_fields']; $custom_fields['testcf'] = array( 'type' => 'text', 'label' => 'test custom field text', 'default' => "" ); //and repeat //then update settings $settings['custom_fields'] = $custom_fields; return $settings; }
Hope that helps.
PS. you can use backticks(`) to post code block here.
Hi Irene,
Welcome to BuddyDev forums.No, you don’t need to modify that. Instead you can filter the buddyblog form settings and ask it to disply the form for adding meta.
You can filter it like this
add_filter( 'buddyblog_post_form_settings', 'buddydev_custom_buddyblog_settings' ); function buddydev_custom_buddyblog_settings( $settings ) { $custom_fields = $settings['custom_fields']; $custom_fields['new_meta_key'] = array( 'type' => 'text', 'label' => '', 'default' => '' ); //and repeat //then update settings $settings['custom_fields'] = $custom_fields; return $settings; }
Here is a post that details what meta fields are available
https://buddydev.com/support/forums/topic/custom-field-in-bp-simple-front-end-post/#post-383
Hope that helps.
- Brajesh Singh on October 2, 2015 at 12:54 pm in reply to: [Resolved] Fantastic plugin ut I get an error… andy chance of assistance? #706
Hi Jan,
I have got that functionality in addons. A little bit busy with documentation as we need to put a lot of documentation. Will start releasing some of the free addons next week( View Counter, mycred points etc). - Brajesh Singh on October 2, 2015 at 12:15 pm in reply to: [Resolved] Custom post type form with buddypress and bp-simple-front-end #704
Hi Kent,
Welcome to BuddyDev forums.With the current BuddyBlog, you don’t need to write any custom code for using custom post type. Please visit Settings->BuddyBlog settings and then select your custom post type. Click save. After the page reloads, It will show you taxonomy options for that selected post type. please update as you need.
Hope that helps.
Thank you
Brajes - Brajesh Singh on October 1, 2015 at 9:26 pm in reply to: Upgrading to MediaPress With Sitewide WordPress Gallery support #701
Hi Jan,
here is the direct link to the zip file.
https://github.com/buddydev/mediapress/archive/master.zipThe version has not changed(considering the current speed, I believe we will get the Rc next week). You can always download the most recent version by clicking on that link.
If you want to see all the changes, you can view this link
https://github.com/buddydev/mediapress/commits/masterHope that helps.
- Brajesh Singh on October 1, 2015 at 7:58 pm in reply to: Upgrading to MediaPress With Sitewide WordPress Gallery support #697
Note: If you are trying to test Sitewide Media Gallery, please upgrade again( My apologies). There was a bug in sitewide gallery. If you are using it for BuddyPress only, there is nothing to worry about.
- Brajesh Singh on October 1, 2015 at 7:57 pm in reply to: Upgrading to MediaPress With Sitewide WordPress Gallery support #696
Hi Jan,
Thank you. If possible, please send via github or drop me a mail on brajesh@buddydev.com (Please do provide me some way to credit you, your preferred name/business/site).In future, I am hoping to setup an install of glotpress, that will allow us to do translations during development.
Thank you
Brajesh