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.
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.
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
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
Hello,
Go to Settings -> General and add time format with data to http://screencast.com/t/HrgLHfxT3J
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.
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
Hi,
The post file is loop-single.php from some version: http://screencast.com/t/gRQaqK7I and here is the byline code.
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! 🙂
+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”
