WordPress.org

Support

Support » Themes and Templates » [Resolved] Post summary layout on New Posts page

[Resolved] Post summary layout on New Posts page

  • Andre Varinski
    Member

    @andre-varinski

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andre Varinski
    Member

    @andre-varinski

    @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

    Theme Author Christine Rondeau
    Volunteer Forum Moderator

    @crondeau

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

    Andre Varinski
    Member

    @andre-varinski

    Thanks, Christine!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Post summary layout on New Posts page’ is closed to new replies.