Single Announcement Template File is not working
-
Even though i kept below code but its still picking up single.php file in from my theme.
// By default Timeline Express uses single.php for announcements
// you can load page.php instead
// just change page.php to whatever your template file is named
// keep in mind, this is looking in your active themes root for the template
function custom_timeline_express_template_file( $template_file ) {
$template_file = ‘page.php’;
return $template_file;
}
add_filter( ‘timeline_express_custom_template’ , ‘custom_timeline_express_template_file’ , 10 );Though “Customize the ‘announcement’ slug” is working so it means i have kept code at the appropirate position. I am not sure what am i doing wrong
The page I need help with: [log in to see the link]
- The topic ‘Single Announcement Template File is not working’ is closed to new replies.