- NewsmagUsing the theme translations together with WPML
- NewsmagHow to update a plugin
- NewsmagCustom Post Type Support
- NewsmagAbove footer ads
- NewsmagWeather Widget
- NewsmagHow to update the theme
- NewsmagIntroduction
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagCustom ad spots
- NewsmagArticle ads
- NewsmagSidebar ads
- NewsmagHeader ads
- NewsmagLoading image effects
- NewsmagCategory top post styles
- NewsmagSmart Lists
- NewsmagGeneral settings
- NewsmagTheme thumbs
- NewsmagtagDiv slider gallery
Hi!
The font size in lists does not seem to change, even when line heigh for post content, font and font size is set for post content.
In our case, the font size is 12 and line-height 30px (for rest of content font size is 20), but only line height and font-type changes in the lists.
Is there anyway to also change the font size in the lists?
Hey
I switched my comment system to FB comments and edited the template for a custom position. All looks good except that I lose the CSS title block for comments, now its just plain H2 text. Newspaper uses stylised CSS title blocks in the sidebar and to separate main page elements which keeps it all neat.
I cannot see a way to stylise plain <H></H> tags in the same manner. Also this particular title is set by the FB comments plugin. There is a nice site in the showcase that has managed to do it, I can’t see how.
1. My site with new FB comments added http://www.screencast.com/t/JOogiPEYn
2. Desired result here, http://www.screencast.com/t/qYBPuCE93zs
3. Live page example http://www.gloholiday.com/top-10-most-unusual-hotels-in-the-world/
Any nice suggestions?
Thanks
Chris
Hi,
I know the theme allows you to create multiple sidebars which you can then choose using a drop down list when editing the post.
My question is, if I wanted to add just a single text widget to an individual post is this possible?
Lets say I have 7 widgets that I consistently use on every post page (the social counter is an example of one), but I’d like to add 1 unique widget. I would currently need to generate a whole new sidebar just for that one additional widget.
any suggestions would be greatly appreciated – Thanks
edit- maybe I need a plugin like this one – widget-logic
Hello all.. embedded iframe videos aren’t responsive to mobile and tablet in my website and i think it’s from the caching or something like this ..
Here’s an example : https://boredomdoctors.com/elephant-and-goat/
Hello, I have noticed the sidebar of posts are not appearing. Please see for an example: http://www.mainstrock.com/what-is-prayer/
Please advise. Thank you.
Hello friends,
Since my site is focused on photography and hence on the site there are many pictures, I decided to optimize the server so that it may yield the best results, the most you’ve got is the next value obtained in pingdom and page speed. I would like your evaluation and any advice if I can improve more. Thank you.
http://tools.pingdom.com/fpt/#!/coIchC/picrun.es
https://developers.google.com/speed/pagespeed/insights/?url=picrun.es&tab=desktop
Please see the link below for an example of a page that doesn’t show the semi-transparent background – it’s a white block around the body copy…
Hi, all.
I will email Lucian/Radu the example stuff.
But quick overview…. FB has their own generated code you can implement, which can be responsive and this method basically replaces their old defunct WP plugin for FB comments.
Example in action on IMDB news items:
http://www.imdb.com/news/ni59489163
But, basically you go here:
https://developers.facebook.com/docs/plugins/comments
You use the “configurator” to specify a website, and width such as “100%” for responsive divs.
Assuming your site is already setup for ‘apps’ in your FB developer/user account, you would on above page click the ‘get code’ and then it will ask you to assign to one of your sites (if more than one), and you have a block of code to use with a WP theme.
Block ONE, looks like this and would go after the body tag on POST template:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=XXXXXX";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
then block two would either replace the comments box includes file, or simply be pasted into the template for the post, after post loop, after author box
<div class="fb-comments" data-href="http://mydomain.zzz" data-width="100%" data-numposts="5"></div>
Only trick is when you do the form, then get code, it will say “item not public, make public on your app menu” then trick there is to put in email, namespace (sitename all lower case), domain for app. Then click to make public. Going back to the configurator doesn’t make a new app, you’re still making just the ONE app for your site you specify; you can’t make 2 accidentally!
Nice :).
If you are using Elegant Theme’s something seems to always break on every major WordPress update :P.
Anyway I just noticed the following code:
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--><style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important}</style><!--[if lte IE 9]><link
rel="stylesheet" type="text/css" href="http://www.x.info/nl/wp-content/plugins/js_composer/assets/css/vc_lte_ie9.min.css?152966" media="screen"><![endif]--><!--[if IE 8]><link
rel="stylesheet" type="text/css" href="http://www.x.info/nl/wp-content/plugins/js_composer/assets/css/vc-ie8.min.css?152966" media="screen"><![endif]-->
Did someone find a fix for that one? I am already using Chris’s example:
/*remove visual composer*/
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
/*remove Visual Composer CSS from “post” pages */
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
/*clean head */
remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
/*remove 4.2 emoji*/
remove_action( ‘wp_head’, ‘print_emoji_detection_script’, 7 );
remove_action( ‘wp_print_styles’, ‘print_emoji_styles’ );
-
This reply was modified 10 years by
Magistar.
Hello,
I ran a few tests with the examples provided and it really seems to be a problem with firefox. The logo loses it’s responsiveness.
@ Everyone who encounters this issue, please add this css code in your theme panel -> custom css box:
.td-header-style-10 .td-header-sp-logo img{
width:100%!important;
}
(this is for header style 10. If you encounter issues on another header style like header 9 for example, change the number form the header style in the code)
This should do the trick.
I will add this issue on our list for further testing and if there is a bug i will be fixed in a future version of the theme
Sorry for the inconvenience.
Hi,
I have a couple of custom taxonomies working in the theme (ver. 2.2).
Only the pagination is not working – if there are more pages (in my example 3) the link for page 2 or 3 looks like: ?paged=2 or ?paged=3
Clicking on one of the pagniation buttons ends up with displaying the homepage.
There is only the standard taxonomy.php in place, calling the td_page_generator::get_pagination(); function.
It is a local dev, so at the moment no chance to share a link.
Thanks for a hint.
Hi
To load a different banner for a specific page you can add a condition in the file corresponding with the header style used. For example if you’re using header style 7 the file that must bee edited is header-style-7.php and the code should look like here: http://screencast.com/t/ryRhn07c25
<?php
if (is_page(page-id)){
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
}
else{
locate_template('parts/header/ads.php', true);
}
?>
Replace the page-id with the numeric id of the page where you want to load a different ad. To get the page id follow this link: http://screencast.com/t/9V7zgx6WK
I used custom ad 1 in this example but you can use any of the custom ads, just update the number from shortcode. Ex: for custom ad 4 the shortcode will be [td_block_ad_box spot_id="custom_ad_4"]
If you want to hide the logo on a specific page just add this condition here: http://screencast.com/t/iT9p861gnJ
<?php
if(!is_page(page-id)){
locate_template('parts/header/logo.php', true);
}
?>
Let me know how it goes.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello,
If you wish to add a piece of code to a certain place automatically in the theme, you will need to edit the specific files corresponding to every place you want the widget to appear.
For example, if you want it to appear on posts, you will have to add it in the post template files here: http://screencast.com/t/90Lz9pLmZD . For every post template you use, you will have to add the code in the corresponding file. Then if you only want to show the widget in a particular category, then you can add conditionals to your code like so:
<?php if (in_category('your category name')){
as a reference: https://developer.wordpress.org/reference/functions/in_category/
I hope this helps.
Thanks.
Hi
The theme uses thumbs to reduce the page size and speed up page loading time. From each image uploaded are generated thumbs for each thumb size used by the theme. Basically when a post it’s displayed on the page in a block, the featured image displayed is not the one which you uploaded in media file, it’s a thumb cropped from the original image at precise dimension.
You can see where each thumb it’s used in theme panel > thumbs on module & blocks: http://screencast.com/t/6ny0JTMsR For example this thumb: 300 X 160 it’s used for modules 1,2 and blocks 3,4. If you’re nut using those modules or blocks on your site then this thumb can be deactivated. In order to those changes take effect you need to regenerate the thumbnails: https://forum.tagdiv.com/existing-content/
Hope this help.
Thanks!
After installation:
When I check live Preview all the images in posts & below-related posts thumbnails shows perfectly.
But After Save and Activate the theme. The images are showing in white. (If we right-click on the white area, we can open image in new tab or window perfectly). I installed Regenerate Thumbnails nothing use. How to overcome with the issue.
Images are shown below:
Live Preview Image: Click Here
After Activate Image: Click Here
Hi,
i deactivated in the setting the thumnail size 0 x 420
when i upload a image in exactly 696×420 pixel – it uploads the original image example.png and ALSO creates a image in 696×420. In this case i have two times the same image in the upload folder. One time with example.jpg and the second one wiht example-696×420.jpg
1.How can i avoid the creation of the second image?
2.How can i call the default image in the modul.(i tried td_696x0 – works fine – it pics up the example-696×420.jpg image) – but how can i call the default full uploaded image (example.jpg) ?
Thank you
Thanks for NewsPaper the awesome theme that decorates Owl Reporter but it got some bugs im reporting them here
Google has introduced new responsive link ads, they are being incorrectly parsed by newspaper theme
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Responsive Link 1 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-xxxx"
data-ad-slot="xxxx"
data-ad-format="link"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Here is an example of responsive link ads, but they are being parsed as display ads its violating google adsense terms, its better to have an option to omit auto parsing of google ads
When adding a youtube featured video post (Post type 11) its unable to pre define a featured image its is being automatically downloaded how to skip it ? the default images with videos are not so good, that is why its better to use different featured images for video posts
Even if a featured image is set on publishing it is being automatically changed, the post have to be re edited to set the custom featured image

In post sharing official tweet button at last is unnecessary why have two tweet buttons? instead of it add google +1 button

How to pick the related posts ? Tag or Category ? Why Both (Category & Tag) Option Missing ?
Thank you for your answer Bogdan.
This is not about the FB likes.
What I’m saying here is that if for example an user comes from a Facebook post directly to the post in the Newspaper theme, the view post it’s not counted at first. Then if you hit refresh it will increment the views count.
The same thing it happens if you enter the site, go to the post. You have to hit refresh to increment.
Hello,
Unfortunately there is no one place to edit to change the color. You will need to search in style.css the default color which is:#4db2ec Then you can use a text editor and do a search and replace. Here is an example in notepad++ as it’s a free text editor and easy to use: http://screencast.com/t/YsOkmi8N3Ud
Now your color will be the default one so you can set the general color to default in the panel.
(The down-side will be that on every theme update you will have to make this modification as style.css will be changed every time.)
Thank you!
Thanks for your suggestion.
Unfortunately that code is not “smart” enough since it does not account for images that have proper 16:9 layouts. I am sort of in a transitional phase here and with 110 posts it will take a while to have a decent featured image for everything. Especially now that I found out I cannot use rectangular images :(.
Example issue new code: http://i.imgur.com/k0a42fm.png
Any other thoughts?
Hello,
In the social network boxes in the theme panel, the full URL must be specified. The ID will not do it like for the social counter plugin.
For example: https://www.facebook.com/TagDiv/
Thank you!
I’m trying to upgrade to Newspaper 6.6.5 from Newspaper 4.6.1.
I have problems with the shortcodes, I thought the update script would replace all old shortcodes in my posts with the new ones but that didn’t happen?
For example td_block7 this shortcode is an old one and isn’t replaced in any of my 200 posts.
How can I fix this?
Hi
In order to display some informations about post’s author that must be registered in database as a user. This is the WordPress functionality in this regard and cannot be changed easily.
You can add the authors as users in your WordPress database and use a plugin to limit their’s roles and capabilities. For example you can allow authors to only write and publish posts. Here i found some information which may help you in this regard: http://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/ – https://codex.wordpress.org/Roles_and_Capabilities
Thanks!
Hello,
This is strange as the font should have been loaded if it has been set in the fonts section. You can try to change your header menu for example to oswald from the theme panel and check in the page source to see if the font is loaded.
You can always try the alternative of loading it with css:
Add this in the theme panel -custom css code:
/* latin-ext */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: local('Oswald Regular'), local('Oswald-Regular'), url(http://fonts.gstatic.com/s/oswald/v10/yg0glPPxXUISnKUejCX4qfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: local('Oswald Regular'), local('Oswald-Regular'), url(http://fonts.gstatic.com/s/oswald/v10/pEobIV_lL25TKBpqVI_a2w.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 700;
src: local('Oswald Bold'), local('Oswald-Bold'), url(http://fonts.gstatic.com/s/oswald/v10/dI-qzxlKVQA6TUC5RKSb3xJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 700;
src: local('Oswald Bold'), local('Oswald-Bold'), url(http://fonts.gstatic.com/s/oswald/v10/bH7276GfdCjMjApa_dkG6VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
And then use the previously provided code to change the font-family.
Let us know how it goes.
Thank you!
Can I just copy&paste this example into my .htaccess file? Or should I change something?