Custom Single post theme not applying
-
Hi,
Hi hope someone here can help.
I have the Timeline plugin working and showing a timeline without issue (Here) but when the ‘Read More’ is selected on each announcement, the content of the announcement is shown without following the formatting of my theme. The text is displayed directly over the background image and justified to the left of the page. My theme, easyblog, shows pages and posts centered and contained within a box so that text can be seen over the background.I have followed the instructions on the page: https://www.wp-timelineexpress.com/documentation/customize-single-announcement-template/ to create the custom theme formatting but this has had no effect on the layout of the announcement.
The content of my single.php is as below and after copying and renaming the file, I changed the
get_template_part( 'template-parts/content-single', 'page' );
to
timeline_express_content();
This had no effect.Can anyone help with this please?
Thanks
RussellOriginal single.php:
get_header(); ?> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-8"> <div id="primary" class="content-area dt-content-area"> <main id="main" class="site-main" role="main"> <?php while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content-single', 'page' ); the_post_navigation(); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; endwhile; // End of the loop. ?> </main><!-- #main --> </div><!-- #primary --> </div><!-- .col-lg-8 --> <aside class="col-lg-4 col-md-4"> <div class="dt-sidebar"> <?php get_sidebar(); ?> </div><!-- .dt-sidebar --> </aside><!-- .col-lg-4 --> </div><!-- .row --> </div><!-- .container --> <?php get_footer();
The topic ‘Custom Single post theme not applying’ is closed to new replies.