• Greetings, I am quite new to using WordPress, and have only limited knowledge with website related programming. When I make a new post, I add format as I should, Italic or Bold . if I view the post at its original page the format is there. But the format is lost on the “frontpage”. I would love some assistance with this issue, thanks!

    ~Torbjørn R

Viewing 7 replies - 1 through 7 (of 7 total)
  • It also seems to ignore block quotes and spacing.

    If I navigate to the article everything shows up correctly, but the front page just makes it all one paragraph.

    Theme Author Falguni Desai

    (@falgunihdesai)

    Hello @sevendaggers and @blissjoe,

    I checked with all formatting including block quotes and it appears fine on the front page as well. The code for front page is not different than any other page. So it should appear same.

    Falguni

    Thank you for the quick reply.

    I setup a test on my website. You can see how the THEME TEMP POST at the top of the front page differs from the Permalink.

    https://blissjoe.com/

    https://blissjoe.com/2016/05/theme-test-post/

    I fixed it by removing || is_home() || is_archive() || is_author() from the content.php in my child theme.

    It looks like it was wrongly classifying things on the main page as excerpts.

    <?php if ( is_search()) : // Only display Excerpts for Search ?>
    <div class=”entry-summary”>
    <?php the_excerpt(); ?>
    </div><!– .entry-summary –>

    <?php else : ?>
    <div class=”entry-content”>
    <?php
    the_content();

    ?>

    <?php
    wp_link_pages( array(
    ‘before’ => ‘<div class=”page-links”>’ . esc_html__( ‘Pages:’, ‘nisarg’ ),
    ‘after’ => ‘</div>’,
    ) );
    ?>
    </div><!– .entry-content –>
    <?php endif; ?>

    Theme Author Falguni Desai

    (@falgunihdesai)

    Hello blissjoe,

    The formatting is not appearing on the front page because you have set blog post as front page. When blog post is appearing on the front page, it is displayed as excerpt because it uses index.php and not page.php.

    The code you are saying as wrongly classified is not wrongly classified. It is for the case when latest blog posts are set as front page, all blog posts are displayed as excerpt not full content as per the theme design.

    If you remove the conditional check is_home() etc., all blog post will appear as full content not as excerpt when latest posts will be set as home page. And user will have to scroll down full content of each new blog post to see the previous blog posts. It is your wish how you want.

    Another way to solve your problem i think is to create home.php and include the code you have written in the previous message in to it.

    Falguni

    Okay, thank you for the clarification!

    I think this can be marked as resolved with the latest update (1.2.6)! Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Missing front page formatting’ is closed to new replies.