10/19/2018 at 9:12 am
#475387
Keymaster
@ Paula
Both the Bio and Notes field supports adding images from the media library. However, the Profile template does not display the notes fields since it is design focused on displaying the bio and photo as the primary content.
Since you wish to have the photo only on the profile detail page, you could alter the template using a template override file.
The file you would want to alter is card-single.php
, found in this path:
../wp-content/plugins/connections/template/profile/
The function you would add is:
$notes = $entry->getNotes();
if ( 0 < strlen( $notes ) ) {
$entry->getNotesBlock(
array(
'before' => '<h4>' . esc_html__( 'Notes', 'connections' ) . '</h4>' . PHP_EOL,
'after' => '<div class="cn-clear"></div>',
)
);
}
Hope this helps!