- NewspaperHow to update a plugin
- NewspaperHow to update the WPBakery Page Builder plugin
- NewspaperHow to Update the Newspaper Theme
- NewspaperSingle Post Excerpt
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperHow to use the Bing Maps API
- NewspaperModules Builder in Newspaper Theme
- NewspaperCreate a frontend submission form
- NewspaperCustom Fields Support
- NewspaperFlex Block Settings Guide
- NewspapertagDiv Opt-In Builder
- NewspaperHow to use the YouTube API
- NewspaperDefault Category Settings
- NewspapertagDiv Composer Tutorial
- NewspaperHow to Set the Image Avatar
- NewspaperUnique Articles
- NewspaperFacebook Share
- NewspaperCache plugin – install and configure
- NewspaperFeatured Image, Video or Audio
Hi, a user on this forum (Pedroarmindo1) helped me fix the basic problem. I figured out that Single_template_xx.php should be edited
We need to find this code in the file
<?php echo $td_mod_single->get_date(false);?>
and replace it with the following code
<?php echo the_date(false, ‘<span class=”td-post-date”>Publicado em: ‘,'</span>’); ?>
</div>
<div class=”info-line”>
<?php echo the_modified_date(false, ‘<span class=”td-post-date td-post-modified-date”>Atualizado em: ‘,'</span>’); ?>
But there is 1 more issue; if anyone could help here;
1 – Two dates are displaying in two lines. See here http://prntscr.com/gk9wd9
There should be only single date “Updated on: September 12, 2017â instead of
also displaying the ‘publish dateâ and âupdated dateâ
2 – Also how the date could be formatted. What CSS should be used.
Pedroarmindo1, Many thanks for your help, it really worked. I figured out that you edited the Single_template_2.php
For others, find this code in the file
<?php echo $td_mod_single->get_date(false);?>
and replace it with the following code
<?php echo the_date(false, ‘<span class=”td-post-date”>Publicado em: ‘,'</span>’); ?>
</div>
<div class=”info-line”>
<?php echo the_modified_date(false, ‘<span class=”td-post-date td-post-modified-date”>Atualizado em: ‘,'</span>’); ?>
But there is 1 more issue; if anyone could help here;
1 – Two dates are displaying in two lines. See here http://prntscr.com/gk9wd9
There should be only single date “Updated on: September 12, 2017â instead of
also displaying the ‘publish dateâ and âupdated dateâ
2 – Also how the date could be formatted. What CSS should be used.
Yes, if you don’t update your theme or WordPress when there are security patches, or take proper precautions to check for core, theme, plugin updates then all WordPress sites are at risk.
Learn to keep your site secure:
https://forum.tagdiv.com/topic/tutorial-good-basic-security-practices/
If you are already compromised, simply updating theme is not enough, you need to clean your ad section, and check your database.
Welcome to WordPress!
Hi Bogdan,
Thanks for the answer. I updated the VC and for now, it works fine. Thanks.
I know I did not put ANYTHING in my header ad section and I go and check there.. boom… Malware javascript!
Updated theme to 8.1 SAME THING HAPPENED FEW DAYS LATER. THIS THEM GAVE ME A NIGHTMARE. Now my amazon affiliate account is banned permanently. DO NOT USE THIS THEME. TERRIBLE TERRIBLE theme.
Hi thank you but that process only changes the date to “Modified on date” on all posts whereas I need the function which could only change the date of posts which are updated later after their publish date and not every post.
e.g if a post has been updated;
if the current date is > publish date then
update the date to current date and change ‘publish on’ to ‘updated on’ current date;
The following function also does a similar thing but it doesn’t work on Newsmag theme.
function wpb_last_updated_date( $content ) {
$u_time = get_the_time(âUâ);
$u_modified_time = get_the_modified_time(âUâ);
if ($u_modified_time >= $u_time + 86400) {
$updated_date = get_the_modified_time(âF jS, Yâ);
$updated_time = get_the_modified_time(âh:i aâ);
$custom_content .= â<p class=âlast-updatedâ>Last updated on â. $updated_date . â at â. $updated_time .'</p>â;
}
$custom_content .= $content;
return $custom_content;
}
add_filter( âthe_contentâ, âwpb_last_updated_dateâ );
Hi thank you but that process only changes the date to “Modified on date” whereas I need the function which could only change the date of posts which are updated later after their publish date and not every post.
e.g if a post has been updated;
if the current date is > publish date then
update the date to current date and change ‘publish on’ to ‘updated on’ current date;
The above-mentioned function also does a similar thing but it doesn’t work on Newsmag theme.
Plz suggest solution.
Hello,
Thank you for pointing this out. I ran a few tests and the problem seems to be present on our end as well. We will look into it as I have passed this information to the dev. team and when a solution is found, we will come back with a response in this topic. We will fix it in the next update as well.
Thank you for your understanding and sorry for the inconvenience.
hi there,
we had to update our website yesterday. the site looks updated from the admin side. but we have problems at the frontpage and some stuff doesn’t look like working (like the editor).
can i make a COMPLETE update without so much harm?
thanks.
Hello firazra,
Please notice that for each theme update, you should make a full backup to avoid losing data. Do you have it? After this, you should make a full theme install via FTP way according to our documentation here -> https://forum.tagdiv.com/newsmag-install-via-ftp/ Our latest theme was fully tested and should work as expected, without any problem. For more information about this problem, please consult the following useful guide here -> http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/
Hope this helps!
Thanks for your understanding!
Update: resolved this by deactivating the mobile plugin, and then using visual composer (wp bakery) I hid the items I didn’t want on mobile devices.
However, I’m getting a double menu situation right now, and I’m not sure why. the hamburger menu icon is there but then there’s another one below it.
seemed this was a issue concerning BBpress itself because there was a new update today wich fixed it .. thnx anyways
Thanks a lot for your kind information! Appreciate that!
But, sorry, I can’t find in the âhow to updateâ guide any script to run to import DB settings…
Hello,
Are you sure you updated properly and not have 2 separate versions of the newspaper theme under appearance->themes?
You should delete the old theme and the new one and then install it again using WP. simply access appearance-> themes and delete every instance of the newspaper theme. Then press the add new button and upload the theme archive.
Thanks.
I recently update the theme from 3.2 to 4 version and after the update i only see a blank page. If i switched to other theme i can see a normal widget page. I have tried to disable all plugin except the page builder, clear cache and cdn.
And i also try to revert back to 3.2 and still no result.
Please help!
My older posts too.
I found some helpful tips:
https://forum.tagdiv.com/how-to-update-the-theme-2/
https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Then, i went to hosting folder: /wp-content/themes/Newspaper -> delete this and upload Nespaper 8.1.
I also deactivate and delete WPBakery Visual Composer plugin. And install from Newspaper-tf/plugins/js_composer.zip.
But nothing is changed. I upload Newspaper 7.8 again đ
Now i drink cup of coffee and keep finding..
Hi,
So my older posts don’t seem to have the same under content info:
http://streamtheplanet.com/best-kodi-box-2017-review/
This issue only started after I updated to the new version. Also, none of the automated update options worked, I had to manually update via FTP. Will I have to do that for all updates?
Can someone please advise?
503 usually means a server maintenance error, or error generated when WordPress is in ‘maintenance’ mode such as updates/installs.
Hi,
After I updated to Newspaper8, I noticed that all tag and categories are reset. I mean, on the site, I can see them, but in the dashboard, there is no tag or categories in the list.
Do you have any idea what I can do?
@ TagDiv
UPDATE:
The categorie name in the URL issue from above it OK now.
Im asking all my questions here if you dont mind, otherwise i spam the main forum. I hope you guys will skim through it and answer all that is not fixed. Thank you so much.
So my next question is about the block thumbnails. I upload images in my posts for Facebook at 600x400px. They show perfectly fine on all devices, except for the featured image on my blocks. They come out ugly cropped, because of the 324 X 235 size. The quality is also lower than the one in my post. Not nice at all. I want the block thumbnail show the exact same way (size and quality) as in my post. Please help me out. https://www.dagonline.nl
Also, i wanna keep the colors of my blocktitles, but i dont want the categories and posttitles light up the same color. I just want them to be black. How can i do this?
Hi, I had a side bar on my home page and it disappeared after I updated the theme. I placed the proper widgets back into the bar, selected the bar to display and still nothing.
Hi,
I’ve created a new post with a default side bar position however the body content is under the side bar. I’ve just updated the site theme to 8.1 as well.
Please help me. I’ve a post with more thank 5k words. I need to update it everyday but the editor of newspaper slow down my PC (CPU at 100%). I tried with wordpress editor and it works well, but I need to change theme. Obviously I love this theme, so how can I solve this problem? Please help me.
UPDATE:
First and second issue is resolved.
Now when i send somebody my url, in for example Whatsapp, it shows the page title (Voorpagina). This is ofcourse because i created the homepage from static page (TagDiv tutorial). I dont want it to show the title. I just want my URL and right meta data with my logo.
How can i fix this?
When i go to Yoast (SEO-titles and meta’s-homepage) i cant add my meta data. Instead in directs me to the static homepage again. On my other domains i can just add my meta data there.
Is it a good and wise thing to create a homepage from a static regular page? Are there other and better options? Please tell me.
Hi
when I updated the them I forgot to save the sprite with the linkedin button
now (as you can see here https://www.greenplanner.it/2017/09/08/resilienza-energetica-smart-city/) on the page there is only a blue box without IN inside
can you help please? I look for the modified sprite on the forum without success
thanks