WordPress.org

Support

Support » How-To and Troubleshooting » Author and Excerpt align using call funtion

Author and Excerpt align using call funtion

  • M3
    Member

    @musadiqmarhaban

    Hi,

    I’m trying to edit my template but I got some issue and I can’t figure it out.

    I want to make the end result something like this.

    Author Name | Excerpt of the article

    So I make it something like this using from the codex instruction.

    <p><b><?php the_author(); ?></b> &nbsp|&nbsp <?php the_excerpt(); ?></p>

    But the result is not what I expected and become something like this:

    The Author
    |
    Excerpt of the article

    How can I make it align?

    Please help, My template almost finished and I’m stuck in making the category section 🙁

    Thank you in advance.

    [Please don’t bump]

  • The topic ‘Author and Excerpt align using call funtion’ is closed to new replies.