- 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
You can customize the actual author box editing td_block_authors.php file and adding this code: http://pastebin.com/4DbvKd14 like here: http://screencast.com/t/Y8CM9lS0GVf6
This should display author socials and description in author box block.
Let me know how it goes!
Thanks!
Thanks again for the reply.
I see how to do it that way. I however like the built-in author box better. It has the social media icons and just looks better.
http://screencast.com/t/gzp3gePWD
So I was hoping to find a way to only show certain authors using that method. Perhaps adding a filter to the function.php file
Thanks again,
Steve
Hi
The author box block from Visual Composer can be used on post like a widget in sidebar or footer area. Also you can use the shortcode to insert it in post content like here: http://screencast.com/t/yJZKlrt1f5
To get the shortcode create a blank page, add the author box and set it as you want, then switch in backend editor, copy this code: http://screencast.com/t/OPqNgAyGm and insert it in post.
Hope this will help!
Hi,
1. You can try this css: http://screencast.com/t/1nUURCXMDGC
@media (max-width: 767px) {
.td_block_13, .blok6, .vc_wp_posts , .td_block_14{
display: none;
}
}
2. For the more author box try this one:
.td_block_related_posts .td-related-right {
display: none;
}
For borders try this: http://screencast.com/t/Yyg1owk2PI1x
.block-title {
border-color: #000;
border-bottom-style: dotted;
}
3. Try this:
.td-load-more-wrap a:hover {
background-color: #ff3e9f;
}
Thanks
Here is my speed booster file
<?php
/*
Plugin Name: tagDiv Speed Booster
Plugin URI: http://tagdiv.com
Description: Speed booster for Newspaper 6 and Newsmag 1.x themes - It moves the styles and all the scripts of the theme to the bottom when needed. It activates internal theme optimizations for better speed and it adds async js .
Author: tagDiv
Version: 4.1
Author URI: http://tagdiv.com
*/
define('TD_SPEED_BOOSTER' , 'v4.1');
class td_speed_booster {
private $style_footer_queue = array(); // here we keep all the stylesheets IDs that we want to move to the footer
private $is_ie = false; // if the browser is detected as IE, treat it differently
// here we keep the theme information
private $td_theme_name = '';
private $td_theme_version = '';
private $td_deploy_mode = '';
private $allowed_plugins = array(
'bbpress/bbpress.php',
'contact-form-7/wp-contact-form-7.php',
'jetpack/jetpack.php',
'js_composer/js_composer.php',
'td-speed-booster/td-speed-booster.php',
'font-awesome-4-menus/n9m-font-awesome-4.php',
'wordpress-seo/wp-seo.php',
'wp-user-avatar/wp-user-avatar.php',
'td-social-counter/td-social-counter.php',
'wp-super-cache/wp-cache.php'
);
// this class is instantiated at the bottom of this page
function __construct() {
add_action('td_wp_booster_loaded', array($this, 'start_booster'));
}
/**
* everything starts from here
*/
function start_booster() {
// read the theme version and name if defined
if (defined('TD_THEME_VERSION') and defined('TD_THEME_NAME') and defined('TD_DEPLOY_MODE')) {
$this->td_theme_version = TD_THEME_VERSION;
$this->td_theme_name = TD_THEME_NAME;
$this->td_deploy_mode = TD_DEPLOY_MODE;
} else {
return;
}
// detect IE 8 9 10 11
if (
!empty($_SERVER['HTTP_USER_AGENT'])
and (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) or (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false))
) {
$this->is_ie = true;
}
// add hooks
add_action('wp_enqueue_scripts', array($this, 'css_mover'), 1002); // 1002 priority - because visual composer has 1000 and we use 1001 in the wp010 theme
add_action('wp_enqueue_scripts', array($this, 'js_mover'), 1002); // 1002 priority - because visual composer has 1000 and we use 1001 in the wp010 theme
add_action('wp_footer', array($this, 'render_footer_styles'), 15);
// hide the body only on IE and Newspaper 6+
if (
$this->is_ie === false
and $this->td_theme_name == 'Newsmag'
) {
//add_action('wp_head', array($this, 'hide_body_inline_css'), 15);
}
/**
* jetpack is 'special' - it has to be moved like this. It has now only one CSS
* the two hooks are needed!
* @since 27.05.2015
*/
add_action('wp_print_styles', array($this, 'jetpack_mover'), 10);
add_action('wp_print_footer_scripts', array($this, 'jetpack_mover'), 10);
}
/**
* jetpack is 'special' - it has to be moved like this. It has now only one CSS
* @since 27.05.2015
*/
function jetpack_mover() {
$this->move_style_to_footer_queue('jetpack_css');
}
/**
* here we move the css
*/
function css_mover() {
if ($this->td_theme_name == 'Newsmag') {
// wp 011 - Newspaper 6
//$this->move_style_to_footer_queue('bbp-default-bbpress'); //bpress old
//$this->move_style_to_footer_queue('bbp-default'); //bpress
$this->move_style_to_footer_queue('google_font_open_sans');
$this->move_style_to_footer_queue('google_font_roboto');
$this->move_style_to_footer_queue('contact-form-7');
if ($this->is_ie === false) {
// move style.css theme style
//$this->move_style_to_footer_queue('js_composer_front');
//$this->move_style_to_footer_queue('td-theme'); //this is the main style of the theme. It's only moved on Newspaper 6!
}
}
//@todo test on newsmag
$this->move_style_to_footer_queue('woocommerce_frontend_styles'); //old woocommerce?
$this->move_style_to_footer_queue('woocommerce-layout');
$this->move_style_to_footer_queue('woocommerce-smallscreen');
$this->move_style_to_footer_queue('woocommerce-general');
$this->move_style_to_footer_queue('bp-legacy-css');
$this->move_style_to_footer_queue('td-theme');
$this->move_style_to_footer_queue('font-awesome-four');
//move revolution slider css
$this->move_style_to_footer_queue('rs-plugin-settings');
$this->move_style_to_footer_queue('genericons'); //still rev slider
}
/**
* move the js
*/
function js_mover() {
global $wp_scripts;
//detect revmin - revolution slider and do not move jquery, the plugin outputs raw js in the page!
if( !is_admin() and !isset($wp_scripts->registered['revmin'])){
if (is_ssl()) {
$td_protocol = 'https';
} else {
$td_protocol = 'http';
}
wp_deregister_script('jquery');
wp_register_script('jquery', ($td_protocol . '://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'), true, '1.11.1', true);
wp_enqueue_script('jquery');
}
/**
* move javascript to footer
*/
$this->move_js_to_footer('themepunchtools');
$this->move_js_to_footer('td-site-min');
$this->move_js_to_footer('revmin');
$this->move_js_to_footer('archivesCW');
$this->move_js_to_footer('js_composer_front');
$this->move_style_to_footer_queue('archives-cal-classiclight');
//print_r($wp_scripts);
// replace comment-reply.min.js with inline version
}
/**
* here we render the footer styles
* the styles are already deregistered when you call @see move_style_to_footer_queue ($style_id)
*/
function render_footer_styles() {
//get the theme version for style
$current_theme_version = $this->td_theme_version;
//on demo mode, auto generate version hourly + day - so we get a fresh css hourly
if ($this->td_deploy_mode == 'demo') {
$current_theme_version = date('jG');
}
if (isset($this->style_footer_queue['td-theme'])) {
// whatever the order, make damn sure that our td-theme style is LAST - we remove it from the queue and add it again at the end
$td_theme_value = $this->style_footer_queue['td-theme'];
unset($this->style_footer_queue['td-theme']);
$this->style_footer_queue['td-theme'] = $td_theme_value;
}
// output the new styles
foreach ($this->style_footer_queue as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
}
}
/**
* prevent flickering of the image until the style is loaded
*/
function hide_body_inline_css() {
echo '<style>body {visibility:hidden;}</style>';
}
/**
* the id of the style can be found in the source of the page, for example:
* <link rel='stylesheet' id='td-theme-css' => the id is 'td-theme' (note that the '-css' part is missing)
* using this method you can move other styles if needed
* Moves a style to the bottom of the page
* @param $style_id string - the id of the style
*/
function move_style_to_footer_queue($style_id) {
global $wp_styles;
if (!empty($wp_styles->registered[$style_id]) and !empty($wp_styles->registered[$style_id]->src)) {
$this->style_footer_queue[$style_id] = $wp_styles->registered[$style_id]->src;
wp_deregister_style($style_id);
}
}
/**
* @param $js_id string - the js file id (this is a bit more complex to get) @todo -> add a tutorial about how to get the theme js
*/
function move_js_to_footer($js_id) {
global $wp_scripts;
if (isset($wp_scripts->registered[$js_id])) {
wp_enqueue_script($js_id, ($wp_scripts->registered[$js_id]->src), '', $wp_scripts->registered[$js_id]->ver, true);
}
}
}
new td_speed_booster();
and here is registered scripts
registered scripts
archivesCW | http://www.domain.com/second/wp-content/plugins/archives-calendar-widget/jquery.archivesCW.min.js
aspexi-facebook-like-box | http://www.domain.com/second/wp-content/plugins/aspexi-facebook-like-box/js/aflb.js
jquery | http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
td-site-min | http://www.domain.com/second/wp-content/themes/Newsmag/js/tagdiv_theme.min.js
comment-reply | /wp-includes/js/comment-reply.min.js
registered styles
archives-cal-classiclight | http://www.domain.com/second/wp-content/plugins/archives-calendar-widget/themes/classiclight.css
awesome-weather | http://www.domain.com/second/wp-content/plugins/awesome-weather/awesome-weather.css
opensans-googlefont | https://fonts.googleapis.com/css?family=Open+Sans:400,300
google_font_roboto_cond | http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,700
google-fonts-style | http://fonts.googleapis.com/css?family=Open+Sans:400,700
js_composer_front | http://www.domain.com/second/wp-content/plugins/js_composer/assets/css/js_composer.css
td-theme | http://www.domain.com/second/wp-content/themes/Newsmag/style.css
td-theme-child | http://www.domain.com/second/wp-content/themes/Newsmag-child/style.css
Hi and thanks for the help
Is there a way to show the author box for only certain authors?
Say I have Mary as and author. But I also have post by Admin. I only want the author box for Mary to show up.
Thanks,
Steve
How can i hide the marked meta boxes from author, contributor & subscriber user role?
http://prntscr.com/7wloax
For those who may have had a sudden white screen of doom, this may have been caused by the often buggy new version of YOAST SEO.
They have issued a PATCH today (July 22). If you updated this week, you will want to get the new version out today.
(HINT! never update YOAST to their new version the day it comes out; wait a day for inevitable patches so their fu*k ups don’t crash your site!)
REF:
2.3.1
Release Date: July 22nd, 2015
•Bugfixes: •Makes sure authors and editors cannot submit advanced metadata on a post when the advanced tab in the metabox has been disabled for them. Thanks Peter Allor from IBM for finding and reporting this issue.
•Fixes a bug where upgrading to version 2.3 would occasionally cause WSOD’s on both admin and frontend. We were unable to pinpoint the exact conflicting plugins and themes, but we are quite confident it was caused by us using, and others hooking into, WP_Query too early.
Hi doucare1971,
Thanks for letting us know about this and glad you’ve managed to find a workaround on this eventually.
We haven’t tested the authors box with for this case so might have missed something but we will and fix if we find something wrong.
Thanks for the message!
Any help on this would be great. I have an authors page (http://www.honestcarreviews.com/authors/) using the Authors box and also an author profile but when I click on the link I am re-directed back to the home page.
I have also set up a page using the About Me block (http://www.honestcarreviews.com/graham-ferguson/) expecting this is where the above pages should link to.
Why is this not working as there is no documentation on this, please help!
Graham
Nevermind guys. I fixed it by guessing on the ids of the deleted accounts, and apparently I have got them removed from the page. So now I am sticking with you Author’s Box now, and I will just have to remember the ids of the deleted accounts to exclude. Don’t worry about this now. I haven’t been getting registration spam either since I put those emails in ban hammer. So I guess I will use the regular modal login/registration on top bar too.
Don’t worry about me being upset, because I wasn’t, just trying to figure out things. Really love this theme. 🙂
-
This reply was modified 11 years by
doucare1971.
Using the “Author Avatar List plugin” on WordPress repository. It work just the same as your author box when clicking on posts link. It goes to the same author posts lists. I will stick with this if you don’t have a way to remove the authors that don’t exist within the website after deleted. For some reason this plugin does what should be done. Just now don’t have the nice looks for the display of posts and comments from your author box.

I deleted some users with spam registration signups and they are showing up on my about us page still listed as authors, but they are not even members of the site still. How do I remove them? I tried remove the author box and add to the page again but still they show up even when they are not listed as members of the site.
Wish they were automatically removed when deleting their accounts off the website.
There was another thread about this opened in June, but that went nowhere, so I’m opening a new one. (https://forum.tagdiv.com/topic/twitter-link-error-in-author/)
The O.P. had it right. No link to view is necessary. The author.php author box loads the twitter user meta expecting a full link has been entered.
We could just enter the full link in our profiles but then the post author box and various plugins fail because they only want the username for twitter, not the full url.
It’s right on the post version of the author box. It’s wrong on the author.php version of the author box. Author.php author box should automatically prepend the https://twitter.com/ portion of that link. I’ve looked and can’t see how to do that myself with the way it is setup there. So we get a new bug report.
BTW – this is with v6.1 but I checked the code in 6.3 and it still has the same problem.
The foreach at line #47 in page-author-box.php is where the issue generates.
Thanks.
I didn’t see a suggestion box thread so I thought I’d add one. Here it goes…
1. Add H1 header tag to home page.
Yes, we can add a text block that contains H1. However, many users will not know how to do this. Thus, many users will never have H1 on their homepage which negatively impacts SEO. Another theme I use detects if the current page is the home page, and if so, it applies H1 to the logo and hidden text containing the site title and tagline.
2. Add an option to the blocks that allows users to select a header tag for the block title.
This will allow users to get H2 tags on the home page and archive pages. For the predefined templates, H2 should be selected on the home page and archive page blocks.
3. Include Alt tags in the images contained in blocks.
Every piece of media I have has an alt tag define for it. I would like these alt tags used. In cases where the alt tag is not defined, perhaps there can be an option to use the article title or the media filename as the alt tag.
4. Make it so that interacting with smart lists generates a distinct view in google analytics. I don’t know if this is hard or possible but it would provide users with a great benefit in terms of page views and add impressions.
5. Make it an option that when a site visitor clicks “next” on the last smart list item, they are sent to a new URL we specify. This is a sneaky way to get views on additional articles.
6. Ability to select background images and a URL and target for these images for a category, page, or post.
7. Allow admins to use HTML in their author page bio.
8. Ability to easily embed Facebook comments in addition to regular comments. Perhaps FB comments and regular comments can be placed in adjacent columns, full width without a sidebar next to them? That would be AWESOME. Throw in Google plus comments while you are at it. I’d pay extra for all of this. 🙂
I’ve tried a dozen themes. I’ve thoroughly reviewed all of the top selling theme demos on Theme Forest. Newspaper is in the top 3 themes I’ve ever used. I hope the SEO issues (1-3 above) can be resolved soon. Of note, a lot of the top selling Theme Forest themes have the same header tag issues.
Hi there,
I have a quick question. My website have many author so I want to set up nofollow on author box at the bottom on content post that have link out to other website and to social networks. I used nofollow plug in but It just made no follow on post content or on page content but on author box it’s still do follow.
And I like to put the author box on and let author like out to their social network and website too.
Thanks
The edits using in_category() function worked great in removing date and author from the post itself.
Strangely it only removes the date from other places. See here –
https://dl.dropboxusercontent.com/u/4800576/Capture.PNG
It seems to use the get_date() function but not the get_author() function.
Any sugggestions as to where else I might look?
Thanks
Julie
Hi,
1. Here you can see all thumbnails sizes that are used on modules/featured images – http://screencast.com/t/jsnReCqmbKTb if you want to change or add thumbnail size you will have to edit – http://screencast.com/t/8MITol7p and the thumb is used on each module – http://screencast.com/t/Z8LXUOclzo If you do any changes please regenerate your thumbnails – https://forum.tagdiv.com/using-the-theme-with-existing-content/
2. You will need custom work, unfortunately we cannot provide any custom work at this time, sorry! You can edit all blocks where you want to make your custom modifications – http://screencast.com/t/FWRgereEu and here you can change the functions for all blocks – http://screencast.com/t/yfXhwjntA8
3. The only option that the theme has, is to place an inline ad after x paragraph – http://screencast.com/t/IvxEsMjt5
4. There is no extra field for title of the site, we just use wordpress url for author box. A solution is to make this change – http://screencast.com/t/103oZ7QcZl – http://screencast.com/t/UjuVFBGCI
5. Please check Translations section – http://screencast.com/t/9NqBbNwo
6. Check this solution – https://forum.tagdiv.com/topic/related-article-box/
7. Please use this custom css in Theme Panel > Custom Css for post template 3 and 4:
.single_template_3 .td-post-featured-image, .single_template_4 .td-post-featured-image {
pointer-events: none;
cursor: default;
}
8. Not sure what you mean, theme have a various styles for category page – http://screencast.com/t/uu33kDROOd
9. Change here to take the featured posts – http://screencast.com/t/0qdQfFpAa8tX and also make this change so the featured filter appear – http://screencast.com/t/dTotgT95dds – http://screencast.com/t/ii4TSLwc
10. You will have to search in code all references to the “featured” name and replave with “features”. This is not so ease as you have to make sure that you change all, as some issues may appear.
11. You need to use a plugin like WP User Avatar – http://screencast.com/t/FbbMthPmy4Rn
12. Please check documentation – https://forum.tagdiv.com/td_api_moduleadd/ If you’re a beginner we suggest that you look for tutorials or professional training before trying to use this feature as we will not explain the syntax elements which are present in the code.
13. Unfortunately the theme doesn’t have an option for this but you can change the color using custom css in Theme Panel > Custom Css – http://screencast.com/t/cuoptJBP7
@media(max-width: 767px) {
.td-banner-wrap-full, .td-header-style-11 .td-logo-wrap-full {
background-color: #ffffff !important;
}
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Can there be an option in a future theme update to allow HTML in the bios? This way we don’t have to re-edit page-author-box.php in the future.
If the setting could be set for specific users (or, turned on by default for admins only) that would be awesome.
Since i move over from V4 to V6 in my google webmaster tools i’m getting a lot of errors with the…
hentry (markup: microformats.org) it keep giving me errors on each topic saying “Missing Updated”
Also this error…
<body class="single single-post postid-7708 single-format-standard wish-list-riddim-thirty-six-degrees td-boxed-layout" itemscope="itemscope" itemtype="https://schema.org/WebPage"><script type="text/javascript">
I getting this for each post from my site,it was not doing this with V4 only with the new V6
What so weird is every thing looks fine from my end but google saying it’s not..
hentry
itemtype:
http://microformats.org/profile/hentry
entry-title:
Wish List Riddim – Thirty Six Degrees
bookmark:
https://jahliveradio.com/beach-rave-riddim-wmg-lab/
author
itemtype:
http://microformats.org/profile/hcard
fn:
Steven G
I’m in the process of setting up the Newspaper 6 theme for our existing WordPress site and have a few questions / feature requests. But first a big thanks for creating such a cool and comprehensive theme!
1. Is it possible to change the thumbnail sizes so it reflects our existing image ratio? Our existing featured images are 480×280 so it would be great if I could set certain thumbnails to use a 48:28 ratio and the images don’t get cropped.
2. Instead of the Ajax Filter I would like to place a custom text or hyperlink right of the block title. Per example the title of the module is Daily News and I would like to add a text / link to the right: Powered by Nike. I noticed most people in the Newspaper showcase topic don’t use the ajax filter so this could be interesting for a lot of users.
3. Is it possible to auto embed a banner in the middle of the post text? So not above or below the article but in the middle without manual insertion.
4. In the author box the authors URL is displayed with http:// in front of the url. Can this http:// be removed as it looks odd. Per example: http://Google.com should just be Google.com
5. Is it possible to rename the Trending Now box to Breaking News?
6. Is it possible to remove the more from author tab on single posts?
7. In post style 3 and post style 4 on single posts is it possible to remove the hyperlink under the featured image? It is already shown large no need to link to a large version.
8. On category pages we used the category description and category image before. Is it possible to show them at the top of the category page?
9. Is it possible to show the featured articles in that category + sub categories at the top of the category page?
10. We already used a category for features, is it possible to change the source category for featured articles from featured to features?
11. Is it possible to set a new default image for all authors?
12. I saw it is possible to create custom blocks based on existing modules but for our homepage we have some other wishes. How can we create additional modules?
13. Is it possible to set a different header background color for smaller screen sizes? Per example on desktop the header looks best in white but on mobile the bar with logo would look better in black.
Thanks!!
Hi,
I’m not sure what the issue is, as I have checked author box and author page and it looks the same – http://screencast.com/t/aecT607qp3h6 – http://screencast.com/t/nOMCHH8puKW Try to re-add author description like you wish to look using html – http://screencast.com/t/YL1s3yho7y
Thanks!
Hi,
unfortunately it isn’t any more as it was yesterday. The only remaining formatting is bold (on post pages as well as the author page).
I’m not sure what exactly I did, but one thing I remember: I changed the visual composer settings and activated the post content type.
Any idea how I get back the p and br tags working in the biographical info box?
Regards
Richard
Hi, I just bought the theme and I am very satisfied. 🙂
Just have a few questions.
I am planing to integrate theme with UPME or Userpro plugin, followed with few customizations with WP User Frontend plugin for frontend post publishing/editing, as the first two plugin (UPME and Userpro) do not have frontend post management, but WP user frontend does (without using medialibrary).
It would be great if you could tell me which security plugins out there would work best with the theme?
As I am planing to change login url. Will this effect the theme’s front-end login function? If so, is it fixable?
I was planing to use Hide my WP + a security plugin which you recommend.
Also I have a sugestion: this theme would be even better if you guys implement front-end post publishing/editing + User profiles. I mean, you already have that author box below posts.. so the next step would be author profiles + frontend publish/edit posts.
Best Regards,
Matija
Hi,
I’m not sure what is wrong, but Facebook comment plugin appear above theme Author box.
See problem: http://layanable.net/kasut-selfie-terbaru-hangat-dipasaran/
How to place facebook comment below author box?
Do I need to manually add this code? – http://i.imgur.com/xuKfW9y.jpg
Where and which template?
Thank you.