Search Results for 'update'

Results from the Forum
m0re
tagDiv Member

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.

m0re
tagDiv Member

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.

simchris
tagDiv Member

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!

ogc
tagDiv Member

Hi Bogdan,

Thanks for the answer. I updated the VC and for now, it works fine. Thanks.

John
tagDiv Member

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.

m0re
tagDiv Member

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’ );

m0re
tagDiv Member

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.

Bogdan B.
tagDiv Staff

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.

ogc
Participant
#0

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.

Catalin
tagDiv Staff

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!

norm0722
tagDiv Member

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.

Danny
tagDiv Member

seemed this was a issue concerning BBpress itself because there was a new update today wich fixed it .. thnx anyways

Alessandro
tagDiv Member

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…

Bogdan B.
tagDiv Staff

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.

firazra
Participant
#0

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!

nguyenxuan
tagDiv Member

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..

barronlau
tagDiv Member

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?

simchris
tagDiv Member

503 usually means a server maintenance error, or error generated when WordPress is in ‘maintenance’ mode such as updates/installs.

RLychee
Participant
#0

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?

Eric V
tagDiv Member

@ 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?

  • This reply was modified 9 years by Eric V.
  • This reply was modified 9 years by Eric V.
  • This reply was modified 9 years by Eric V.
  • This reply was modified 9 years by Eric V.
barronlau
Participant
#0

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.

http://streamtheplanet.com/

barronlau
Participant
#0

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.

http://streamtheplanet.com/ott-tv-box/

FrancescoITB
tagDiv Member

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.

Eric V
tagDiv Member

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.

paologalli
Participant
#0

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

Viewing 25 results - 27,976 through 28,000 (of 45,280 total)