No search results were found in Documentation!
Hi Alin,
I went back to 6.1, look next update …
also check this wrong on 6.2
1) https://forum.tagdiv.com/topic/problem-article-paragraphs/
2) Google webmaster sign error http://www.site.com/author/
with author under title without box author
Thanks
-
This reply was modified 11 years by
Bintmusic.
Hi,
I added some basic html to format the biographical info in my user profile. That’s working fine in the author box at the end of my posts (e.g. http://excellenceaktuell.de/wer-schreibt-hier-und-warum/). It is not working in the author box on author pages (e.g. http://excellenceaktuell.de/author/admin/).
Any ideas how to fix that?
Regards
Richard
Hi,
Please esc_html from author description in page-author-box.php – http://screencast.com/t/za0Ldx7lPAd – http://screencast.com/t/mGue4d7n and it should work – http://screencast.com/t/fEtCyv7qoVZx – http://screencast.com/t/EWlClIPNl
Thanks!
Hi,
You don’t have to create a page for each author, if this is what you mean, an author page is created for any author with posts – http://tipsthatrock.com/author/samantha/ and you can find author template in Theme Panel to set a module to display articles, sidebar position or custom sidebar – http://screencast.com/t/lulm1WYz
If you want to create a page with all authors you can use Author Box block – http://screencast.com/t/rQWEidzj – http://screencast.com/t/2pSResqQjm4n
Thanks!
Hi,
You have to disable author box like Christopher suggested – http://screencast.com/t/6pu9lhsQOQ3
Thanks!
Hi,
1. Please provide a link so I can take a look – gap between content and author box.
2. Please increase margin bottom value for .td-post-header-holder or change this value for each post template that you use. Add a default value for .single .td-post-header-holder and then change it for each template where is not looking fine using uni .single_template_x .td-post-header-holder
Thanks!
make sure you don’t have bad characters in username (e.g., tildes or whatever as that can cause problems although it’s supposed to be sanitized).
When you click on author NAME under byline does it go to author page? That is one thing, author bio box is a different thing entirely.
Author’s website link from user bio, would be the URL shown at bottom of bio box. But author photo and “name” at top of the bio box below post should also link to same place.
Be sure to check if you have a plugin causing conflict, or java error from F12 in chrome or IE.
Hi Chris,
thank you for the seo tip! 🙂
The thing is, that when i click on the author box under an article, that it redirects me to the startpage of our magazine. And not to the author page …
As in the theme demo, an author page is created for any author with posts; so once you have posts for that author, there will be an author page/index for that author with list of posts and the bio info from their user account setup. Simple! 🙂
You can, of course, create a custom author page template as with all wordpress themes, but the basic author page works out of the box, as it were.
WP strips out HTML in the author/bio box (“sanitizes”). This has always been the case. On many sites users are allowed to register, and HTML in ‘bios’ would be additional spam on the ‘author page.’
You have to modify the code, typically with functions.php to enable such functionality. Not theme related, specifically.
Try adding something like this to your functions.php file
in your theme folder, at bottom
//disable WordPress sanitization to allow more than just $allowedtags from /wp-includes/kses.php
remove_filter('pre_user_description', 'wp_filter_kses');
//add sanitization for WordPress posts
add_filter( 'pre_user_description', 'wp_filter_post_kses');
After activating this snippet, the author bios can include p, br, and other HTML tags.
Warning
WordPress sanitizes user input for security reasons, not just to annoy you and make you go on a hunt to find this post to learn how to override the annoying setting.
If you’re considering disabling the WordPress sanitization, make sure you trust your users to not enter potentially harmful content into their profile bios. This includes iframes, forms, and more.
Welcome to WordPress! 🙂
-
This reply was modified 11 years by
simchris.
Maybe go to post settings and turn off the author box ?
See the theme docs, right side of this page >>>>>>>>>>
Hi there! I’ve stumbled across an issue where the HTML that works in the author box is coming up as text on the author page. It was working previously to upgrading to 6.1. I’ve got the WP HTML Author Bio plugin. Here’s an example article with the author box with working HTML, and here’s the author page where the HTML isn’t working.
Thanks so much in advance! We’re loving the theme.
OK, the top margin is fine now. Thanks.
Another issue… the CSS is working to close the gap between content and author box here: http://take.ms/JwCED but not here: http://take.ms/2cuJZ
Here’s the CSS I am using: http://take.ms/6sJ8a
Any suggestions?
-
This reply was modified 11 years by
Daniel Finch.
I have tried to make an authors page using the authors block, been looking at this post for the solution -> https://forum.tagdiv.com/topic/author-box-help/
It works fine when i insert this in the main themes td_block_author.php
$buffy .= '<div class="td-authors-description desc">';
$buffy .= '<p>' . get_the_author_meta( "description", $td_author->ID ) . '</p>';
$buffy .= '</div>';
But im trying to make it work from my child theme instead. I have added this to my child functions.php
function hook_td_global_after() {
td_api_block::update('td_block_authors',
array(
'map_in_visual_composer' => true,
"name" => 'Block Authors',
"base" => 'td_block_authors',
"class" => 'td_block_authors',
"controls" => "full",
"category" => 'Blocks',
'icon' => 'icon-pagebuilder-td_block_authors',
'file' => td_global::$get_template_directory . '/includes/shortcodes/td_block_authors.php',
"params" => array_merge(
td_wp_booster_config::get_map_block_general_array(),
td_wp_booster_config::get_map_filter_array(),
td_wp_booster_config::get_map_block_ajax_filter_array(),
td_wp_booster_config::get_map_block_pagination_array()
)
)
);
}
But it doesn’t work. Its probably me whos to tired to figure it out, but i dont get it. :/
Hi,
1. Try ith this CSS:
.td-post-header-holder {
margin-bottom: 10px !important;
}
2. Use this:
.author-box-wrap {
margin-bottom: 10px !important;
}
3. Use this:
@media (max-width: 767px) {
.author-box-wrap {
display: none;
}
}
4. This section http://screencast.com/t/P0rOkwz2zw work only for Adsense Ads, do you use adsense or just an image ad?
Hi there,
There’s a few adjustments I’d like to make to the theme:
1. I’m not using the default share buttons so would like to remove the space seen here: http://take.ms/UxtMC (Please note I would like to do this on all templates)
2. I would also like to remove the space between comments and author box: http://take.ms/KpCGU
(Please note I would like to do this on all templates)
3. I would like to remove the author box on MOBILE ONLY.
That’s it for now at least. I would appreciate a little help implementing these changes.
Thanks in advance,
Mark
Hi
If you want just some authors to appear on your page, go to users section in WordPress, click the one you want, like here http://screencast.com/t/ahcHouQQURgL after that get the id http://screencast.com/t/r3wr7r3Wvx and paste it in the widget author box like here http://screencast.com/t/sjU8OR2asXDv
If you want, you can add more id’s like in this example http://screencast.com/t/W4TjaAxvHPI
We added your suggestion on our list, thank you very much for that.
Thanks!
Hi Again,
My site has a lot of authors and all of them are showing up in the sidebar when I add a ‘Author Box’. I saw the td_block_authors class and noticed there is no ‘number’ parameter added to the get_users args. Can you please add it to the core and maybe make it part of the widget setting?
Hi,
Unfortunately you will need custom work to move the bottom ad above the author box as it is apart of post content – http://screencast.com/t/78WC2EAv A solution to place the ad above the author box is to use a custom ad like Emil suggested above. Paste the code in a custom ad in Theme Panel > Ads > custom ad – http://screencast.com/t/JFsT6hi5o and use do_shortcode function to place the custom ad above author box – http://screencast.com/t/E1euKrXjuE – http://screencast.com/t/HrDZYbvl9rr
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
Result: http://screencast.com/t/87OS4SszJVAG
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
Thanks Emil! The number 5 function didn’t work, but I changed it to “article bottom ad” and replaced the taboola script into the loop-single file below the article sharing function and that worked. Now I just need to figure out how to get the article bottom ad above the author box – you don’t happen to have another function that works for that, would you?
And Chris – thanks for the suggestion. I wasn’t minifying the functions.php file, I minified the stylesheet, and didn’t know if I was supposed to do that before or after modifying the functions file – but as you say, they aren’t related, so that rules out that!
Thanks!
Hi
For some reason there is a date/author inline my posts after updating to V6. Anyone know how to remove it?
Example page: http://welketonic.be/whitley-neill-dry-gin/
Screenshot: 
Hi!
Can I delete the part “MORE FROM AUTHOR” from related article box?
Hi,
unfortunately the theme doesn’t support that out of the box. In general people want the author markup because google metadata testing tool will emit an error when the author markup is missing.
Bruce
just to chime in; from my own projects — it’s NOT that sample, unfortunately; there aren’t any plugins I’ve seen which combine “all author views” within a theme. Normally you would do something like setup Google Analytics and apply a custom filter to the author by name, or use something like Piwik to create custom tracking per author.
The theme setup is a fairly simple one of tracking ‘views’ based on post and then writing that to a data field saved with post meta (hence why you can see that in each post custom fields). To add an additional dbase call, you would have to ALSO write another field for author with unique key separate from post key and then write that to ALL post records for that author.
You would likely need to hire a custom developer to build the dbase hooks and so forth to work with theme; but probably simpler to have a custom plugin built that can do the author lookup and then the overhead for writing multiple data fields. This would be some serious custom work, unless you’re doing a multi-site setup, where each author essentially has their own mini-site (e.g., large magazines setup unique blogs per author, and then there are unique stats by author/blog as the more typical way that’s done).
For adding something like additional author fields, you would likely need to do some custom work to add to your functions.php file and register additional record fields “per user” and then you’d have to edit the author template in theme to query/echo that custom field in the per author setup to load that info.
Neither of those are capable of being done out of the box with this, or any comparable theme unless you build those features in yourself as they’re not commonly needed by most folk as “part of theme,” since you’d lose such custom info if changing themes in some cases. So, those kinds of customizations are best done outside of the theme framework, but done via both functions.php and custom data fields which are not directly tied to, or managed by, the theme.
There are numerous plugins for adding custom user fields, and then using shortcodes in your template files.
Or you can “roll your own,” as there are hundreds of articles online for adding “custom user fields” to WordPress.
ONE example:
http://wpengineer.com/2173/custom-fields-wordpress-user-profile/
Hope that helped. Obviously the theme devs can’t build custom code for you outside of minor tweaks and CSS over-rides; they don’t do full custom stuff at this time.
1. How do I erase the excess pink space from the top of footer to snap closer to logo and same with bottom of footer to snap closer to social icons?
I think those areas have some padding due to the possibility to include some ads in those spaces. It looks like the height of the footer is hardcoded to be 1164×389. It is element ‘td-footer-wrapper td-footer-template-4’. You could change it in your style sheet.
2. How do I make the social icons in footer menu a bit bigger? And how do I make the hover colour on those icons a solid purple colour instead of the colours constantly changing?
The footer social media icons are designed to be 40×40. You’d have to change the styles too. Look at the following elements in your CSS: td-social-style-2 and td-icon-font. If you’re going to make several edits to the stylesheet, consider making a child theme.
3. Chris’s Pagespeed Custom Code no longer works (the one that you post at the end of the functions.php – will he be coming out with a new one that works with Newspaper 6?)
Have you upgraded to v6.1 of the theme?
4. How do I move the bottom share options (at the end of my posts), above my taboola advertisement so that they appear right at end of article?
Go to your dashboard. Theme Panel>Post Seetings>Sharing. You should see toggles to move the social sharing buttons.
5. Is there a code so that my custom ad 1 will appear underneath (or above) the author box?
I’m not sure if it always inserts it below ads. I think the author box is placed there via the posts template. You can attempt to mess with the posts templates to see if another one places the author box higher. Go to dashboard. Theme Panel>Post Settings>Default Post Template.