WordPress.org

Support

Support » Installation » Show author name in Semiologic?

Show author name in Semiologic?

  • I’m setting up a weblog for staff at my workplace to share information (link – it’ll be private when it’s up and running), and I’ve been using Semiologic, which so far has been great.

    Just one question: is it possible to show the author’s name under each post, e.g. “Permalink | Posted by Jim G | 2 comments”? This would really add to the usability for the different people who I hope will be posting and reading. I’ve had a look around in main.css and captions.php but it’s all a bit beyond me.

    Any help would be greatly appreciated. Thanks,

    Jim G

Viewing 15 replies - 1 through 15 (of 16 total)
  • Oops, just realised I posted this in ‘Installation’ rather than ‘Themes and Templates’. Sorry about that. If a mod could move it that would be great.

    Yes, you would need to add <?php the_author() ?> into your Main Template (index.php) and possibly single.php if you are using that also, whereever you want that to show.

    Thanks oriecat, but as far as I can see Semiologic doesn’t work that way – index.php and single.php are mostly empty, and most of the structure seems to be generated from the Semiologic CMS plug-in (sem-theme.php). It’s set up very differently from other themes I’ve used.

    Sorry about that! I guess I’ll down to install that plugin and play, so I’ll know what I’m talking about from now on. 😉

    @jim — I’ll be releasing a new version of the theme this week, that will be closer to the normal wp templating syntax. if you cannot wait till then, you’ll want to add the relevant call in wp-content/plugins/sem-theme/sem-theme.php, function sem_display_posts();

    Thanks Denis. I’ll see if I can do that, otherwise I don’t mind waiting a week 🙂 Looking forward to the next version – keep up the good work …

    I am more and more becoming a fan of the semiologic-theme and I was particularly pleased with the discovery that you can now show the name of the author.

    In sem-theme.php:

    # uncomment the following to display the author
    # . ” by ” . get_author_link()

    Unfortunately, I was not able do get it working. Whenever I uncomment this snippet of code I get the following error:

    Warning: Missing argument 2 for get_author_link() in /home/www/web115/html/FS-Philosophie/wp-includes/template-functions-author.php on line 125

    Warning: Missing argument 3 for get_author_link() in /home/www/web115/html/FS-Philosophie/wp-includes/template-functions-author.php on line 125

    I am trying this on a blog conceived for multiple authors.

    woops, forgot to finish that part.

    it should probably be:

    get_the_author()

    Thank you! 🙂
    That did the trick.

    Two questions–
    1. In which file does the get_the_author() go?

    2. Where in the file does it go?

    anyone?

    wp-content/plugins/sem-theme/sem-theme.php

    Denis,

    Would an install of the newest version solve this?

    Also, will the new Pro package have the translator I noticed functioning on the demo version the other day?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Show author name in Semiologic?’ is closed to new replies.
Skip to toolbar