To display session details below the title, please follow the steps below:
1) Please do remember to back-up the file prior editing.
2) Open wp-content/themes/fudge/functions.php
3) Around line number 1291, you can find:
array_push($ret[‘sessions’], array(
‘id’ => get_the_ID(),
‘post_title’ => get_the_title(),
‘time’ => $time,
‘end_time’ => get_post_meta(get_the_ID(), ‘end_time’, true),
‘location’ => $location ? $location->name : ”,
‘background_color’ => $track ? fudge_get_term_meta(‘session-track-metas’, $track, ‘session_track_color’) : ”,
‘speakers’ => $speakers
));
4) Change this to:
array_push($ret[‘sessions’], array(
‘id’ => get_the_ID(),
‘post_content’ =>get_the_content(),
‘post_title’ => get_the_title(),
‘time’ => $time,
‘end_time’ => get_post_meta(get_the_ID(), ‘end_time’, true),
‘location’ => $location ? $location->name : ”,
‘background_color’ => $track ? fudge_get_term_meta(‘session-track-metas’, $track, ‘session_track_color’) : ”,
‘speakers’ => $speakers
));
5) wp-content/themes/fudge/js/script.js
6) Around line number 312, you can find:
<a class=”btn-session main-bkg-color” title=”‘ + session.post_title + ‘” href=”#” data-id=”‘ + session.id + ‘” style=”background-color: ‘ + session.background_color + ‘!important;”>’ + session.post_title + ‘</a>
7) Change this to:
<a class=”btn-session main-bkg-color” title=”‘ + session.post_title + ‘” href=”#” data-id=”‘ + session.id + ‘” style=”background-color: ‘ + session.background_color + ‘!important;”>’ + session.post_title + ‘</a>
<span>’+ session.post_content +'</span>
8) Save both files.
This will show session content on home page.