- NewspaperAdding Multiple Authors to Your Articles
- 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
- NewspaperReviews
- NewspaperTheme Colors Introduction
- NewspaperGlobal settings
- NewspaperMega Menu
- NewspaperChild Theme Support
hi Catalin:
I want to remove the automatic author box for a certain author.
Thanks.
Hello NewBuffalo Times,
I guess that you want to remove the author box for a certain post, right? So, if you want to do this, you should use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.postid-958 .author-box-wrap{
display:none!important;
}
The result is here -> https://www.screencast.com/t/DhtYjMwTHaq
Thanks for your understanding!
Hi Catalin:
Apologies. I’m still confused. In the examples I sent you here – http://626.377.myftpupload.com/2017/01/12/958/
I did not add either author box via visual composer. In both cases, it is the author attribute based on the user section so it automatically apends to any post to which I assign that author. Is there no way to assign the author role but just not have the box automatically show at the end of the post for a given author?
Hope this is a bit clearer.
Thanks
Hello NewBuffaloTimes,
Here is talking about two different elements. In the first example, is an author box feature which can be added from Visual Composer -> https://www.screencast.com/t/7j7LgkZPCrg and which displays all the authors and in the second example, is talking about the author box from the single post which shows only the post author.
Notice that the theme does not have any such an option for your desire, but if you want to do that, you should edit the Author Box and add what type of code you want. Notice that if you do not have solid coding skills in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for your understanding!
Thanks but that removed the author’s box also from other authors, not just admin…
Hi:
Thanks for the fast response. It is one specific author, a generic catchall called New Buffalo Times staff – but many, many posts on an ongoing basis so it would be better if there is a way to add code that says anytime its from this author, don’t display box.
Here is a sample for that author:
http://626.377.myftpupload.com/author/newbuffalotimes/
versus an actyal author where we have a bio etc.
http://626.377.myftpupload.com/2017/01/12/958/
Thanks
Hello,
Try this code in the them panel-> custm css box:
.td_block_authors{
overflow:auto;
}
Thank you!
Unfortunately if I cannot see the issue I cannot say what it is. Please provide a screenshot if you cannot provide a link. But a bigger screenshot so I can see the url and figure out what page is this on. Is it the author box on posts? is it the author box element on pages? Provide more details so I can provide a proper solution
Thank you!
Hello,
It can be done but only by editing the theme files as there is no setting for this.
You can replace this code: <?php echo $td_mod_single->get_author_box();?> with this one
<?php if (!current_user_can('edit_theme_options')) { echo $td_mod_single->get_author_box();}?>
And you can add it like so on each post template file: https://www.screencast.com/t/98szyfiMDbQ
You have to do this for each of the 14 post styles as each one has it;s own file (if you do not use all 14 just edit the ones you use on your site)
Thank you!
Author’s box below the post is a great thing but I find it unnecessary when the author is Administrator. So is there a way to hide the author’s box only for admin user?
Hello NewBuffaloTimes,
If you want to disable one specific author box for a specific page, you should use a bit of CSS code with the certain post page ID, like this -> https://www.screencast.com/t/hV9Yvuc1GxQE
If is not what you mean, please provide more details so I will be able to provide a more accurate response.
Thanks for the message!
Hello,
How can I disable pagination in related articles and more from author box?
Is that possible to remove ‘More from Author’ and left only ‘Related Articles’?
Best,
Zen
Hi:
I want to disable one specific author box. We have a default “Staff Reports” that we won’t have a bio for. However, we want it to show for our columnists.
Thanks!
Hi,
Thanks, meanwhile, I managed to do it myself.
In case anybody else is interested in this, here is how you can do it.
First, on file Newspaper/includes/wp_booster/wp-admin/content-metaboxes/td_templates_settings.php change line 55 from if (current_user_can(‘publish_posts’)) to if (current_user_can(‘edit_posts’)). This means that the whole settings box is now visible to contributors.
Then, on file Newspaper/includes/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php you can add a custom class for example hidefromcontributor to the rows of the box that you wish to hide.
Lastly, you can set the class hidefromcontributor to have visibility=hidden selectively unless the logged in user is admin or author (or anything else you want).
So the complete box will only be visible to admins / authors, and all the lines that you don’t apply hidefromcontributor to them will also be visible by contributors.
Hi,
Like my colleague said above, you need to edit the file loop-single.php found in the theme folder – https://www.screencast.com/t/03wlQqibXwsV if you are using the default post template and add the code or codes provided above containing the custom ads in which you have added the ad code – https://www.screencast.com/t/SabRwdEK above the author box – https://www.screencast.com/t/iy5hBPUhx The result should look like this – https://www.screencast.com/t/3orYq4Nnhnl so you need to enter this following code in Theme panel->Custom Css to display the side by side
.single .post .td-a-rec-id-custom_ad_1,
.single .post .td-a-rec-id-custom_ad_2 {
display: inline-block;
}
If you are not using custom ad 1 or 2 fields you need to change the code accordingly
Result – https://www.screencast.com/t/ZFWW2yq8k
Thanks
Hi,
You can disable the author box in post pages in Theme panel->Post settings – https://www.screencast.com/t/x9Z0nE6yuUKc and also you can disable the author name on blocks and modules in Theme panel->Block settings – https://www.screencast.com/t/t6H5zywe If this is not what you wanted please provide more details about what you are trying to achieve
Thanks
Hello I want to hide author box after item view and also need to hide author articles/author page, how to disable this?
Hello,
I have a site with multiple authors and contributors. I don’t want certain user-levels to be able to change the post template or sidebars etc of the posts, so I have hidden the whole “Post settings” area, by making #td_post_theme_settings_metabox invisible to them.
However, I would still like to let them do reviews, so I am looking for a way to selectively hide the General Settings tab, but show the Review tab.
Would that be somehow possible? Thanks!
PS. Actually ideally I would like to show them the “source” “via” and “subtitle” fields too inside the general tab (just hide template, sidebars), but if that’s more difficult, it is OK to hide them.
Hi Catalin
I’m afraid I just can’t get that code to work at all. It works if I just put it in chrome’s ‘inspector’ but when I actually insert it in custom CSS in the theme panel it does nothing.
Here’s a screenshot of my code: https://www.dropbox.com/s/o2fwr22t32gtjdz/Screen%20Shot%202017-02-05%20at%2011.39.17.png?dl=0
I have even tried to add the code to get rid of ‘More From Author’ completely – it has worked on desktop view but still appears on mobile.
Please, can i send you logins so that you can have a look? My client is getting really fed up and I can’t seem to resolve this.
Many thanks
Lauren
Hello bobmak,
You should put it into the area where you want to appear on your website. For example, if you are using the post template style 1, you can add it below the author box section, like this -> https://www.screencast.com/t/KviSUJLYrns If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for your understanding!
Thank you, but i was actually looking for hiding certain authors completely. I mean If I have 4 authors Author 1, Author 2, Author 3 and Author 4. I would be interested in displaying author box for only Author 1 and Author 4. It shouldn’t be on post basis but only on Author basis.
Hello luxechicago,
If you want to give a style for your meta info by line for author name and date, you should use a bit of CSS code to do it.
.td-post-author-name a{
float:left!important;
}
The result is here -> https://www.screencast.com/t/F6uqYFKD
Regarding on comment box, please notice that the theme will do not hide is the comment is “0” if you want this. So, if you will check the theme panel, there you will find an option to disable it for modules/blocks and posts like this -> https://www.screencast.com/t/ImGU2bqO3axE -> https://www.screencast.com/t/1TnE7sr2
If is not what you mean, please provide more details so I will be able to provide a more accurate response.
Thanks for the message!
Hello m0re,
Please keep in mind that each post page displays the post author, underneath the post content. If you want to remove the author box for a certain post you should use a bit of CSS code to do that.
The code is here ->
.postid-217 .author-box-wrap{
display:none;
}
The result is here -> https://www.screencast.com/t/xl2sOy3A
Also, if you want to display all of your authors on a page, you should use the Block Author Box from Visual Composer.
If is not what you mean, please provide more details so I will be able to provide a more accurate response.
Thanks for your understanding!
Hi. I want comment box turned off. With the latest update….it is appearing ever where as 0. How can I turn this off.
Also when you go into the post….the by author and date are messed update (the pagination)
Our website is stylechicago.com.
Please let us know how to fix ASAO!
Hi,
How can i hide the author box for certain authors underneath the post. OR how i can show the author box for certain authors? is there a code for that?