Search Results for 'child theme'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

I have made the test by modifying the files from the main theme, the child theme currently supports only the td_module_single_base.php file to be used in it – https://www.screencast.com/t/x1OctTrbhttps://forum.tagdiv.com/the-child-theme-support-tutorial/
I should have mentioned this earlier, I am very sorry.
You could use only this file in the child theme and create a directory path similar to the main theme for it
https://www.screencast.com/t/Ys9NOduYS6 and use the other file from the main theme. Or just use the main files all together. As it currently is you will have to make these modifications after every update, for one file or both of them.

Thanks

Marcus_S
tagDiv Member

Hello,

Thanks for Your Answer.

Is the folder and file structure for the files in the child theme correct, or do I need to add other files to the folders?

File structure for Module-single-base.php

File structure for set-post-setting.php

Marcus_S
tagDiv Member

I changed from the child theme to the parent theme, synonymous there the specification from the copyright field is not displayed, despite Ctrl + F5 and delete the WordPress cache

keyforweb
tagDiv Member

Hello,

the site is http://www.keyforweb.it

I resolve add this to style.css in child theme

.sf-menu > li.td-normal-menu > ul.sub-menu {
left: 0px;
/* responsive portrait tablet */
}

before left was -15px

but why this change on 7.8??

Thanks for help
Orlando

breakeven
Participant
#0

Hi,

I make the upgrade:

– I delete Newspaper theme directory
– I delete the child theme
– I delete the js-composer e td-speed-boster directory and load the new plugin
– When I enter in WordPress > Admin > Newspaper I don’t see any link ” update script”:

https://www.screencast.com/t/DtBV4cbbjz

Can you help me please?

Thank’s
Lorenzo

Catalin
tagDiv Staff

Hello genoze,

No, it isn’t possible to make some changes to your core files in Theme panel, sorry! Notice that you should change the structure of your post template if you want to achieve a different style which means that you should edit the theme core files from the root and this thing can be made via the child theme or directly in the files.

Thanks for your understanding!

genoze
tagDiv Member

Thanks for getting back to me.

I created modifications to post template 2 saved as loop-single-9.php.
Post template 3 saved as loop-single-10.php.

Can I make them available in theme panel?

==========================
My changes SAVED in the CHILD THEME
==========================
Thanks

  • This reply was modified 9 years by genoze.
triowebdev
tagDiv Member

Problem appears to be solved by changing this line in the theme:
/includes/wp_booster/td_wp_booster_functions.php
LINE 2115

$content_width is set to 640. Changing this to any other value or commenting out this line solves the problem. Not sure how this global variable is used by the theme.

Added this to the child theme functions.php file to solve the problem.


if (!isset($content_width)) {
$content_width = 650;
}

Simion C.
tagDiv Staff

Hi,

I am assuming you have done both the modifications in the child theme or the main theme, and if it works properly for some posts and for others not, maybe it is a caching issue. Try clearing any caching installed, and purge CD files then check to see if everything is working properly after this.

Thanks

Marcus_S
tagDiv Member

Additional information: I use a Child-Theme

DaveS
tagDiv Member

I found something that could be a solution, but don’t know how to implement it correctly and where (I’m using a child theme and redirecting via .htaccess):

https://developers.facebook.com/docs/sharing/webmasters/crawler#updating section: Migrating Content/Updating URLs

As we have mostly Facebook likes, this is what we are looking to recover.

Any ideas?

Bogdan B.
tagDiv Staff

Hello,

The settings in the theme panel are not affected by the child theme or a theme update. The settings are kept in the database. The only way you could have lost your settings is by loading a theme demo. You maybe installed the new theme and then installed a theme demo or uninstalled a theme demo. Unfortunately if this is the case, the setting sin he theme panel will have to be re-set. Sorry

Thank you!

Bogdan B.
tagDiv Staff

Hello,

If you use wordfence, please set the firewall on learning mode first.
Then increase your system status parameters like so: https://forum.tagdiv.com/system-status-parameters-guide/
If this still does not fix it, please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

Bogdan B.
tagDiv Staff

Hello,

Sorry but still no go. The site cannot be reached. I have tried from my mobile device using the mobile data so the ISP was different but the site still cannot be reached. You maybe have a country block maybe. We are located in Romania.
Regarding your issue with comments, please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

stefaniephan
Participant
#0

Hello, I have a child theme and during my last update to v7.8 basic settings in the theme panel were lost and it reset to the theme defaults (i.e. logo, footer background). Even when I deactivate the child theme and activate the regular Newspaper 7.8 theme the info is still gone.

I read in the documentation that you had updated child theme support to avoid issues like this.

