Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
sonoria
tagDiv Member

I don’t understand what happened. The site was in production, and even though I had a backup, I couldn’t restore the database because it wasn’t a very up-to-date version. Now I’ve solved the problem and will try creating the staging site again, although I’m a little nervous…

sonoria
tagDiv Member

I may have found the problem, I cloned the site to a staging subdomain, and the result was: Your license for Newspaper Theme is not registered! This erased all my theme settings. I don’t think this is a good thing… I’m very sad.

sonoria
tagDiv Member

I saw it and it actually asked me to re-activate it. I don’t understand what happened! I hope I don’t have to re-apply all the settings. I’m trying to recover a backup.

sonoria
tagDiv Member

Thanks, but in the td_011 value I don’t have the entries I’m interested like custom_ad_6, custom_ad_7, etc… and aslo I don’t have custom_ad_1. I only have a small array entries like:
a:30:{s:12:"firstInstall";s:14:"themeInstalled";s:13:"td_log_status";s:3:"off";s:24:"tds_login_sign_in_widget";s:4:"show";s:18:"tds_thumb_td_0x420";s:3:"yes";s:18...

sonoria
tagDiv Member

hello Catalin,
the server requirements are higher than required.
I updated the theme from 7.4 to 7.5, and soon I’ll do a test again to see if it was a temporary problem
thank you

sonoria
tagDiv Member

I have found the solution
thanks

sonoria
tagDiv Member

hello,
this code work fine
.page-id-XXX #td-outer-wrap{top:80px;}

I also prefer to use css, but my problem is that I have two different img backgrounds ad, one for the home page and the other for the posts page, and every new published post I should enter the css code in theme panel.
So, I should have two ad img background with the respective links, one for home page and one for the posts page.
All other pages should have no background img ad and #td-outer-wrap{top:0px;}.

thanks

sonoria
tagDiv Member

thank you Bogdan,
I tried it with the style described but not working.
But I’d rather handle it through php code like this:

if(!background_img) <style>.td-boxed-layout #td-outer-wrap{top:0px;}</style>

sonoria
tagDiv Member

hi,
sorry but how can I do if I want to put the top margin (80px) for the only pages that have a background image?

thanks

sonoria
tagDiv Member

Thank Alin,
but i don’t know how to modifiy args to sort posts like

from: 01/01/2015 – to: now();

you can write me an example?

thanks

sonoria
tagDiv Member

work fine! I’am a chicken 🙁
thank you Catalin

sonoria
tagDiv Member

thanks,
this work fine but only for link, also how can I change the ad background image?

i have put this code in the same page from line 52

private function add_css_custom_background() {
$css_array = array();

if (!is_page(43)){
$this->background_parameters['theme_bg_image'] = 'anoter image';
}

//color handling
if (!empty($this->background_parameters['theme_bg_color'])) {....

it’s correct?

sonoria
tagDiv Member

thank you Andrei,
would not be enough for example insert a custom php or JavaScript function that check if page is home or <body class == home and set background image and link (var td_ad_background_click_link)

sonoria
tagDiv Member

hi,
I have put this code in theme panel ‘custom javascript’ and work fine!

var today = new Date();
var start_ts = Date.UTC(2000,(12 – 1),13);
jQuery(‘.td_data_time’).after( “<span>”+start_ts+”</span>” );

Viewing 14 posts - 1 through 14 (of 14 total)