No search results were found in Documentation!
Hi Catalin,
Thanks for the advice. We’ve made a lot of progress.
1. We’ve updated the theme and are now using version 7.8.1
2. We’ve deactivated WP Supercache while we’re working on the site
3. We created a child theme. Here’s how it looks:
Newspaper-child
….parts
……..header
…………logo-mobile.php
….functions.php
….screenshot.png
….style.css
Contents of style.css:
/*
Theme Name: Newspaper 7 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 7.7c
Text Domain: Newspaper-child
*/
/* —————————————————————————-
This file will load automatically when the child theme is active. You can use it
for custom CSS.
*/
Contents of functions.php:
<?php
/* —————————————————————————-
Newspaper V6.3+ Child theme – Please do not use this child theme with older versions of Newspaper Theme
What can be overwritten via the child theme:
– everything from /parts folder
– all the loops (loop.php loop-single-1.php) etc
– please read the child theme documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
– the rest of the theme has to be modified via the theme api:
https://forum.tagdiv.com/the-theme-api/
*/
/* —————————————————————————-
add the parent style + style.css from this folder
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 1001);
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, TD_THEME_VERSION, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’), TD_THEME_VERSION . ‘c’, ‘all’ );
}
When I make changes to parts -> header -> mobile-logo.php those changes are not reflected on the site when I view them from a mobile device.
As an experiment I removed a semicolon from the end of a line in mobile-logo.php to generate a syntax error. Nothing happened on the site.
Digging deeper I went to the parent theme and deleted a semi-colon from the same file to see if it was being picked up there. No dice! After that I went crazy and created several syntax errors in different files to see if I could crash the site. None of my changes had any effect. After that I put everything back.
Is there caching going on somewhere else besides my plugin? What else could be going on to explain that none of my changes at the filesystem level are taking effect?
Bare in mind that I’ve also cleared browser cache and deactivated all plugins
i can’t fix this problem. i already to clear cache.
Hi Catalin,
Thanks for the advice. We’ve made a lot of progress.
1. We’ve updated the theme and are now using version 7.8.1
2. We’ve deactivated WP Supercache while we’re working on the site
3. We created a child theme. Here’s how it looks:
Newspaper-child
….parts
……..header
…………logo-mobile.php
….functions.php
….screenshot.png
….style.css
Contents of style.css:
/*
Theme Name: Newspaper 7 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 7.7c
Text Domain: Newspaper-child
*/
/* —————————————————————————-
This file will load automatically when the child theme is active. You can use it
for custom CSS.
*/
Contents of functions.php:
<?php
/* —————————————————————————-
Newspaper V6.3+ Child theme – Please do not use this child theme with older versions of Newspaper Theme
What can be overwritten via the child theme:
– everything from /parts folder
– all the loops (loop.php loop-single-1.php) etc
– please read the child theme documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
– the rest of the theme has to be modified via the theme api:
https://forum.tagdiv.com/the-theme-api/
*/
/* —————————————————————————-
add the parent style + style.css from this folder
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 1001);
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, TD_THEME_VERSION, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’), TD_THEME_VERSION . ‘c’, ‘all’ );
}
When I make changes to parts -> header -> mobile-logo.php those changes are not reflected on the site when I view them from a mobile device.
As an experiment I removed a semicolon from the end of a line in mobile-logo.php to generate a syntax error. Nothing happened on the site.
Digging deeper I went to the parent theme and deleted a semi-colon from the same file to see if it was being picked up there. No dice! After that I went crazy and created several syntax errors in different files to see if I could crash the site. None of my changes had any effect. After that I put everything back.
Is there caching going on somewhere else besides my plugin? What else could be going on to explain that none of my changes at the filesystem level are taking effect?
(and hot tip – start using php 7 + https + http/2 — this is the nextgen optimization method for ALL sites … wicked fast as the entire page loads as one encrypted compressed bundle, no more pieces of anything ! just insanely fast with opcache on server … by 2019 this will be “only way to fly.”)
-
This reply was modified 9 years by
simchris.
Hi,
i have a problem, i send mail ‘wordpress super cache’ administrators for this problem. They said that contact with your theme owners. Why i take a diffrent page view counts with Google Analytic. Can you help me please.
https://www.screencast.com/t/qJhMhsWfM29
https://www.screencast.com/t/bBmOehz4
Best/Regards
I refreshed the cache (CDN – KeyCDN Zone Purge and server – Hostgator’s Cache Control). But, nothing seems to work.
There’s no caching plugin for WordPress (incase if you are wondering).
Is tagDiv Mobile Theme compatible with WP Super Cache? Because I’m getting mixed results, apparently WP Super Cache is showing the same cached page for both mobile and desktop users, it’s like the tagDiv Mobile Theme is disabled by WP Super Cache…
It’s done! You should clean the cache ofg your browser if you want to change that file. Thanks!
Hello susanb,
I have inspected your website and I did not saw any problems with your website. It seems to work as expected. Please try to provide some useful screenshots so I can see the problem. Also, I saw that you are using some untested plugins which can interfere with the theme core files and cause a lot of unknown issues. Try to disable all of them, leave just Visual Composer to active, clear all your caches and check the results.
Thanks for the message!
Hi,
I have inspected your website and the social counter is working properly at the moment
– https://www.screencast.com/t/pkpq2uiidl
Sometimes it just needs a little time for the data to synchronize, or a clear to the cache.
Thanks
Hello efrembarrow,
Check the Google Analytics field and put in between script tag like this <script>your code</script>. Clear all your caches, purge CDN files and check the results. Please ensure that you have right added in your Theme panel. The code have to be added between strip tags, like this -> <script>your analytics code</script>
Hope this helps and let us know how it goes!
Thanks.
Hello danstephens,
First of all, ensure that you are using the latest theme version and make sure that your used plugins are tested with our theme. Clear all of your caches and check the results. Also, if the problem is still there, please provide your website so I will be able to provide a more accurate response after taking a closer look at it.
Thanks for your understanding!
Hello GideonLupine,
I have inspected your website and I saw that you are using a lot of untested plugins which can interact with the theme core files and causes a lot of unknown issues. Try to disable all of them, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme and check the results. Also, check your Block Settings and setup it according to our documentation here -> https://forum.tagdiv.com/block-settings-guide/
Thanks for your understanding!
Ok It seems the problem is the WP Super Cache. I have disable that clear cache and added the W3 Total Cache to test the difference and it’s working a lot faster.
Maybe an update broke something.
Hi,
Great theme. I’ve been working with it today and found that the “main menu” intermittently reverts back to its default “click here to set up the menu” despite the menu being set-up and working correctly most of the time using a selection of posts from a variety of categories.
This could be a cache issue on my end but wanted to check if this was a known issue that might need a fix.
Many thanks.
Hello lrawareness,
I have inspected your website and I saw that you are using a lot of untested plugins which can interact with the theme core files which might cause a lot of unknown issues. Try to disable all of them, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme core files and rule out any conflicting plugins. If the problem is still there, try to make a new clean install from scratch via FTP way, clear all the caches and check the results. You should check our demo preview here -> https://demo.tagdiv.com/newspaper/?s=wordpress and there you will see that our theme works as expected.
Thanks for your message!
Hello David,
Yes indeed facebook changed their implementation but Facebook changes the code and layout very often.
There seems to be an issue with the access token in the current version of the social counter.
Please download this version: http://cdn.tagdiv.com/wp-content/uploads/2017/03/td-social-counter.zip
And very important: clear all your caching including the browser cache. Example for chrome: https://www.screencast.com/t/f9Q66lPx1fY
Now the access token should work as before.
Thanks
Hi,
Page loading speed can be affected by many factors. Plugins can have a negative impact on website speed as well. You could make a test and disable all your plugins except the ones provided in the theme package, clear the cache and check to see if the speed has increased.
This could be also related to the ajax requests that the complex Visual composer elements present on your page are making. You should try to reduce the number of requests, like block pagination, ajax filter etc. from each of the block settings – https://forum.tagdiv.com/block-settings-guide/ and see if this has any effect in this matter.
Thanks
Hello vleydan,
First of all, ensure that you are using the latest theme version and then, if you are using some untested plugins, try to disable all of them, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme core files and rule out any conflicting plugins. I have tried to check your website but it seems to be in maintenance mode. If the problem is still there, you should try making a new clean from scratch and use only the bundled plugins and rule out any conflicts.
Thanks for your understanding!
Hello MasterDrake,
I have inspected your website and I saw that you are using a lot of untested plugins which can interact with the theme core files and cause a lot of unknown issues. Try to disable all of them, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme core files and rule out any conflicting plugins. By the way, do you are using the Background click Ads at your website?
Thanks for your understanding!
Hello,
The mega menu is present in version 6.7 as well. However we have seen plugins cause the mega menu option to not show up anymore. Please disable all plugins except visual composer, claar cache and purge cdn files. Then check the menus section. You should see this option available: https://www.screencast.com/t/sp4cpcGq5H
Thank you!
Hello ouropretooficial,
I have inspected your website and I saw that you still using some untested plugins, such as Autoptimize plugin, like this -> https://www.screencast.com/t/3i5BYnSt If you want to bring best results with our theme you should disable all of your untested plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme core files and rule out any conflicting plugins. Do you have tried this thing? If the problem is still there, you should make a new clean install from scratch via FTP way and install the theme only with bundled plugins and check the results.
Thanks for your understanding!
Hi,
Try setting a different option for your permalinks then save the settings
– https://www.screencast.com/t/Z2Xltvjh
Check to see if this is still happening. Then return to your previous settings and save, and also clear your cache.
Thanks
Hi,
Please make sure you are entering the video id’s properly. They must be entered like this
– https://www.screencast.com/t/Rv98BgLI5Q2M
More information here – https://forum.tagdiv.com/video-playlist-2/
Then save and update the page, the playlist should display the valid videos. Also clear any caching installed, maybe the page is not refreshing because of a cache you might have.
If you already tried it like this and the video does not appear in the playlist, please check the theme system status and make modifications to the parameters mentioned according to this guide, if necessary
– https://forum.tagdiv.com/system-status-parameters-guide/
Or maybe there is a plugin conflict that could be preventing the playlist from working properly. You could also try as a test to disable them all except Visual composer, clear the cache if you have one. Then check to see if it is working as intended.
Thanks