- 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
Newspaper – Theme “panel” ver 9.7.3 will not save any settings. ALL plugins have been disabled. Does not matter what settings I change the “working” icon shows and nothing else happens. Example: turning off the footer. Nothing.
Status is showing all green.
Registration key i 7afc8e09 – **** – **** – **** – bdba819a4917 Reset key
Theme name i Newspaper
Theme version i 9.7.3
Theme database version i 9.7.3
HTTP channel test wordpress
Theme Mobile Newspaper mobile version
php.ini configuration
Server software i Apache
PHP Version i 7.3.4
post_max_size i 64M – You cannot upload images, themes and plugins that have a size bigger than this value. To see how you can change this please check our guide here.
max_execution_time 60
max_input_vars 5000
SUHOSIN installed false
PHP extensions
mbstring available
GD library available
WordPress and plugins
WP Home URL i OMITTED
WP Site URL i OMITTED
WP version i 5.2.2
WP multisite enabled i No
WP Language i en_US
WP Memory Limit 128 MB/request
WP_DEBUG False
Caching plugin WP super cache – for best performance please check the plugin configuration guide here.
See the screenshot for an example of how it’s not working correctly in your theme: https://snipboard.io/NCvpsg.jpg
I created a function to add “[Expired]” to the title of my posts if the post is tagged expired. It works fine on the post title, latest post widgets and other places but not on the Newspaper Posts Loop element or Mega Menu. Why are you not allowing the add_filter() function to the title? and/or how do I configure this to work properly with Newspaper?
Here is my code for reference:
add_filter( ‘the_title’, ‘my_title_prefix_filter’, 10, 2 );
function my_title_prefix_filter( $title, $post_id ) {
$posttags = get_the_tags();
if( $post_id == get_the_ID() && $posttags ){
foreach($posttags as $tag) {
if ($tag->name == “expired”) {
$title = ‘<span class=”expired_text”>[Expired]</span> ‘ . $title;
}
}
}
return $title;
}
Hi there,
When I use a instagram embed (or twitter embed) in my articles the embedded post of instagram goes over the (Adsense) ad that is on the same place which means I can’t see the ad anymore but only the instagram post. the ad should be shown but I can’t see it anymore. When I don’t embed something the ad is shown on the right place. Example: https://trendnieuws.nl/man-adopteert-hond-met-enorme-tumor-zodat-hij-liefde-kan-voelen-tijdens-zijn-laatste-dagen/
You see the Instagram post but the ad is behind it. What can I do best?
Best,
Thijme
Hi
On mobile view (AMP non installed) I would like to know how:
– Change post e pages title & heading color
– Translate mobile terms. The Desktop version translation it is correct
Thanks
Hi,
I try to make a tamplate for my category PROJEKTI. When i preview that tamplate it looks so fine, like this; https://www.screencast.com/t/0sb1XhzOOUEQ
but when I put that tamplate in Theme panel > categories > projekti to be tamplate for this category it looks like this;
https://www.screencast.com/t/SfEH0UsMgwG
I have problem with Category Background Image, Page Title, Category Description and Category Description. That are my elements at beginig of tamplate.
Can you help me with this?
thank you
Hello,
I have encountered a problem with a demo called “influencer” (newspaper theme) on a mobile version both on iOS and Android.
Here is the video of the bug: (animation cancel&bug while using search option) with android (with my huawei mate 10 pro)
Link of the vid: https://vimeo.com/354366543
The other bug is with iOS: (photo on the home page is somehow not completely attached to the menu (it is but the dark overlay isn’t) (with my iphone 10)
link of the img: https://ibb.co/T1b9WJ8
I wanted to ask one more thing:
How can I change the logo when I scroll down a bit? http://prntscr.com/otukhd
Thanks in advance
Predrag Jerinic
Thankyou but that still doesn’t help.
How can i add this font for example?
https://fonts.google.com/specimen/Nanum+Pen+Script?selection.family=Nanum+Pen+Script
Under Mobile Theme -> Grids, “Show Front Page Grid” is toggled ON. Category filter is set to “All Categories” and Grid sort is set to Featured. Number of posts = 3. But the grid does not show up.
However, if I set the Category filter to a particular category (e.g. on my site, “Bible & Theology”), it shows up. But I don’t want it to just show one category. I want the most recent featured articles to show up.
Any ideas?
Hello,
I’ve been using Newspaper theme since long time, never faced this kind of issue earlier.
Today I visited the cloud library page, while choosing a theme to download it’s saying “Envato key is missing or invalid. Please register your theme using a valid key and try again.” .
While clicking the “ACTIVATE THEME” inside the cloud library window, it’s redirecting to “”https://www.domain.com/wp-admin/admin.php?page=td_cake_panel”” page saying “Sorry, you are not allowed to access this page.” error.
My theme is already activated via online. So do I need to “RESET KEY” by going to “System Status” tab & then activate the theme again ?
Please help to fix this issue. Thank you.
Hi,
I recently installed newspaper theme on my site and noticed that the site is calling some urls like the below ones:
https://a2.adform.net/Serving/Event/?bn=31732497&event=178&time=2&banner=33594025&name=Viewable%20impressions&imprid=9024864980066112347&icid=4952796734864159828&rnd=909939966&rtbwp=XVae5QAI7SoKfQgkAAZ9D7t4dXhvojTUTsJJqw&rtbdata=CE1C6sxMz_xL633qta4qYDz2oElvYlxLHuvDCQjl71qJ45ZHHRU–59R9OEGyrJHkJuqTLYR_NzevYiVcaGYHAhllYKNXvD_worgY80-j3M0jjgpTIHFwiSuMLoqa6xYc4zdQY6uKyAo8fZ7EwCv6UpbioUF0W-E4tDr5E0obennRytV5Z4BSg2 has a request size of 2.0KiB
Request URL: 412B
Cookies: 61B
Referer Url: 862B
Other: 721B
https://a2.adform.net/serving/unload/?version=15&unload=4952796734864159828@@31732497,9024864980066112347,100|1201|0|0|0|0|0|0|0||67|1|1|5d569ee50008ed2a0a7d08241b067d0f_1|||1|0|0||||11| has a request size of 1.6KiB
Request URL: 186B
Cookies: 61B
Referer Url: 862B
Other: 562B
https://a2.adform.net/csimpr/?bn=31732497&csi=EmKnBRd822oM7xvFmq-BxzonU_wsR9oU4hVXsVcGUj6hznRARJPkFOkXxPdTkxyH0 has a request size of 1.5KiB
Request URL: 111B
Cookies: 61B
Referer Url: 862B
Other: 487B
I would like to know why this is happening and a fix to this malicious behaviour.
Thank you for your reply.
But I still have a question.
Situation and example:
I have a website where I have the theme/template Newspaper.
I imported one of your models (default).
I changed directly inside AND Menu (text of header) AND categories (of articles/posts).
Then I deleted the imported articles.
So, if I understand you, if I use “TagDiv Cloud Library plugin” then when I update the Template Newspapers, I do not lose my MENU (modification in HEADER) or my CATEGORIES (FOR MY ARTICLES/POSTS)?
What types of editing (modifications) do I lose when updating the theme?
Your AMP pages are non-canonical. In raw ‘page’ terms, they are a duplicate of a another HTML page.
Google web search doesn’t need to index the AMP page in the web search index. It can just index the canonical, so that seems normal.
Google seems to be getting more aggressive in deindexing non-canonical copies before, so now less likely to see the web-page index storing non-canonical pages. Previouslly it indexed them more. As non-canonical they wouldnt of shown very often, so there, but relatively useless, and below the radar.
The web-page index not indexing the AMP page shouldn’t effect the AMP index storing it.
Also note that AMP may cause errors due to everything that’s on your page, including plugins.
Thank you !
I installed the theme and upload some posts but when i audit my site I see there are many invalid pages are also ranked or indexed by google bots
For example.
https://studyprofits.com/category/schools/?filter_by=featured
https://studyprofits.com/category/schools/?filter_by=popular
https://studyprofits.com/category/schools/?filter_by=popular7
https://studyprofits.com/category/schools/?filter_by=random_posts
https://studyprofits.com/category/schools/?filter_by=review_high
https://studyprofits.com/category/top-10/?filter_by=featured
these are the some of the example you can check list of the invalid pages here
https://app.neilpatel.com/en/seo_analyzer/site_audit?domain=studyprofits.com&view=overview&issue=seo_non_friendly_url
Kindly tell me how to stop this.
Hi there,
I followed your direction to place my ad in the Theme panel, but regardless of where I place my ads, I have a big space below the ad before my article begins. I’m copying and pasting this below as recommended by you:
<div class=”td-all-devices”>
<!– Your NON AdSense code here – this ad will show on all devices –>
</div>
I am replacing “<!– Your NON AdSense code here – this ad will show on all devices –>” with a code like this below:
(a href coding)=”https://track.flexlinkspro.com/a.ashx?foid=xxxxxx.xxxxxx&foc=2&fot=9999&fos=1″ rel=”nofollow” target=”_blank” title=”Ad_250x250″>(img border coding)=”0″ src=”https://content.flexlinks.com/sharedimages/products/140099010/xxxxxx.png” />
What could be causing this?
I have installed WordPress and the theme, worked on the site, added plugins and suddenly new users got forwarded to spam sites on the first visit. After refreshing the browser our site got shown and this did not happen anymore.
We tried to identify this issue, but couldn’t find it.
We now reinstalled a fresh WP version and the theme again.
We installed the required Newspaper plugins from tagdiv (CloudLibrary, Composer, Social Counter). And we added the Slider Revolution as an additional plugin and the UberMenu.
The site worked for a few days. We haven’t done any changes to it and suddenly the users gets forwarded to spam sites again on their first visit.
Here is an example link it gets redirected to:
http://tandabu.space/?u=h2xkd0x&o=lxkgnum&t=201
I’ve checked the forum, but only see older entries with similar matters.
Thanks for the support!
Hallo,
I don’t see the Mobile version on my mobile phone, but something that looks like the AMP version: https://photos.app.goo.gl/FCQSev82yNeL616WA
HP of my site (almost clean template): https://deeptravelinsider.cz/
I also temporarily turned off AMP. I even turned off the AMP plugin: https://photos.app.goo.gl/fKHdaWR7iv2VXNKx8
mobile theme is on: https://photos.app.goo.gl/Tdksfo2ZfsEERrjq7
Thanx a lot!
Jan
Hello,
is there any way to not display the same articles on HP? Automatically? Google doesn’t like it.
HP of my site (almost clean template): https://deeptravelinsider.cz/
sample: https://photos.app.goo.gl/vFX2Vj8HyqLh6Jpy9
I have the same (bigger) problem with the recommended articles
https://photos.app.goo.gl/32i9W2KVDsRsLor5A
live article: https://deeptravelinsider.cz/2019/08/15/everything-you-need-to-know-about-the-clean-beauty-2019-phenomenon/
Thanx a lot!
Jan
For category template I’d like it to be consistent with the other page. I want to keep one box for each please see image for example https://prnt.sc/osxcha
Hi Vlad, good tutorial but when i add the template from the
“Pre-designed Templates – tagDiv Cloud Library”, (nature home page template for example) it is added as a new page and not as a post template (and does not appear in the post setting-> post template)
also, it does not appear in the “Cloud Templates” list.
am i doing something wrong?
How in the world can I add a new section with the full width of the computer screen?
I’m trying to create a home page with sections that have different background colors. But I seem to be confined to just the pre-determined box width.
For example: I’d love to make a header section with a full-width background picture. Is this impossible with the newsmag theme?
I have checked all the tutorials about placing ad code in Mobile Theme. However, Google Adsense is showing two different ad codes for AMP Auto Ads, one goes for head tag and another to be placed into body tag. but the Mobile Theme has only one column for AMP Auto Ads. so my question is if i want to enable auto ads for AMP, which code should i place in the theme?
see for example article : Pourquoi historiennes et historiens s’intéressent-ils à Game of Thrones ?
Alternate page with proper canonical tag
screen shot: https://snag.gy/UvBJYi.jpg
kindly tell me how can i fix these errors mostly are amp pages.
i am using newspaper theme with mobile theme and amp plugin.
Hi All,
I am new to WordPress and Newspaper – my main focus is databases. In a lot of the database forums I subscribe to, and as I suspect most of you know, it’s not uncommon for members to share code that creates a feature – not least because others then frequently take the initial entry, adapt it, then re-post. These sites also quite often also feature a sample code silo.
(@TagDiv Support, there’s a lot of really useful content on this forum but it’s limited navigation, layout and quantity of posts make it difficult to search effectively, not to mention time consuming. Can we have a Sample Code silo? Not only would it be useful for members but possibly limit you having to repeat the same or similar support requests).
BACKGROUND
I have a number of Use Cases that require elements on a web page to display simple listings of external editorial content – similar to a news ticker-type display but with no animation.
Initially, I decided that the TD Composer elements Blocks 10 & 9 were the most suitable – as they were closest to my required simplicity and would only be used for these Use Cases. However, the fact that there is no Newspaper option to duplicate a block within TD Composer, and I want minimal plugins installed, I decided to teach myself the PHP/CSS that would be required to achieve my objectives.
FUNCTIONALITY
- The link here shows two page elements that have different content and features which were created using the same Block 10;
- This involved creating new field types using ACF Custom Fields, including a post-type whose options could also be used in a PHP conditional If statement to create the variable field display within the same block;
The generic fields are headline, media outlet and published date for simple listings and other use cases have additional meta data fields; - When the headline linked is clicked on it has to a new web page and go to the external content. The published date must be that of the original editorial, not the WP posting date. This last point is important as I would be bulk uploading posts a few times a week, that will feature a spread of publication dates.
The following provides the necessary ACF Custom Fields setup, the PHP code and the CSS.
ACF Custom Fields
The table below lists out the field names and their setup –
- Post Type: Required. Field Type is “Select”. Drop down list choices are “Editorial” and “Research”;
- Title Link: Required. Field type is “URL”. This contains the URL of the external content page. Non-conditional as it applies to both Post Types;
- Publication Date: Non-conditional. Field type is “Date Picker”;
- Media Outlet: Non-conditional. Field type is “Text” and contains the name of the external content publication;
- Media Outlet URL: Required. Field type is “URL”. Conditional logic is if Post Type = “Editorial”;
- Some Other Field: Required. Field type is “Text”. Conditional logic is if Post Type = “Editorial”;
NOTE: I recently edited one of the Post Type options as there was a typo. I subsequently discovered that in doing so it not only broke all the conditional relationships with other ACF fields, that I then had to reset, but also reset all the Post Types assigned to my posts to a single value – which I also then had to go through and update. I raised this with ACF Support, who said –
“This is expected behavior, each field value is saved independently under each post and it is not recommended to change the field settings after posts have been saved with a value. You can however update all the field settings by creating a query to step through all the posts and pass the new value to the update_field() function. Please take a look at the following resource page for more info on this: https://www.advancedcustomfields.com/resources/update_field/”.
PHP
Block 10 uses the td_module_9.php file. My code amendment is here – https://pastebin.com/vJDbVjMA
Things to note –
- I have stripped out most of the default php echo statements that display author, WP post date and so on to stop them appearing if your default Newspaper 9 setting is to have these on;
- I’ve kept the div names etc as much as possible but the naming may not make sense in terms of the fields that sit within. This means the post title font formatting is still controlled by TD Composer’s Block 10 style settings menu. Similarly, the Media Outlet and date fonts can be collectively changed via the Article Meta Info style options;
- Additionally, as both these fields sit within a span class other style options are possible via custom CSS;
- You will see the conditional variable for the ACF field, Post Type, along with the other ACF Field variables defined within Function Render at the top of the code;
- Finally, to display the tags I used the suggestion in this support post (another good example of why a Sample Code silo would be useful), https://forum.tagdiv.com/topic/display-tags-along-the-category-on-the-blocks/. My code already contains the php get_the_tags statement, but you will have to copy Vlad’s Pastebin code to your td_module.php file as he suggests. Note that I amended this slightly as it displayed a field label for the tags and I think it’s obvious what they are;
- If you want the same, simply remove the following line –
$buffy .= '<span>' . __td('TAGS') . '</span>;
CSS
This is here, https://pastebin.com/mjTz8Tua and features comments to explain what it does, which for the most part is reducing spacing and tightening the gaps between fields.
Hopefully, this post is clear enough to enable you to replicate and hopefully extend this functionality. A big thanks to Simion C. at TagDiv for his fantastic support in helping me work through this.
Please be aware, I have only been teaching myself PHP and CSS for about four weeks so I’ve no doubt the experienced community members will have more elegant ways of writing the PHP or CSS.
Please share if you do ?
Best Wishes
Gary