Hello,
I’d like to know how to to have the author list (using the author box block) to display all the author on my site along with their description and link to social media etc…
When we use the author block list function integrated into the theme only the avatar appear with author name.
thx for your answer.
-
This topic was modified 11 years by
bariton.
Hi,
Replace the code form the td_block_authors.php file with this one: http://pastebin.com/fj1q3aGf – http://screencast.com/t/TvBt9Wre
You’ll get this result: http://screencast.com/t/3s7jogOCca
You also need to use this custom css code in theme panel > custom css section:
.td_top_authors .item-details {
height: auto;
}
Thanks
Hallo,
I am really interested in this post because I need the same solutions.
Here is my problem:
Found the file td_authors.php (not td_block_authors.php ) in /wp-content/themes/Newspaper/includes/shortcodes
Changed the code as per above but now the site gests white page and so the admin navigation.
Please howto solve? I really need this mod.
Thank you in advance.
Regards
Newspaper latest vers.
Hi,
For Newspaper theme please edit td_authors.php and add this code: http://screencast.com/t/HKkmrz6F1r
$buffy .= '<div class="td-authors-description">';
$buffy .= '<p>' . get_the_author_meta( "description", $td_author->ID ) . '</p>';
$buffy .= '</div>';
Also please add this custom css in Theme Panel > Custom Css: http://screencast.com/t/4nEPUjRNw6Bi
.td_top_authors .item-details {
height: auto;
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Thank you very much Alin.
Here is the question.
Most online newspapers have a section/module like mine with listed the authors/bloggers.
Each one has a subtitle which is the name of the individual blog not the biography or description of the author.
Is there anyway to cope with this need Alin?
Thanks
Hi,
I’m not sure if this is what you mean, but you can add your website here – http://screencast.com/t/TDJKbgzxdGeM
Result – http://screencast.com/t/wCdzTGoLT
If this is not what you mean please provide an example.
Thanks!
Thank you Alin for your attention.
Please have a look to this pic
powerize.it/test.jpg
Most of the bloggers that work for online newspapers have their own blog (with a name or title ) inside the newspaper itself.
Authors/bloggers post their news according to their specific topics that’s why they have a title to their blog.
The sequence should be:
Author Name
Title of his/her blog
social buttons etc.
Please let me know if there is a direct or indirect solution to this matter.
Thanks again
Hi,
Unfortunately the theme doesn’t have an option for this and you will need to alter the code. You can use get_user_meta function for author name(last name/first name) – https://codex.wordpress.org/Function_Reference/get_user_meta in td_authors.php file – http://screencast.com/t/cnUqRqdC
Also for blog title you can try this function to add a custom field on contact info for blog title – https://thomasgriffin.io/how-to-add-custom-user-contact-info-in-wordpress/
If you don’t know how to do it I suggest to hire a freelancer as this is not so easy and we cannot provide custom work for the moment, sorry!
Thanks!
Hallo Alin,
thank you for your support so far.
I think the problem could be solved by using the USER’field Web site url which is diplayed normally and in the place I am interested in (as you suggested above).
The mod would be changing/converting the http//domain.it in a common text.
Please Alin any advice?
Thank you so much.
Hi,
Try to add that code in functions.php without unset code change the fields linkedin to name how you want to be displayed in contact details from user profile. Also try to add here field parameter – http://screencast.com/t/On9hxoQNs
Thanks!
Also, many newspapers which have multiple blogs are sub-sets of main site, and are using WP in the multisite mode, where each blog is treated as its own entity, and then on the main page, the “list of bloggers/editors” leads to the blog for each author, which is subset of main site. For multisite there are many plugins and solutions for doing those sorts of things (WPMU plugins for instance).