- NewspaperFlex Block Settings Guide
- NewspaperBig Grid Flex Settings
- NewspaperDesign your post pages using the Default Templates
- NewspaperThe Mobile Theme
- NewsmagGeneral settings
- NewspaperGlobal settings
Hello,
If you disable the post views they will be removed completely that is whay they do not show up in the back-end anymore. If you only want to hide them from the front-end, you can use this custom css to do it:
.td-post-views{
display:none!important;
}
You can add this code in the theme panel->custom css box
Thank you!
Hello team,
i need a help from you. actually when i create a post. below the title i am seeing share with Facebook, twitter, Gplus, and pinterest. i want to remove that share. can you please tell me how to remove that share and also i want to hide By : username – date views and comments below the Title. I want to display my description next line to my title. so i kindly help me with this.
Hello damian,
Thank you for your appreciating.
1)Our theme has an option for Reviews on posts and you can set it from each post editor like this -> http://screencast.com/t/M2btDgZm5 -> http://screencast.com/t/It2TRx1z44Z and we have not such a plugin that recommended in this regard, sorry!
2)Please check our list of tested plugins here -> http://screencast.com/t/lGfsDtn6 WP Super caches is our tested plugin.
3)Unfortunately, we do not have such plugin as tested with our theme and we cannot give an official response in this regard, but you can consult this topic -> https://forum.tagdiv.com/topic/security-plugin/
4)If you want to add more than one ad for your article you should use Article Inline Ads and you can set after how many paragraphs to add it like this -> http://screencast.com/t/twEg6oAtx For more information about our ads implementation, please consult our documentation here -> https://forum.tagdiv.com/article-ads/
5)Our pages use the sidebar if you use the pagebuilder+latest articles template and you can set it from panel to deactivate this feature, like this -> http://screencast.com/t/S7XvEYvHQ If you want to hide your sidebar from page builder content you should use a bit of CSS code but it is necessary to know your website URL so I will be able to provide a more accurate response.
Hope this helps!
Thank you for the message!
Hello carringtonb,
Unfortunately, our theme does not have such an option to display the views only for certain posts article but another possibility, in this case, would be to use a bit of CSS to hide it for a certain post. Please try the code below and add it in Theme panel->Custom CSS area. In order to achieve for a specific post, you have to target it by post id. You have to do this manually for each post.
.postid-145 .td-post-views {
display:none!important;
}
The result you should see here -> http://screencast.com/t/pCT2eVSaSe2
If you want to make it automatically, it is necessary to implement some conditions in the core file and this entails custom work. If you are not aware the with the steps in this regard, please consider hiring a freelancer/developer to implement this functionality for you in our theme because we cannot provide custom services at the moment, sorry! Also, you can find some plugins with this functionality and test it and check how it works for you.
Hope this helps!
Thank you for the message!
Hello Terrence,
Yes, if you choose to disable the post view counter that will affect the popular post ranking because this feature works by this counter. We suggest using a bit of CSS to hide this because this feature will be hidden but it is working in the backend and you should not have any problem in this regard.
If you want to hide this, please try the code below and add it in Theme panel->Custom CSS area.
The code is ->
.td-post-views {
display:none;
}
Hope this helps and let us know how it goes!
Thank you for the message!
Hi,
we are creating our new city portal with your amazing Nespaper theme.
We want to use Delightful Downloads plugin (https://wordpress.org/support/view/plugin-reviews/delightful-downloads) for document management.
When creating new downloadable document, there are two unnecessary windows that we want to hide:
– Custom Post Type – layout settings
– Revolution Slider Options
But we want to show them in post editor. What have to do for hide them using Delightful Downloads plugin?
We use child theme, so we could write something into child themes functions.php if necessary.
Thanks,
Tibor
Hi!
Is it possible to hide the post and comment views/count on the homepage (see image)?
So i still want to see them on the post page but not on the homepage.
http://luikenkarstens.nl/declercq/wp-content/uploads/2016/01/countview.jpg
Thanks!
Hi
To have the sort working you need to keep the view count active. If you don’t want the views appear on the post you can hide it using this css in theme panel > custom code custom css: http://screencast.com/t/BpSqEK1d0
.td-post-views {
display: none;
}
Thanks!
Thanks Andrei, but its actually happening on mobile.
I am referring to the white space above the headline and below the header ad slot (my header ad slot uses responsive adsense)
Also, are you sure .td-module-meta-info includes all of this:
category tags
author name
date
post views
comment count
tags
and the sharing buttons? I am trying to hide everything in red box http://screencast.com/t/ySXqq3YDb5 and there not be white space (on both mobile and desktop)
Thanks!!!
How can be resolved here on slide-module like this $buffy .= $this->get_date();:
File: includes/modules/td_module_slide.php
<?php
class td_module_slide extends td_module {
function __construct($post) {
//run the parrent constructor
parent::__construct($post);
}
function get_title_main() {
$buffy = '';
$buffy .= '<div class="td-sbig-title-wrap">';
$buffy .='href . '" rel="bookmark" title="' . $this->title_attribute . '">';
$buffy .= $this->get_title();
$buffy .='';
$buffy .= '</div>';
return $buffy;
}
function render($td_column_number, $td_post_count, $td_unique_id_slide) {
$buffy = '';
$buffy .= '<div id="' . $td_unique_id_slide . '_item_' . $td_post_count . '" class = "' . $this->get_module_classes(array("td-image-gradient")) . '" ' . $this->get_item_scope() . '>';
switch ($td_column_number) {
case '1': //one column layout
$buffy .= $this->get_image('td_300x350');
break;
case '2': //two column layout
$buffy .= $this->get_image('td_640x350');
break;
case '3': //three column layout
$buffy .= $this->get_image('td_1021x580');
break;
}
$buffy .= '<div class="slide-meta ">';
if (td_util::get_option('tds_category_module_slide') == 'yes') {
$buffy .= '<span class="slide-meta-cat">';
$buffy .= $this->get_category();
$buffy .= '</span>';
}
$buffy .= $this->get_title();//$this->get_title_main();
$buffy .= '<span class="slide-meta-author">';
$buffy .= $this->get_author();
$buffy .= $this->get_date();
if (td_util::get_option('tds_p_show_views') != 'hide') {
$buffy .= '<div class="td-slide-views"><i class="td-icon-views"></i>' . td_page_views::get_page_views($this->post->ID) . '</div>';
}
$buffy .= $this->get_comments();
$buffy .= '</span>';
$buffy .= '</div>';
$buffy .= '</div>';
return $buffy;
}
function get_category() {
$buffy = '';
//read the post meta to get the custom primary category
$td_post_theme_settings = get_post_meta($this->post->ID, 'td_post_theme_settings', true);
if (!empty($td_post_theme_settings['td_primary_cat'])) {
//we have a custom category selected
$selected_category_obj = get_category($td_post_theme_settings['td_primary_cat']);
} else {
//get one auto
$categories = get_the_category($this->post->ID);
if (!empty($categories[0])) {
if ($categories[0]->name === TD_FEATURED_CAT and !empty($categories[1])) {
$selected_category_obj = $categories[1];
} else {
$selected_category_obj = $categories[0];
}
}
}
if (!empty($selected_category_obj)) { //@todo catch error here
$buffy .= 'cat_ID) . '">' . $selected_category_obj->name . '' ;
}
//return print_r($post, true);
return $buffy;
}
//overwrite the default function from td_module.php
function get_comments() {
$buffy = '';
if (td_util::get_option('tds_p_show_comments') != 'hide') {
$buffy .= '<div class="td-slide-comments"><i class="td-icon-comments"></i>';
$buffy .= 'post->ID) . '">';
$buffy .= get_comments_number($this->post->ID);
$buffy .= '';
$buffy .= '</div>';
}
return $buffy;
}
}
//td-icon-views
Hello solo,
The meta box contains some information about the post, such as: Author name, Post date, views and comments. If you want to remove this, on your all post pages, it is necessary to use a BIT of Css to hide them. Please try the code below and place it in your Theme panel->Custom Css area, like this: http://screencast.com/t/1rsaswhD9vXj
header .meta-info {
display: none;
}
The result: http://screencast.com/t/IGHRpE7IRJ
You can create your side bar if you are using the Visual Composer like in the next screenshot -> http://screencast.com/t/jbNcO9iPlIqg . For more information about how to use this, please consult our documentaion here: https://forum.tagdiv.com/newsmag-how-to-use-visual-composer/
Also, for more information about post templates, smart side bar, please consult this: https://forum.tagdiv.com/newsmag-post-templates/ – https://forum.tagdiv.com/newsmag-smart-sidebar/
You can take a look over our You Tube section, because this contains a lot of tutorials and it may be useful
https://www.youtube.com/results?search_query=tagdiv+newsmag+
Hope this helps and let us know how it goes!
If is not what you mean, please provide more details about this, so I can be able to provide a more accurate response!
Thank for choosing our theme and thank you for your message!
I updated Newspaper Version: 6.6.1 and WPBakery Visual Composer Version 4.8.1
But when using SLIDE option (VC plugin) shows author’s name, date, views and comments.
How do I prevent (not show) that information?
Thank you.
Mauricio Tab
Hello,
Unfortunately there is no option for this in the theme but it can be done with a bit of customization.
You can hide the other review scores with css in order to just display the overall score:
before: http://screencast.com/t/j0lEQc3x
after: http://screencast.com/t/zH23QN8DuqG2
Use this code in the theme panel->custom css box:
.td-review-row-stars{
display:none!important;
}
As for the position you will nedd to edit the theme files to move the reviews.
Edit the loop-single_x.php template you use on your post. (you will need to edit every template you use on your posts http://screencast.com/t/gNewwrcmEQ3q)
Modify the template you use like so: http://screencast.com/t/CcMkeJjJ
Thank you!
Hi bluhub,
I’ve checked your site now and everything seems to works fine about your slider. Please provide more details about this because i do not saw the problem there and otherwise i can be able to provide a more accurate response.
For your second request, you can hide your pagination button of your News Sticker if you use the code below:
.td-trending-now-wrapper .td-next-prev-wrap {
display:none;
}
Place the code in Theme panel->Custom Css area, like this: http://screencast.com/t/HFtowNXBT and the result you should see here: http://screencast.com/t/uHlhxWdBfyW
If you want to display number of views on the block image, especially for block 8, it is necessary to make some modifications to show the views.
First of all, you need to know what kind of module is used in your block and this thing you can find here: http://screencast.com/t/urs7uFoNMC . After this, you have to add this code in get_views(); ?> td_module_7.php, like this: http://screencast.com/t/rGIUp8VWW .
On the second step, you have to copy the function get_views() from td_module_single_base.php in td_module.php like here: http://screencast.com/t/6pDj3N6S
Also, on the final step, you can use this CSS for a better alignment, add it in Theme Panel ->Custom CSS section, like this: http://screencast.com/t/agIXeDpeRn
.td_module_wrap .td-module-meta-info .td-post-views {
position: relative;
display: inline-block;
top: 2px;
margin-left: 14px;
color: #aaa;
}
.td_module_wrap .td-module-meta-info .td-post-views span {
margin-left: 5px;
}
Result: http://screencast.com/t/5mNoYgS9A7
I hope this helps and let us know how it goes!
Thank you!
In what place of file td_module_single_base.php
function get_views() {
$buffy = '';
if (td_util::get_option('tds_p_show_views') != 'hide') {
$buffy .= '<div class="td-post-views">';
$buffy .= '<i class="td-icon-views"></i>';
// WP-Post Views Counter
if (function_exists('the_views')) {
$post_views = the_views(false);
$buffy .= $post_views;
}
// Default Theme Views Counter
else {
$buffy .= '<span class="td-nr-views-' . $this->post->ID . '">' . td_page_views::get_page_views($this->post->ID) .'</span>';
}
$buffy .= '</div>';
}
return $buffy;
}
should I insert in file td_module.php?
Hello,
Does the Popular Post Sorting (7 day sort) look at post_views_count to sort or post_views_count_7_day_total?
If not, is it possible to change it so it looks at post_views_count to sort? Don’t like the idea of showing post view counts on posts – even if i hide it with CSS, it still shows for a few seconds if the user hasn’t got a fresh cache of the site.
Thanks,
Is there a way to hide show post views icon, until 100 views have been reached?
Cheers
Luke
🙂
I usually have to hack couple things for header, author template (remove comment count), 404 template, remove remote loading google fonts, add some stuff to functions.php, and minify the CSS, and make one change the default hit counter field to match our pre-existing field name “views” — so not too hideous; most of the rest is done with CSS.
In our case, just safer to get update, make mods to update work folder; then upload that to replace old version; check all works; if not roll back.
Fairly safe way to live without “hoping” updates will work (color me paranoid!) 🙂
Hi,
1. You can hide post views via custom css in Theme Panel > Custom Css – http://screencast.com/t/nwr7yQRBX
.td-post-views {
display: none;
}
2. Please make sure you select all elements from Visual Composer settings(and save) – http://screencast.com/t/CLOL9hsaZ
3. Please check the Tag template and change the module(the search module doesn’t exist in version 6) – http://screencast.com/t/Tb918utRX
Thanks!
Hi,
Instead of disable it from Theme Panel > Post Settings, you can use custom css to hide it – http://screencast.com/t/jTdQJ0Dt6hgi
.single .td-post-views {
display: none;
}
Thanks!
Hello wisnuwijayanto,
It depends on what custom css you are using, but it shouldn’t interfere with your modifications.
Use this custom css code in the theme panel http://screencast.com/t/Mr8F8YEztEqv and you can hide the post view counter:
.td-post-views {
display:none!important;
}
Thank you.
Hi
To hide the author name and date for a specific category page try adding this code in td_module.php file like here: http://screencast.com/t/a0NTeGRu just replace the category name:
and !in_category('vogue')
To hide those info from posts that belongs to a specific category you need to add a condition in the file corresponding with the post template used: http://screencast.com/t/5JHbRQVHtv0 – http://screencast.com/t/pDeoshW9OH The same condition must be added if you want to hide the author box: http://screencast.com/t/BHNB4FJ7lVVx
<?php
if (!in_category('vogue')) {
echo $td_mod_single->get_author();
}?>
Also you will need this custom css in theme panel custom css:
.td-post-views {
display: inline-block;
margin-left: 0!important;
}
Let me know how it goes!
Thanks!
Hi,
You can use custom css to hide the post views: http://screencast.com/t/536E9rjPT3
.td-post-views {
display: none !important;
}
Thanks!
Hi,
You can use a gradient background, also I have added width 100% and changed a little padding values – http://screencast.com/t/4PNrVJAUnG
figure {
position: relative;
}
.wp-caption-text {
position: absolute;
bottom: 0;
color: #fff;
background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.9) 100%) repeat scroll 0 0;
width: 100%;
margin: 0 !important;
padding: 10px 5px 5px 5px;
opacity: 0;
}
.wp-caption:hover .wp-caption-text {
opacity: 1 !important;
}
.td-post-featured-image:hover .wp-caption-text {
opacity: 1 !important;
}
Do you want to hide the entire section of reviews? – http://screencast.com/t/LGJt5ana
.td-review {
display: none;
}
Thanks!
Hi,
I’m not really sure how you add the reviews. You have to add points from 1 to 10 – http://screencast.com/t/Zh8521xwOb Do you have this issue after the update? I guess that in version 4 if you set the point reviews the stars were not displayed, we have changed this a little bit, sorry!
I can provide a css to hide the stars when points review is used – http://screencast.com/t/jOfwjcm7
.td-review .rate_point .td-review-final-star {
display: none;
}
Hope this helps!