Is there anyway for me to restore the info or do I have to re-build everything?

Thanks

simchris
tagDiv Member

Theme doesn’t manage SSL or Facebook counts, technically.

So, when you change your URL, it’s no longer the same URL, as treated by FB. There are some hacks out there, which generally need to be done in the main functions.php file.

Also, you need to ensure
a) you have set the https url explicitly in your wp-config.php file
b) done a search/replace for http/your site to https/your site in yout MySQL dbase
c) setup a redirect in your htacess file for all http requests to > https

Whatever hack you use aside from the above “required” stuff for moving to https, be aware it may not always work as you are tricking FB into seeing the old link as the new link, when technically it’s not the same URL.

Much like adding the new site to your Google search console, they stupidly consider it a new site, and does not replace the original in your search console; also note inbound links will show different, and your indexing may change for up to 3 months with the shift.

It’s very much worth doing and should be considered required to be https these days, but you have run into just one of the many issues in the ‘move.’

Try putting the function into the *main* theme functions file. This is one of the many reasons I never use child themes; makes this kind of thing notably trickier as the child theme is essentially a CSS redirect to over-ride the main theme.

Simion C.
tagDiv Staff

Hi,

Unfortunately I can not access the screenshot you provided – https://www.screencast.com/t/1xZSQtqz5Ll You could try disabling all your plugins except the ones bundled with the theme and clear any caching installed, to see if this has any effect in this matter, maybe a plugin could be causing the issue as it usually happens in most cases. Also check any customization you might have made to the theme files or added in theme panel, and switch to the main theme if you are using a child theme. If everything is like default you should not have this problem in the widget section. Please let us know how it goes.

Thanks

DaveS
tagDiv Member

The developers of the Real Simple SSL plugin recommend using this code within the functions.php:

function rsssl_exclude_http_url($html) {
//replace the https url back to http
$html = str_replace(‘data-href=”https://www.domain.com’, ‘data-href=”http://www.domain.com’, $html); return $html;
}
add_filter(“rsssl_fixer_output”,”rsssl_exclude_http_url”);

I added it to the functions.php of our child theme, but it isn’t working.

DaveS
Participant
#0

Hi,

we just migrated our site to HTTPS using a Comodo SSL certificate. To help with this we installed the Real Simple SSL WordPress plugin. Everything is fine, but we lost all Facebook counts.

What can we do in order to fix this? We are using a child theme.

A fast response will be greatly appreciated!

Thank you in advance for your time!

Simion C.
tagDiv Staff

Hi,

At the moment not all of the files from the core framework (wp_booster) of the theme are supported by the child theme. Maybe this will be subject to change in a future update. If you want to make modifications to these files you will have to make them through the main theme files. Please consider making a backup just in case something goes wrong.
Here you can find all the information about the child theme capabilities at the moment – https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

Simion C.
tagDiv Staff

Hi,

Please make sure you have the latest version of the social counter plugin, provided in the theme package. Enter just the Instagram user ID as shown in the previous reply – https://www.screencast.com/t/C1k7axsis2 disable all your plugins except Visual composer and the social counter, switch to the main theme if you are using a child theme, clear your cache again then check to see if it works properly. After you have done all these things, there should not be a reason for the social counter to not work properly, because it seems to work as intended on my end – https://www.screencast.com/t/gvmBGYzz

Thanks

euw
tagDiv Member

Great, thanks for your support!

I have one more question: There is a link “View all results” at the bottom of the search result, which has the “wrong” parameter/url for us, because we replaced the standard search.

I found the parameter located in /includes/wp_booster/td_ajax.php (row 237). If I perform the change on the original location, it works fine.
If I place the modificated file in my Child Theme ( /Newspaper-child/includes/wp-booster/td_ajax.php ), it doesn’t work. Is it possible to place the modifications in the Child theme for further updates?

Thanks in advance.

Bogdan B.
tagDiv Staff

Hello,

This could be a plugin conflict so please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Also make sure you increase your system status parameters like so: https://forum.tagdiv.com/system-status-parameters-guide/

Thank you!

Bogdan B.
tagDiv Staff

Hi,

This could be a plugin conflict so please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

hollymarie
tagDiv Member

That’s strange. I tried deactivating the plugins and clearing the cache, and it had no effect.

I haven’t added any custom code, and don’t’ use a child theme. I did use the beauty blog settings during setup of the theme, so that shows up in “custom body classes” in the theme panel, but I haven’t edited any code, if only because I really wouldn’t know what I’m doing.

I don’t suppose there’s an easy way to fix this?

Viewing 25 results - 9,851 through 9,875 (of 12,866 total)