BuddyDev

Search

Display Custom field post to content body activity

  • Participant
    nidia on #15411

    Hi,
    I just start to create a web site with buddypress, so I dont understand so much things.
    Since 3 days I search for a solution please help me …
    I just try to display differents custom field (that I create with BUDDYFORM ACF for my form post )
    When I try to display with get_field (‘image_livre’) that work only in single.php ( theme understrap) but not in entry.php ( buddypress).
    I think its with this code that i can do something.. but i dont understand where and how wrote that.
    I have 3 custom = #image_livre #titre_livre #description_livre

     add_filter( 'buddyblog_post_form_settings', 'buddydev_custom_buddyblog_settings' );
    
    function buddydev_custom_buddyblog_settings( $settings ) {
    
    	$custom_fields = $settings['custom_fields'];
    
    	$custom_fields['image_livre'] = array(
    		'type'		=> 'image',
    		'label'		=> 'image du livre',
    		'default'	=> ""
    	); 
  • Keymaster
    (BuddyDev Team)
    Posts: 24741
    Brajesh Singh on #15419

    Hi Nidia,
    I am sorry but I am not familiar with BuddyForms.

    I will suggest asking in their forums.

    if there is anything else related to BuddyPress or our Plugins, Please feel free to ask in our forums. I will be glad to assist.

    Regards
    Brajesh

The topic ‘Display Custom field post to content body activity’ is closed to new replies.

This topic is: not resolved