- NewspapertagDiv AMP Plugin Tutorial
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperAutoptimize Plugin – install and configuration
Hi,
I have inspected your website but I see no error or problems with the thumbs. I have made a test using one of your images on the block you are using, and this is the result – https://www.screencast.com/t/EDYsbB6rq
It seems the thumb size used on the block is not suited for this kind of images, and where a center top cropping is applied. For example a circle cannot fit properly in a smaller rectangle, it gets cut off.
A solution would be to use a different block with different thumbs, like block 5 for example
– https://www.screencast.com/t/fXWyBdaj
You can see all the available blocks here – https://demo.tagdiv.com/newspaper/block-1/
Thanks
Hello peconiconline,
Please notice that the entire function which creates the title posts is get_title and it is located in td_module_single_base.php core file, like this -> https://www.screencast.com/t/Q90A74w6zr So, this function is called back for each post template used by you in loop-single, according to your post style used by you. For example, if you are using the post template style 1, the title for this post is called in loop-single-1.php, like this -> https://www.screencast.com/t/K3e03wpy
Thanks for your understanding!
How do I remove the text, button & color overlay on the rev slider?
Hi Support,
Is there a way i can make my module scroll down, without the whole site scrolling down.
here is an example http://www.punchng.com
TRENDING
JUST IN
one can scroll the content, without the whole site scrolling
I have this code:
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!
$this->move_style_to_footer_queue('td-theme-woo'); //this is the main style of the theme. It's only moved on Newspaper 6!
}
is not the same of your example, there are not the “style_id” and also no td-theme-child (I have a child theme) and no td-theme-demo-style.
Anyway, I tried to just comment the lines but showed me an error, for this I deleted them, but the “flash” is still there.
Maybe td-theme-child?
Hey @Bintmusic
Let me simplify this.
AMP has first priority in the Google search so the organic visitors coming from search results and Google+ will see AMP pages of your site.
Direct visits, visits from the Facebook & other social networks will see the non-AMP version by default. So it’s better to have both (my personal opinion).
Hope this information will help you to choose the right option for your site.
I am using both AMP and Mobile theme on my site without any known issue.
I see.
Isn’t there any way to get the similar look when using <!–nextpage–> under the post. For example, in this post: https://tomatoheart.com/webjockey/facts-about-bb-ki-vines-bhuvan-bam/
I do have tried to customize it before but I don’t want to have numbers there. Please see if anything can be done.
Thank you.
Since updating to Newsmag 3.4 this week, I can’t get images to align right. When I look at it in the editor, it appears fine, but when I look at any published post, any image aligning to the right, is aligning with none.
Here is an example post:
http://www.boardgamequest.com/res-publica-2230ad-review/
This is an example.
http://chilecientifico.cl/chilecientifico/2017/03/29/cientificas-chilenas-que-cambiaron-el-mundo-una-inspiracion-para-que-ninas-y-jovenes-pierdan-el-miedo-a-las-ciencias/
There are many articles like this.
Well I cannot provide a fix for a plugin I have not seen before as I would not know how. As I said, the plugin is not tested. Any plugin that is not tested could provide mixed results. I suggest using another plugin for your events like the event calendar maybe. Or any other one. Sorry but third party plugin implementation is not covered by the theme support. Sorry for the inconvenience.
Here is a list of tested and recommended plugin sto use with our theme: https://www.screencast.com/t/xKKr2mwxI
Anything beyond this list is not tested and not covered by the theme support.
Please check the plugin repository and see if the reis a function created by the plugin like for example is_event that you can use for the block title to wrap it into a condition so the title will not get added to the event.
The main title function in our theme is created here: https://www.screencast.com/t/rQ9FB70O3j9
Thanks.
Sorry but I’ve search to try solve the following but can’t.
The following post is created by a plug-in that creates Directory Listings see sample here #1> is it possible not to show the Google ads on these posts? If yes what do I need to do?
Thanks
Hello,
Please also update your social counter plugin. The version did not change as it is still 4.1 but the fix was implemented in the latest release. Please disable and delete your current social counter and then install the one from the latest theme package.
Also very important: clear your browser cache. Here is an example for chrome: https://www.screencast.com/t/f9Q66lPx1fY
Thank you!
Hello,
Sorry but there is no way of setting it like tat. Only a parallax template can do that. Please choose another post style to have the featured image exceed the content padding:
For example: https://demo.tagdiv.com/newspaper/td-post-if-you-only-knew-how-much-your-relative-churn-rate-matters/
Thank you!
Hi Bogdan,
After searching a lot on the internet and trying out many things. Here is the code I am sharing for others to use which worked for me.
To add Adsense or any kind of ad codes at after multiple paragraphs. Simply copy this code at the end of functions.php
//Insert ads after second and fifth paragraph of single post content and after the post content. Provided by Bloggingdude.com:
add_filter( 'the_content', 'prefix_insert_post_ads' );
function prefix_insert_post_ads( $content ) {
$ad_code = '<div> Adsense/Ad code goes here</div>';
if ( is_single() && ! is_admin() ) {
return prefix_insert_after_paragraph( $ad_code, 2, $content );
}
return $content;
}
add_filter( 'the_content', 'prefix_insert_post_adsNew' );
function prefix_insert_post_adsNew( $content ) {
$ad_codenew = '<div> Adsense/Ad code goes here</div>';
if ( is_single() && ! is_admin() ) {
return prefix_insert_after_paragraph( $ad_codenew, 5, $content );
}
return $content;
}
// Parent Function that makes the magic happen
function prefix_insert_after_paragraph( $insertion, $paragraph_id, $content ) {
$closing_p = '</p>';
$paragraphs = explode( $closing_p, $content );
foreach ($paragraphs as $index => $paragraph) {
if ( trim( $paragraph ) ) {
$paragraphs[$index] .= $closing_p;
}
if ( $paragraph_id == $index + 1 ) {
$paragraphs[$index] .= $insertion;
}
}
return implode( '', $paragraphs );
}
// Add signature or ad after post content. Provided by Bloggingdude.com:
function custom_content_after_post($content){
if (is_single()) {
$content .= '<div> Adsense/Ad code goes here</div>';
}
return $content;
}
add_filter( "the_content", "custom_content_after_post" );
Simply change the text ‘Adsense/Ad code goes here’ with your own Adsense/ad codes and it will start displaying ads after paragraph-2, 5 and after the post content.
You can change the paragraph number 2 and 5 to your own desired paragraphs.
The only problem I am having with any of the methods I use to insert inline ads is that it is compatible with TagDiv Speed booster plugin. No, I am not talking about only the method I wrote above, but no matter how you include inline responsive ads after multiple paragraphs, it breaks when activating speed booster plugin.
I have raised this issue in detail here: https://forum.tagdiv.com/topic/conflict-between-speed-booster-and-inline-ads-what-can-be-done/ . See if there is any possibility to resolve it.
Thank you 🙂
Hello,
You might not have installed the proper version of the social counter. The access toke works in the current version of the plugin. Please try to install it again from the main theme package you download from envato and very important: clear all your caching including the browser cache. Example for chrome: https://www.screencast.com/t/f9Q66lPx1fY
Thank you!
Hello,
I am interested to know if we use plugins on our WordPress site using Newspaper theme. Does this affect on security?
For example I want to use these plugins: https://wordpress.org/plugins/disable-json-api/ & https://wordpress.org/plugins/user-role-editor/
Also, do you have any suggestions for us, what we need to do for WEB Site security?
Thank You
Hi,
This is where the link that defines the action when the header logo is clicked on mobile
– https://www.screencast.com/t/PQb3acG8
You could modify the link to have a different action when clicked if that is what you need, and enter the address you want like in this example
– https://www.screencast.com/t/VMg5qSesd62
You could also increase the menu size on mobile by setting a custom value if that could prove useful, like in this example
– https://www.screencast.com/t/KpqTj20wTbiJ using a code like this
– https://www.screencast.com/t/QV4urfiBC
Or maybe you can find a plugin that can be used for this purpose and could display a link how you want it. Please let me know if I could help you further, or have any questions. Also if I misunderstood what you wanted.
Thanks
Hi
all ok, but it seems not possible use Theme Mobile with Amp…
While checking a newspaper theme based site: https://www.ghpage.com/10-beautiful-wives-behind-the-success-of-ghanaian-male-celebrities/3/
see screenshot: https://s9.postimg.org/deax6fgan/2017-04-13_14-23-31.jpg
I noticed this new design of ‘pagination’ in which there are numbers like 2,3,4 to visit next page. It says ‘Previous Page’ and ‘Next page’ without showing any numbers.
How can achieve the same thing on my website? Is it a new update on Newspaper theme or do I have written some CSS code for this?
Also, kindly make these a little bigger than what shown in the above example. Is there any possibility of have button like this: https://s11.postimg.org/bin2u1hv7/2017-04-13_14-27-02.jpg
Here is the issue,
I have tried 3-4 different method to insert inline ads after several paragraphs under post content ( both using plugins and without plugins) . It works perfectly.
But I noticed that when we use it with speed booster plugin, it has one weird issue.
First of all, based on info available here- https://forum.tagdiv.com/how-to-make-the-site-faster/ , I delete this code from speed booster file to make it work with other plugins:
// disable the plugins if there are incompatible plugins
$active_plugins = get_option('active_plugins');
//print_r($active_plugins);
//die;
foreach ($active_plugins as $active_plugin) {
if (!in_array($active_plugin, $this->allowed_plugins)) {
define('TD_SPEED_BOOSTER_INCOMPATIBLE' , $active_plugin);
return;
}
}
and then move the JS and css file to footer using file ID. It works very well with all other plugins installed on my website. But for this example- let’s consider that I don’t move any other files.
before activating speed booster. Here is how ad looks on my site: https://s30.postimg.org/6gjkrz7cx/ads-1.jpg
you can see that the ad after pragraph-1 is properly aligned to center within post content.
After activating speed booster, here is how it looks- https://s12.postimg.org/8lqlmqmp9/ads-2.jpg
You can notice that the ad leaves the post content and probably get aligned to the center of whole website, not just post content.
On further checking, I noticed that the issue is caused by the following line:
$this->move_style_to_footer_queue('td-theme');
When I delete this line from speed booster, the ads start displaying correctly. But then a new issue arises, the homepage gets broken like this: https://s11.postimg.org/6tk42duer/2017-04-13_14-14-13.jpg
So, either I can run these ads properly but then homepage gets broken or display homepage correctly, then ads gets misaligned.
I do want to use speed booster for optimisation purpose. So, please look into the issue and see if anything can be done.
Thank you.
Yes, but not all blocks have the same thumbnail. Some of the blocks use one big thumbs and then multiple small ones like this one for example:
block 1: https://www.screencast.com/t/rurBtmCQq
and some use thumbs the same size like this one:
block 3: https://www.screencast.com/t/ZeZso137dRQy
Choose one of the 25 layouts that best fit your project
Thank you!
Use design3 from AMP for WP – Accelerated Mobile Pages plugin
Hello,
Yes, you can add the code just for a specific device if you use the advanced css section: https://www.screencast.com/t/MPrc6vXR0
You can do this for any block you want if you use the browser inspector and get the proper classes for each element.
Here is an example for block 18:
.td_block_18 .td_module_mx8 .td-module-thumb{
height: 500px;
}
Please use this guide in order to customize the theme css: https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thank you!