Cant show author name or limit post size (5 posts)

  1. myname367
    Posted 7 years ago #

    so basically we have two bloggers, and we would like the author of each post to show so people whos story this is

    another problem is I cant seem to limit the size of the post on the main page. I would like it to be only 4 lines or so and then a button to read more.


  2. 1. Edit your theme to include the_author template tag.

    2. Put "<!--more-->" in the post where you want the more to appear. Or just click the "more" button in the editor to insert that. See: http://codex.wordpress.org/Write_Post_SubPanel#Quicktags

  3. myname367
    Posted 7 years ago #

    thanks for the more button, it works now. thanks again!

    I still cant get the author part to work tho. I had seen that part before but I am not sure where to put. In what php file and where in the file. I tried putting it in different templates with no luck

  4. You would put it in the index.php or single.php file, most likely. Inside The Loop.

  5. AbeOnTech
    Posted 7 years ago #

    Just what i needed, thanks!

    Looked everywhere for the <!--more--> tag lol

Topic Closed

This topic has been closed to new replies.

About this Topic