- NewspaperAdding Multiple Authors to Your Articles
- NewsmagMore articles box
- NewsmagAuthor card
- NewspaperAuthor Card
- NewspaperMore articles box
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperFlex Block Settings Guide
- NewspaperPosts Loop Element
- NewspaperSingle Post Shortcodes
- NewspaperCloud Library Templates
- NewspaperBig Grid Flex Settings
- NewspaperDesign your post pages using the Default Templates
- NewspapertagDiv Cloud Library Plugin
- NewspaperHow to Set the Image Avatar
- NewspaperThe Mobile Theme
- NewsmagGeneral settings
- NewspaperReviews
- NewspaperTheme Colors Introduction
Hi,
It can be removed with css like so:
.td-author-comments-count{
display:none!important
}
Simply add the code in the theme panel ->custom css box.
Thank you!
ANSWER: Edit /wp-content/themes/Newsmag/parts/page-author-box.php
Find:(line 20 approx)
<?php echo count_user_posts($part_cur_auth_obj->ID). ‘ ‘ . __td(‘POSTS’);?>`
Replace with:
<?php echo count_user_posts(
$userid = $part_cur_auth_obj->ID,
$post_type = [ 'post', 'page', 'cpt-1', 'cpt-2', 'cpt-n' ],
$public_only = false
). " POSTS";?>
-
This reply was modified 10 years by
CreepyRavioli.
-
This reply was modified 10 years by
CreepyRavioli.
While I hate the idea of necroing threads it would be a handy feature.
I also propose for custom post types we should have the ability to filter out the author box, and such because it isn’t needed for all post types for instance I have an example I am working on where I don’t need author box, share buttons, etc.
It would be nice for a deeper custom post type support within the theme.
Hello sarawakv,
If you want to move the comment box to be below to your author box you have to do some additional customizations in core file in order to achieve good results. For example, if you are using post template 1, you have to remove the line code from the single_template_1.php where the comments are called, like this -> http://screencast.com/t/cuEpMCqlfCs and then you have to recall the function in loop-single-1.php like this -> http://screencast.com/t/pzznQm5i
Hope this helps!
Thank you for the message!
Hi Catalin,
yes, your code is just fine. and it works. thank u so much for ur help.
there a few things that i need ur guide, i hope u can help…
regarding the Disqus comment box, that is too below the page make it uneasy for my audience to comment as the probablity for them to scroll till lower page is very thin.

so how can i put it just below the my new author box.

Hello sarak
You can use the code below and hide the author box wrap with a bit of CSS coding. You have to place it in Theme panel->Custom CSS area.
.author-box-wrap {
display:none;
}
Thank you for the message!
hi there, i just installed Simple Author Box as i want the author box right after the content.
my problem is how can i hide or delete the default author box from the theme.

as u can see in the image.
the author box after the content is the plugin,
the one below is that i want to hide.
can u help.
Is there a way to remove the more from author tab and section which shows in the related articles block?
https://www.dropbox.com/s/qcin1iyh0j6k854/More-from-Author-Block.jpg?dl=0
Hi,
If you want to remove the author box comment count, you need to delete it from these 2 files:
http://screencast.com/t/HapJ5BaLqxPz and http://screencast.com/t/F5Zt1KMj8lfa
Thank you!
For my suggestion – some themes have an [edit] button that appears at bottom of the post or below authorbox when logged int. I personally find that annoying, and it’s already in the black bar at top in WP, as Andrei pointed out ….
however, you *can* add that from the WordPress default function by simply putting it into the single post template(s) you are actually using, wither the main template or the loop template, and it should work. As with all these things, TRY IT, and if it doesn’t work for you REMOVE IT. “Trial and error” is how to learn to do most of this stuff. 🙂
I know that under Theme Panel/Post Settings I can turn off both the ‘Show Author Name’ and ‘Show Author Box’ for all posts. However, I am wondering how I go about turning it off for just my Custom Post Types and leaving it active for my Posts.
I’m adding affiliate links to some of my blog posts and wondering how people are disclosing affiliate links or other sponsored content using Newspaper. A search of this forum showed a feature request, and a workaround to create an author called “Sponsored Content” or add the sponsored content information to the existing author profile / author box.
I’m looking to include a disclaimer (e.g. “May contain sponsored links or content, see disclaimer”) near the top of the article without having to modify every post. I’m hoping to be able to do this without modifying the theme files directly.
I’m sure there are many people doing this already. How are you disclosing affiliate links or sponsored content for your site without putting it directly in the post body?
Has anyone tried using one of the ad slots, e.g. putting your disclaimer in the “article-top-ad” box?
Hello!
Recently we’ve been receiving some odd 404 pages on our site, and quickly realised that it’s because the link to the authors Twitter page via the Author page is broken. Rather than linking to twitter.com/username it’s just slapping the username on the end of the author page url.
You can see an example here.
Oddly, the Twitter URL for the user on the author box at the bottom of posts works correctly. See here.
Is there any way I can manually correct this for the time being?
THanks. Yes this looks ok. I was thinking of block where inside is author date and views. Like box it was coloured on my screenshot. Box would be 100% wide and of some soft grey color.
Think would look ok?
Thanks
Hi
Is it possible to set via css some colour to the line/box where author on left and views on right are? Like is highlited on screenshot?
http://s12.postimg.org/3ncamy4jx/blueline.jpg
THanks
notranjskoprimorske.si
From the changelog – not certain if up to date or not:
Newspaper theme
Here is a list of all the changes between v 6.6.5 and v 6.7
Modified files – 12 files
page-pagebuilder-title.php
page.php
style.css
includes\td_config.php
includes\plugins\js_composer.zip
includes\shortcodes\td_block_authors.php
includes\wp_booster\td_global.php
includes\wp_booster\td_wp_booster_functions.php
includes\wp_booster\wp-admin\panel\views\td_panel_categories.php
includes\wp_booster\wp-admin\panel\td_view_theme_plugins.php
js\tagdiv_theme.js
js\tagdiv_theme.min.js
Deleted files – 1 files
includes\plugins\revslider.zip
=================
[ Version 6.7 ]
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file
[ Version 6.6.5 ]
– fix: WooCommerce 2.5 compatibility + various styling issues
– improvement: Visual Composer plugin updated to the latest version
– improvement: Revolution slider updated to the latest version
– improvement: theme panel status now shows the loaded demo information
– improvement: footer logo title and alt attribute is now configurable from the theme panel
– improvement: faster servers that serve the files for the one click demos
==========
“no way to know ….” ? seems like some info was included in the download, at least my copy. ?
Hi, Newspaper 6.7 includes:
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file
For tech heads … by massively hacked … we are
– changing wp-content to /assets/
– changing author slug to profile
– removing /category/ slug
– hacked theme name and dependencies to our local branding
– local loading vs CDN of font awesome and jquery for optimzation/opcache in prep for https/2 update to server
– highly compressed html, js, css
– highly optimized wp-config.php file
– if single/ head removal of js/css only intended for home page
– locked down php disabling in core WP folders for security
– complete removal of all comment code
– complete removal of all XML-RPC code
– complete rewrite of local default search to load from paid Google Search Engine (GSE), including from URL search string and default WP search box
– local loading of author/client avatar, captured from gravatar but hosted locally and cached
– custom “more posts from author” function and placement
– custom breadcrumbs since our CMS is in sub-dir, main static site one level up for actual ‘home’
– custom author box to print as plug into after post meta to appear on AMP version of page including link to author/client site and top four socials (rel=nofollow and target blank)
– custom data fields with ACF5 Pro
– custom hook to our YOURLS install to pull in custom shortcode, drop into post meta, for sharing
– custom local functions, CSS, for social sharing buttons that grab YOURLS shortcode
– (and like etcetera)
so, you think you’re confused ? Welcome to my brain right now ! 🙂
Or, to clarify – some things which hook into the post content, such as some author box plugins, or related post plugins, which hook onto end of the content block *will* show up in AMP automatically.
Be careful of paragraph alignment tags which WP stupidly still uses for old browsers and should have been changed to alignment classes at least 2 years ago. SO, centered paragraph tags and such will have to be search/replaced. Luckily images use an alignment tag properly when placed via the post insert media setting.
Very old non https YouTube/Vimeo links will need updating from http to https…
etc.
Hi
Thanks for reporting this. I’ve made some testes on mi side and seems that the theme display in authors box every registered user without checking if have or not an author role. We will change this implementation in next theme update.
Thanks for your message!
Hey Andrei
I did not explain my self good enough…
No, I have an author box, thats fine and it works
But the author box shows every user registered, but I only have 2 authors.
SO I want the author box to only show the authors and NOT users.
How can I do this, I mean a site can have thousands of user.
Thank You
Hello
I cannot get Include or exclude author ID to work in the box set up by neither VP or as widget. And I dont use them at the same time. I would like to exclude admin and proberbly some others more over time.
Is there a reason, this dos not work ? Only way it works is not doing anything, but then it shows all user.
Thank You
Hello Paul,
If you have an author box in the sidebar, then simply remove it from the widgets area:
http://screencast.com/t/fZlxrdYx
You could also have an author box on your page in visual composer on a split row. Also remove that one if you
want.
Thank you!
Hi,
Unfortunately there is no option for multiple author boxes in our theme. It will have to be made custom.
In the loop files the get_author function is called: http://screencast.com/t/x0Xs3SePVb4
This function is created here: http://screencast.com/t/JFa2UowoVywS
Maybe you can duplicate this function (give it a different name) and adapt the code to the plugin.
Or alternatively you can maybe find a plugin that has this function.
Thanks.
Hello,
It is any solution for Newspaper template to use multiple author boxes? There are plugins to multiple authors but how to make multiple boxes? Thanks a lot