Support » Theme: Sela » add author name

Viewing 8 replies - 1 through 8 (of 8 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, we need to take out that conditional for single post pages. Change it to this and let me know if there are any issues.

    <div class="entry-meta">
            <span class="author"><?php the_author_posts_link(); ?></span>
        <?php sela_entry_meta(); ?>
    </div><!-- .entry-meta -->

    this works! thanks!

    Hello,

    I would also like to display the author name on blog posts. But I’m wondering if it is possible to do this by making edits to the “Additional CSS” section of the Customizer? This is where I have made some other CSS changes before. As I don’t have experience to work with a child theme, was hoping that there would be a way to do it directly in the CSS Editor.

    Many thanks for any help.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi @jsg442, I checked your site, and Sela does not have the html on the blog and single post pages for the author in the meta data, so it would require the use of a Child Theme and some php script in order to do this.

    The Dara theme is very similar to Sela (it is based on Sela) and had a very similar look, but a few more features and does show the theme author on blog and single post pages. You might want to check it out. It may even be that the custom CSS you have added for Sela will work with Dara, but I can’t guarantee that. You might want to check it out.

    I see, thank you for the insight! Will take a look.

    lattesandstories

    (@lattesandstories)

    Thank you for this! I’ve been looking everywhere on how to do this. I run a multi-author blog, and so having this feature will help immensely! I was wondering if there was a way to add the author’s profile photo with their name in the byline?

    Also, NOTE: The file that you edit and paste the code into is your content.php file. I made the mistake of editing the singles.php file (as per older WordPress tutorials), and it turned all pages with posts completely blank. Yeah, scary.

    Thank you again!

    Hi, I am having problems uploading a picture to my author name. you will see from this website that the profile pic is blank. any help please? thanks! http://realsgmum.com/why-is-coconut-soap-so-good-for-treating-pimples/

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi, that image at the top of the sidebar area is pulled in from http://gravatar.com. If you go there, you can sign into Gravatar and then upload your image if you already have an account, and if you do not, sign up and use the site admin email address and all should be good.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘add author name’ is closed to new replies.