Author and Excerpt align using call funtion (1 post)

  1. M3
    Posted 12 months ago #


    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]


You must log in to post.

About this Topic