Skip to:
Content
Pages
Categories
Search
Top
Bottom

Display Custom field post to content body activity


  • nidia25
    Participant

    @nidia25

    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'	=> ""
    	);

    i hope someone can help me

    thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar