Add author name at top or under photo?

Posted in: Newspaper
Post count: 9544

Hi, is there a CSS hook or addition or checkbox we can activate to also have the author name be somewhere at top of a story on post pages, and also on excerpts and such ? … aka the “byline” which is common with ALL newspapers, magazines, etc. ?

This seems like an odd omission since this is one of the most crucial elements of publishing.

Post count: 35

I have the same problem. I will be aware of any solution and I will say to you. I hope you do the same and, better, the team of Newspaper theme will give a permanent solution to us. They have this option in Magazinly theme, and I think it wouldn’t be difficult to them.

Post count: 3343

Hello,
Edit td_module.php file and add this code:

$buffy .= '<span>';
$buffy .= __td('by', TD_THEME_NAME);
$buffy .= ' ';
$buffy .= '<a itemprop="author" href="' . get_author_posts_url($this->post->post_author) . '">' . get_the_author_meta('display_name', $this->post->post_author) . '</a>' ;
$buffy .= ' - ';
$buffy .= '</span>';

like here: http://screencast.com/t/MFSE1S5O

Post count: 3343

or if you want individual just edit module 1 to 9 and there you have to decommet this: http://screencast.com/t/JzbpYO0T

and forgot the code above

Post count: 35

It works, thanks!

Post count: 3343

Great! 🙂

Post count: 39

This is great, one more question. How can we show the “Time” of the post in addition to the date?

Thanks!

Post count: 3343

Hello,

Go to Settings -> General and add time format with data to http://screencast.com/t/HrgLHfxT3J

Post count: 9544

Hi
I’m updating this thread for consistency.

I just upgrade to Newspaper 3.5 and attempting to replicate this, with
Newspaper/includes/modules/td_module_1.php

if I remove the // for author name, it’s NOT printing on the posts although uncommenting on other modules does add the author byline to things like the sidebar modules or the indexes.

                <div class="meta-info">
                    <?php echo $this->get_category(); ?>
                    <?php echo $this->get_author(); ?>
                    <?php echo $this->get_date(false); ?>
                    <?php echo $this->get_commentsAndViews(); ?>
                </div>

e.g.,
http://ga-ga.com/1204/beginning-adventure-space-time-reveals-roots-doctor/

I have tried with tagdiv speedbooster on/off; I have mod_pagespeed off to ensure nothing is being cached; not using Jetpack.

This is CLEAN install of Newspaper 3.5; meaning the theme folder was uploaded as fresh folder and prior 2x folder was not over-written, so no mish-mash of old/new theme elements. No child theme being used.

Any idea why that might not be printing on page? Do I need to enable something else to cause the author byline to print on posts?

————————————

To repeat past posts as an opinion here:

“Byline” is one of the most critical things to all newspaper/magazine sites and should always appear below the title of article, or below the featured image; but typically the author and date are shown together in magazines and newspapers, so slightly annoying we still have to manually enable this EVERY update — look at TIME, or NY Times, or LA Times, or CNN, you will see the BYLINE and date top of every article. SO my big REQUEST would be to enable this by default “ON” and then let people comment it OFF which would be the exception vs the rule.

  • This reply was modified 12 years by simchris.
Post count: 9544

the other reason, among many, that byline is needed as “default” on posts is that it’s a requirement for Google Authorship

“3.Make sure a byline containing your name appears on each page of your content (for example, “By Steven Levy”).”
https://plus.google.com/authorship

Post count: 11

I’m hoping to get this fixed soon too,

Thank you.

Post count: 3343

Hi,
The post file is loop-single.php from some version: http://screencast.com/t/gRQaqK7I and here is the byline code.

Post count: 9544

Ah! looking in wrong place. Thanks 🙂

I’d again suggest “considering” making this ‘on’ by default since this is a “newspaper” theme, and it’s necessary for various Google related things like authorship and for Google News, as well as “normal industry practice” in publishing.

Thanks, Marius! 🙂

Post count: 11

Thank you, worked perfectly.

Post count: 14

+1

Thanks for solutions, but I will also request for Theme Option panel similar to “show author box” ie “Show Author In Post Head Meta”

Post count: 63

@belikeliquid : me too… can request about that sir?
thanks 🙂

Post count: 3343

Hi,
Ok, we will think about.
Thanks for the suggestion.

Post count: 9544

+1

This is somewhat more important to have top of post pages vs “number of comments…”

(okay.. I will now stop “nagging’ about this one 😉 )

keep up the great work!

Post count: 854

hi,
thanks you for your suggestion

Thanks for you message.
Radu A.

Viewing 19 posts - 1 through 19 (of 19 total)
You must be logged in to reply to this topic.