- NewsmagMore articles box
- NewsmagAuthor card
- NewsmagGeneral settings
Hi,
I was wondering about how to avoid loading the Author Name of posts when showing them load from widgets.
We need the author field, and the author box under the Full Entry page. But we do not want to show Author name anywhere else.
Thanks again for taking your time.
Hi,
Also add td_util::get_option('tds_show_author_box') == 'hide' to the other condition, like this: http://screencast.com/t/DgcYoZIwYZBy and set the author box to be disabled form theme panel: http://screencast.com/t/QN9ok0v1R
Thanks
Thanks Lucian,
I tried but with your edit is still outside the box below the message author…
also if in theme option is off
I want only to show author under title and not box author…
Hi,
in Newspaper Theme i use SHOW AUTHOR UNDER TITLE but don’t SHOW AUTHOR BOX
Google webmaster report an error 404 because in code there’s sitename/author/ after the code
<div class=”td-author-name vcard author” style=”display: none”><span class=”fn”>
I try eliminating both codes reported here
http://screencast.com/t/Yv2bpfLP
but if I do that I see a problem in articles
Is there an alternative system or may be can I delete only part of the code that you suggest to delete…?
Thanks
Thank you!
It works, but partly. As i found out the thing is i use ads which have to have kind of unic id so one ad can’t be shown on the same page more then 1 time. So i had to add 3 scripts in the custom ad fields in theme panel and i’m run out of free fields now:)
Is there any way i can add more than 3 custom ads?
About ads in category between description and posts i still can’t figure out how to do it with do_shortcode() function… Could you please provide a bit more information?
For now i just added my ad script in file category.php after this
default:
echo td_page_generator::wrap_start();
?>
<div class=”span8 column_container”>
<?php
//load the author box located in – parts/page-category-slider.php – can be overwritten by the child theme
locate_template(‘parts/page-category-slider.php’, true);
?>
It shows up in the place i need, but i’m not sure if it’s right to do it this way..
Thank you in advance!
Hello,
Any help would be greatly appreciated.
I am trying to insert a custom ad into the loop-single-1.php
i followed instructions here: https://forum.tagdiv.com/how-to-insert-ads-in-custom-areas-of-the-website/
custom ad 8 in the theme options is populated with this ad code:
<div id=”taboola-below-article-thumbnails”></div>
<script type=”text/javascript”>
window._taboola = window._taboola || [];
_taboola.push({
mode: ‘thumbnails-j’,
container: ‘taboola-below-article-thumbnails’,
placement: ‘Below Article Thumbnails’,
target_type: ‘mix’
});
</script>
I created a new page with just the ad block (in this case custom ad 8). Then i saved the page and grabbed the shortcode:
<?php echo do_shortcode(‘[vc_row][vc_column width="1/1"][td_block_ad_box spot_id="custom_ad_8" spot_title="Taboola Under"][/vc_column][/vc_row]‘);?>
I placed the code below related posts into the loop-single-1.php like this:
<footer>
<?php echo $td_mod_single->get_post_pagination();?>
<?php echo $td_mod_single->get_review();?><div class=”td-post-source-tags td-pb-padding-side”>
<?php echo $td_mod_single->get_source_and_via();?>
<?php echo $td_mod_single->get_the_tags();?>
</div><?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo $td_mod_single->get_author_box();?>
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer></article> <!– /.post –>
<?php echo $td_mod_single->related_posts();?>
<?php echo do_shortcode(‘[vc_row][vc_column width="1/1"][td_block_ad_box spot_id="custom_ad_8" spot_title="Taboola Under"][/vc_column][/vc_row]‘);?>
<?php
} else {
//no posts
echo td_page_generator::no_posts();
}
however the final display is like this: https://www.dropbox.com/s/b5fke5p32qyz2n0/under%20related%20posts.PNG?dl=0
I need it nicely fit like it does when the same ad code is placed in the Article Bottom Ad < which i dont use because I need placed below related articles instead of above. exactly like here: https://www.dropbox.com/s/tifoolvtsyoayk4/article%20bottom%20ad.PNG?dl=0
Any assistance would be greatly appreciated.
Thank you
Hi,
Did you update from an older version of the theme?
In 1.5 theme’s version we have renamed some shortcodes:
– td_ad_box -> td_block_ad_box
– td_authors -> td_block_authors
– td_homepage_full_1 -> td_block_homepage_full_1
– td_popular_categories -> td_block_popular_categories
– td_video_vimeo -> td_block_video_vimeo
– td_video_youtube -> td_block_video_youtube
– td_text_with_title -> td_block_text_with_title
– td_slide -> td_block_slide
– td_social_counter -> td_block_social_counter
So the renamed widgets have to be re added to each sidebar after this update. Make sure that you backup your database and if possible get the widget list from your sidebars.
Rename the short codes via SQL: https://forum.tagdiv.com/update-newsmag-to-1-5/
The shortcodes shouldn’t be a problem, they will just appear on page as a code, you have to locate them and manually modify them to the new format: http://screencast.com/t/Da8k0HHtSD or use the SQL query (in phpmyadmin) to automatically replace them in the database – http://screencast.com/t/G1SwZNDb
Hope this helps!
Hi,
Please paste your adsense code from bottom ad in a custom ad: http://screencast.com/t/TzuoKV9JE7fu
Use do_shortcode() function and add custom ad shortcode bellow author box in post template file(you can edit post template file that you use: loop-single.php is default post style): http://screencast.com/t/ZmiYLiRbLfI
<?php echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]'); ?>
Adjust with css code top and bottom space: http://screencast.com/t/MVowgGa2T
.single .td-g-rec-id-custom_ad_1 {
margin-top: 10px;
margin-bottom: 0px;
}
Paste custom css in Theme Panel > Custom Css: http://screencast.com/t/j19UM4TrBQc
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hello!
Where would I add the HTML for my content.ad custom URL to appear UNDER the author box, above the “similar articles” section I have on my website?
Website URL: http://www.livelovefruit.com
Example page: http://livelovefruit.com/2015/04/super-berry-chia-pudding-recipe/ (I would want to move the ad named “recommended articles” to appear below the author box)
Thanks!
Carly
Since this comes up a lot, I thought I’d list some of the plugins I use as standard fare on all our sites:
1) Thumbnail Upscale — this allows you to over-ride the stupid WordPress bult-in function to “disable” your servers natural capability with ImageMagik of “enlarging” your images to fit featured blocks/sliders.
2) Auto Post Thumbnail PRO — paid plugin which allows us to have some of our network content automatically pull from “first image in post” even if from our main hub, and make it the featured image. Awesome if converting to theme from OLD theme which used the TimThumb plugin.
3) WP-Optimize — awesome for regular optimization of dbase to clean house, on spam comments not deleted, trashed posts, and normal database clean up.
4) YOAST WordPress SEO — while we used to have an inhouse plugin for this, Yoast has done great job of putting it all together for managing meta data on global and per-post basis, setting up SEO for home page, and also OG tags for social media.
5) Awesome Weather Widget — we use this on our “state” and local news portals to add a nice local weather box to home page.
6) Limit Login Attempts — this should be built-in to WP, frankly. It helps stop people from sitting there and guessing user passwords or using a bot to hit it over and over. With IP blocking and tracking. Essential!!
7) WP External Links — in our case we need to make the majority of outbound links “rel=nofollow” and this does that automatically.
8) Auto-hyperlink URLs — we use this to control auto-linking of URLs in text, since we pull in a lot of content with visible but not anchor linked URLs in news text from our main hub. This makes all the links live, but also makes them rel=nofollow and open in blank/new window. Can also add external link icon if desired.
9) Simple Local Avatars — already noted in my optimization notes; this awesome little plugin allows you to load/cache GRAVATARS locally, as well as use local images for author pix, which will work on sidebar author blocks, author page, and in author box bottom of posts as it hooks into the main “author image” gravatar hooks; so anything which can read the normal WP gravatar image will work with this.
10) *lazy loading disqus” (not actual plugin name…) — we’re testing a recently launched plugin which uses Disqus API but loads element async and deferred and optimized to load after content and not slow down page. More later 🙂
Hope that helps somebody!!
Chris
Reverted to the old php file and it worked…
Your author box code is not working… cant see social icons
Another thing…
How can i change the arrow colour on the big slide on the home page, right now it is white, I want to change it black or blue…
Hi,
I’m not sure if you refer to a page with all authors or to a page for each author like this one – http://demo.tagdiv.com/newspaper/author/admin/
The last one is created automatically for each author, all you have to do is to edit author profile: http://screencast.com/t/aeusDUD3V5k
If you want a page with all of your authors you can create one: http://screencast.com/t/NlTv6uCjkR also if you want author description there please follow this topic: https://forum.tagdiv.com/topic/author-box-help/
Also I’m not sure what is the issue with your sidebar please provide more details: http://screencast.com/t/i8sQH8bq
Please use Theme Panel > Translations to translate “Continue”: http://screencast.com/t/LiMhOGSZ
Thanks!
Hi,
Is there a way to have an authors page? where all the bios/boxes of the added editors and authors show up…. could find it on the demo site of yours.
Thanks
SP
I am trying to add a custom ad under the author box but it is not showing up. I have the following code:
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo $td_mod_single->get_author_box();?>
<?php echo do_shortcode(‘[vc_row][vc_column width="1/1"][td_ad_box spot_id=”custom_ad_3″][/vc_column][/vc_row]‘);?>
<?php echo $td_mod_single->get_item_scope_meta();?>
But the text “[td_ad_box spot_id=”custom_ad_3″]” is showing up where the ad should be. Am I missing something?
Hello Team,
Regarding the author box that comes with the theme, why can’t I add an image for the author? The Newspaper demo seems to have images for authors. How can I achieve that?
Thank you.
example:
in the settings box put the user IDs of the 5 most popular authors like
14,13,25,3,8
Hi,
Unfortunately the theme’s author box widget doesn’t have an option/filter for the most active authors. You can only use author ID’s: http://screencast.com/t/5bwCfqcaPX ..and set the one you want to include or exclude using the author box settings: http://screencast.com/t/mARyUr7fhkCb
If you want a different approach on this you can also use a plugin that can help you configure the authors widget based on most active perspective also.
Hope this helps!
Thanks
Hi!
I’m trying to place AUTHORS BOX widget at the sidebar and it is not possible to view.
When I put this element – all of the authors appear in the sidebar (more than 25)
How can I put the number of the shown authors. I want 5 most active authors to be shown.
Hi,
You can disable Author Box from Theme Panel > Post Settings: http://screencast.com/t/kEZerhQ3f
Thanks!
Hi,
I’ve just added an author plugin. How do I remove the original author box at the bottom?
See – http://versifiedlife.com/morhymes-da-poet-modern-day-shakespeare.
Kind regards,
Anthony
I’m creating an “About Us” page and planned to use the author boxes to showcase each writer. The author boxes on your demo site include user description text and social icons. The author box on my site only inlcudes image and name (like a sidebar widget). How did I fix that?
Also, When it asks for “author ID” what specifically is it asking for? When I try to “exclude authors” by typing in their WP username, email, full name, etc. it doesn’t exclude them. When I try to only include ONE author, none of the user forms I try to enter actually work.
How do I fix both these issues?
I have a problem with the Mail icon in the header and in the author box.
It does not connect to the Mailadress.
Instead it connects to “page/mailadress”
Example: http://fussball-geld.de/einnahmetabelle-1-bundesliga-20142015-26-spieltag/
It shows: http://fussball-geld.de/einnahmetabelle-1-bundesliga-20142015-26-spieltag/info@fussball-geld.de
Hi,
If you have custom modifications to the theme files you ca take a look and see what files we change until latest update and update only that files. Anyway we have made many changes till version 1.7.
If you don’t have any modifications to the files please follow this guide to update and use FTP method(also make a backup of your current theme installation, so you can revert if something goes wrong): https://forum.tagdiv.com/how-to-update-theme/ and also update the plugins that come with the theme files from the /plugins folder.
In 1.5 theme’s version we have renamed some shortcodes:
– td_ad_box -> td_block_ad_box
– td_authors -> td_block_authors
– td_homepage_full_1 -> td_block_homepage_full_1
– td_popular_categories -> td_block_popular_categories
– td_video_vimeo -> td_block_video_vimeo
– td_video_youtube -> td_block_video_youtube
– td_text_with_title -> td_block_text_with_title
– td_slide -> td_block_slide
– td_social_counter -> td_block_social_counter
So the renamed widgets have to be re added to each sidebar after this update. Make sure that you backup your database and if possible get the widget list from your sidebars.
Rename the short codes via SQL: https://forum.tagdiv.com/update-newsmag-to-1-5/
The shortcodes shouldn’t be a problem, they will just appear on page as a code, you have to locate them and manually modify them to the new format: http://screencast.com/t/Da8k0HHtSD or use the SQL query (in phpmyadmin) to automatically replace them in the database – http://screencast.com/t/G1SwZNDb
Hope this helps
Hi,
You can try to add a condition in loop-single.php(or edit the post template that you use) like this: http://screencast.com/t/KLixIJTweRZ6
<?php
if ($td_mod_single->post->post_author != 1) {
echo $td_mod_single->get_author_box();
}
?>
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi guys,
Is it possible to hide the author box for admin posts? Doesn’t seem to be any sense to have an author box on things like event announcements or re-written press releases.
Thanks,
Serg