Cutline Theme Support Forums » Cutline Theme Support Forums

Add User ID To Posts?

(20 posts)
  • Started 3 years ago by cfisher
  • Latest reply from mcjonhsmith
  • This topic is not resolved

  1. Hello, I recently installed the Cutline 1.4 (2-Column Right)theme. Very nice! I cannot figure how to add the user name for the original author who posts each new blog story. Is there an easy way to do this? Basically, I want the public to see which user posted the story. Thanks! Chris

    Posted 3 years ago #
  2. DonAtPoundCS
    Member

    I actually set out to do this a little bit ago. There are a couple of places you can add this functionality to - the main index.php page, as well as the individual post (single.php) page. It's pretty simple to do, once you know where to look. Open these files in the theme editor, and look for "by <?php the_author() ?>", it should already bee in there. You'll notice that this is commented out with <!-- --> tags. Remove those, and you should be good to go. You may want to through in a "·" before the author to make it a bit cleaner. I also decided that I wanted to have the actual time of day displayed as well. On the same line, just before where the author is displayed, change the call to "the_time()" to be "the_time('F jS, Y h:i a');" and see how you like that.

    All together, you end up with:
    <?php the_time('F jS, Y h:i a'); ?> · by <?php the_author() ?> ·

    Posted 3 years ago #
  3. Thanks so much. I greatly appreciate the help, and will try out this solution.

    Posted 3 years ago #
  4. The solution worked great. I had anticipated that this create a link to the author's user page. I suppose this would take a fair amount of coding to do? I don't code in PHP unfortunately. Thanks - Chris

    Posted 3 years ago #
  5. The solution worked great. custom iphone cases

    Posted 1 year ago #
  6. kinley121
    Member

    Why can’ this be an inbuilt functionality in cut line? Something that is this basic should be inbuilt! I ain’t complaining, cut line 1.4 is awesome and all. The solution you suggested worked for me in Multivariate Testing. But I find it boring to do all this stuff manually. And this version isn’t compatible with word press 7 either, oh shoot. Only thing I loved about this version is the built in image classes, galleries and caption that it support.

    Posted 1 year ago #
  7. upsellingdiva
    Member

    The solution worked great. I had anticipated that this create a link to the author's user page. I suppose this would take a fair amount of coding to do? Yes it does take a lot of coding! I am waiting for a simpler fix myself... it's taking longer to update www.cabinetparts.com than I thought it would!

    Posted 1 year ago #
  8. good idea, It work perfectly

    Posted 1 year ago #
  9. Remove those, and you should be good to go. You may want to through in a "·" before the author to make it a bit cleaner. I also decided that I wanted to have the actual time of day displayed as well

    Posted 1 year ago #
  10. annahills
    Member

    This post was very nicely written, and it also contains a lot of useful facts.I enjoyed your professional manner of writing the post. Thanks, you have made it easy for me to understand.
    superfast burner

    Posted 1 year ago #
  11. Nina1088
    Member

    Thanks for very interesting post. I have a high regard for the valuable information you offer in your articles. I really believe you will do much better in the future
    Hawthorne Electrical

    Posted 1 year ago #
  12. bwin
    Member

    works well, fantastic expalinations, thanks guys
    bonus sajoo

    Posted 1 year ago #
  13. bwin
    Member

    push twice on send, sorry

    Posted 1 year ago #
  14. Really you have shared some useful information over the post. It was really the most important day for you. I like the post very much. Thanks a lot for sharing.
    wedding photographer glasgow

    Posted 11 months ago #
  15. sisi turf pari sportif meilleur bonus bwin sport

    Why can’ this be an inbuilt functionality in cut line? Something that is this basic should be inbuilt! I ain’t complaining, cut line 1.4

    Posted 11 months ago #
  16. I recently came accross your blog and have been reading along. I thought I would leave my first comment. I dont know what to say except that I have enjoyed reading. Nice blog. I will keep on visiting this blog everytime i will be online, this blog is very informative.
    buy spice

    Posted 8 months ago #
  17. parfumteam
    Member

    Thanks we were checking a while how to put the User Ids to the post on our designer parfüm site and then took a look on this forum. Thanks for the tipps guys, it is working now.

    Posted 8 months ago #
  18. I had this problem with my Airsoft site.

    Posted 8 months ago #
  19. seoliving
    Member

    I like the post very much.lifetime video profits review. Thanks a lot for sharing.

    Posted 7 months ago #
  20. To use the free Marriage graphic comments: Copy the HTML code from below the graphic image and paste the code on your blog, MySpace, Friendster, Hi5, MyEeos, Xanga, Piczo, Orkut, Multiply, TagWorld or other social networking profile page. You can also post the Just Married graphics code as a MySpace comment.

    bride to be

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.