WordPress.org

Ready to get started?Download WordPress

Forums

Bold Headline
[resolved] Post summary layout on New Posts page (4 posts)

  1. Andre Varinski
    Member
    Posted 7 months ago #

    How can I get the layout of the post summary that appears on the New Posts page to be the same as that of the article itself?
    Let's say, for instance, that I post this poem:

    My poem is a tercet
    It is composed of three lines
    that form a stanza

    This is how it is displayed on the New Post page:

    My poem is a tercet It is composed of three lines that form a stanza

    Is there any way this could be remedied?

    Thanks!

  2. Andre Varinski
    Member
    Posted 6 months ago #

    @Christine:

    I think a found a solution!

    Firstly, I copied content.php into the Bold Headline Child folder.
    Then, I modified the file by changing line 18
    <?php the_excerpt(); ?>
    into:
    <?php the_content( __( 'Continue reading <span class="meta-nav">...</span>', 'bold_headline' ) ); ?>
    and it worked like a charm!
    (To be frank, I got the idea from examining the content.php file I found in your own Stripay theme, which I used for a long time before chancing upon Bold Headline.)
    Could you confirm that this solution is 100% kosher?
    Thanks.

    AV

  3. Christine Rondeau
    WP Yogi & Forum Moderator
    Theme Author

    Posted 6 months ago #

    Yes, that's exactly right.
    Glad you found the answer by being inquisitive.

  4. Andre Varinski
    Member
    Posted 6 months ago #

    Thanks, Christine!

Reply

You must log in to post.

About this Theme

About this Topic