- NewspaperFlex Block Settings Guide
- NewspaperBig Grid Flex Settings
- NewspaperDesign your post pages using the Default Templates
- NewspaperThe Mobile Theme
- NewsmagGeneral settings
- NewspaperGlobal settings
I am trying to replicate the layout from this demo page:
http://demo.tagdiv.com/newspaper_recipes/category/recipes/
Instead of showing the author, date, and comments, it shows the category above the post title. How can I do this?
Also, is it possible to hide the author, date, views, comments, and social media buttons at the top of posts within certain categories?
Thanks.
Hi, I do not want my site visitors to see the numbers of views counts on my articles.
How can I do this?
Before you gave me a code to hide the desktop views ( .td-post-views{
display: none!important; ) – on the desktop this code worked properly for a while and after sometime the views count came back (it flashes quickly in and out whenever you on a post).
The mobile theme has always soon the view counts, although I tried using the above code, that didn’t work.
How can I solve this?
Thanks for the assists so far.
Hi,
The views have been removed in newspaper 7, but can be re-activated like so. Please add this code to the theme files like so: http://screencast.com/t/wkJxA5rOj
if (td_util::get_option('tds_p_show_views') != 'hide') {
$buffy .= '<div class="td-post-views"><i class="td-icon-views"></i>' . td_page_views::get_page_views( $this->post->ID ) . '</div>';
}
Thanks.
Hello jazarian,
Please notice that you can enable/disable these options from your Theme panel->Post Settings, like this -> http://screencast.com/t/Jkh4YhYN Also, if you want to only hide them, you have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS box.
.td-post-header .td-post-comments{
display:none;
}
.td-post-header .td-post-views{
display:none;
}
Thanks.
Hello Marto,
Please notice that the Page level ads implementation is not tested for the mobile theme and we cannot say for sure if it works as properly, sorry!
Also, if you want to hide the post view count, you have to use the code below and place it in Theme panel->Custom CSS Area.
The code is ->
.td-post-views {
display:none;
}
Thanks.
Hi,
I have couple of questions about the new mobile theme.
1. How can I manage the home page and decide what to show? For now there are top featured articles and the latest articles. I want to put there blocks with different sorting options and categories or change them on the existing. In the top grid for example to show not only featured but what I specify.
2. Where I can put the code for Page-level ads?
3. Can I use widgets on mobile theme?
4. How to hide go to top button?
5. How can I show the footer menu?
6. Is it possible to hide the footer and leave only the footer menu?
7. Can I manage the font on mobile menu.
8. How can I hide the page views? Is the custom code different?
9. May I display and blocks from sidebar on article page?
10. Is the modal image removed by choice or for speed optimization? If it’s removed by choice can I turn it on?
Hi,
I am trying to remove the data from articles written by a certain author
In the page single_template_2.php i have modified the code so:
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php if ($post->post_author != ’88’) {
echo $td_mod_single->get_date(false);}?>
<?php //echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
It seems to work, removing the dates from the author with the id=88.
(Only problem remains the hyphen after the author’s name … how to kill?)
Now, to not show the date in google search, I think you should also hide
<meta property=”article:published_time
<meta property=”article:modified_time”
and
<meta itemprop=”datePublished”
<meta itemprop=”dateModified”
How can I do to eliminate them, again just for the author with id = 88?
Thanks!
Hi Bogdan, thanks
1) To hide post views in posts without use css I comment follow line in single_template_2.php
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php //echo $td_mod_single->get_views();?>
2) For leave author only on post, an hide from page and categories blocks
may be I could use a condition in
http://screencast.com/t/XAOzPjVnC
Do you have any suggestions?
Thanks
-
This reply was modified 10 years by
Bintmusic.
Hi,
you suggest me some change (display:none) in css to hide or delete some functions…
problem is that it seem bad for seo
http://seoshrugged.com/2015/11/30/does-google-crawl-css-displaynone-content/
so I want to know what code or functions to eliminate instead of using diplay:none
in particular
1) hide post views
.td-post-views{display:none!important}
2) hide author of block pages and categories, but I leave it on biggrid 1
.page .td-post-author-name{display:none}.category .td-post-author-name{display:none}.td_block_big_grid_1 .td-post-author-name{display:initial!important}
3) hide pulldown on categories (on right)
.category .td-wrapper-pulldown-filter{display:none}.home
4) hide next/prev on related articles
.td_block_related_posts .td-next-prev-wrap{display:none}
Hi,
Unfortunately there is no setting to only display the post views on the back-end, but you can hide them on the front-end with a css code:
.td-post-views{
display:none!important;
}
Simply add the code in the theme paenl -> custom css box.
Thank you!
Hi,
I’m not sure how your reviews are on different pages as reviews are meant for posts.
Unfortunately the theme does not have such an option. You can chose to hide the summary score on specific posts and only have it display on a specific one. You can use css to hide the summary:
.post-79 .td-review-footer{
display:none!important
}
you will need the post id for this but i’m not sure this is what you request. Please provide more details se we can better understand how to help.
Thank you!
Hello rodmvin,
Unfortunately, our theme does not have such an option and please notice that is not a simple task. If you want to hide the post views for some posts which are included in a certain category, you have to alter the code from core file where the function is created and you will add some conditions in order to achieve as you wish. You have to do changes in this file -> http://screencast.com/t/itsnHBXP As a hint, you should use in_category() by category ID. For more references about this, please check the codex here -> https://developer.wordpress.org/reference/functions/in_category/
If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment. Usually, we recommend the developers from studio.envato.com
Thank you for your understanding!
Hi Catalin,
Thanks for your answer. Did work perfectly. I would like to go a bit further with my question: Is is possible to hide the posts view counter using as a parameter a category? If so, I would not have to add the css for each post im adding to the site. Something like:
.category-999 .td-post-views {
display:non;
}
in this case I would put this css code on the theme painel css box, rather than in each post css custom configuration.
Thanks !
Hi,
Categories in the TagDiv theme can achieve at least two goals:
1. an optimal break down of the content by topics
2. optimal views on the site of the content
In order to reach the second goal, we need categories tags not to be shown on the homepage of the site and in the different segments of the site in the categories tags.
The case in point, I need on my site to have two categories named Articles and Events. What I want to see on the homepage is the topic of the articles or the events. E.g. Movies, Your money, Personal coach etc, and not Articles or Events as it is the case now.
You can see here the example:
http://www.screencast.com/users/mihaelamatei/folders/Default/media/59db620a-c157-48d5-b0e4-761f7fefd46e
I found in the theme:
1. that you can choose categories tags not to be shown at all on some modules. However categories tags are very helpful for the user, so I don’t want to use this radical solution http://screencast.com/t/bBwEhEg1I
2. that you can hide category tag on posts and on category pages. But what would be really helpful for the site owner would be the functionality described above: to hide some categories tags from the homepage and section pages.
http://www.screencast.com/users/mihaelamatei/folders/Default/media/3000f461-beaa-4454-a2a8-176a74f40f24
Could you tell me how I can access this functionality in the theme?
Thank you!!
Regards,
Mihaela
Hello rodmvin,
If you want to hide the post views counter for a certain post, you have to use a bit of CSS to hide it by a certain post ID, like this -> http://screencast.com/t/DqmlZAgvI
The code is ->
.postid-146 .td-post-views {
display:none;
}
Thanks.
Hi, is there any css to avoid / hide the amount of views of certain posts?
thanks!
Rod
hi, is it possible to extend jetpack into 7 days rather than 24-48hours? also can it randomly get posts if conditions are not satisfied. for example, if i set the block to get 5 posts then there’s only 3 posts that has views for last 7 days.. then it will pick those 3 posts plus 2 random posts.. this feature will be helpful for those websites that is starting up to hide if their site has low views yet..
also, how to add border top on ads? i noticed it automatically has no border top?
I currently hid the third level subcategory “Mexican” from the MegaMenu drop down but the mobile version still shows it. How can I hide it from mobile?
Example: Food & beverage->Food Reviews->Mexican
Hello,
How can I hide the next and previous post links on desktop view and show them on mobile?
How can I reduce the dark gradient that is shown on the Big sliders? I don’t want it gone completely but just reduced so it’s not so dark. I would also like to adjust the speed of the zoom effect if possible.
Could you please tell me what css should be used for an email/text input box and submit button so that it stays inline and lined up on both desktop and mobile views? Right now the submit button drops below and the text input on mobile view as well as the text input is not shrinking and stretching with the different view.
Thank You
Hello,
1) You can hide the post views in on the front-end with css:
.td-post-views{
display:none!important;
}
2)If you use caching, then please activate the ajax post view counter from here: http://screencast.com/t/PUwcIx75
3) I’m not sure what multi-page you are referring to. Please provide an example of such posts.
Thank you!
Hey guys, seems I found a bug in the Theme. If adblocker is enabled in the browser, in my case Google Chrome, a Theme Element disappears. The site is http://www.Enterverse.de and the element is below the big Grid, called “letzte Reviews”.
Theme has always shown the views in the admin panel for WordPress when looking at the list of posts, when the counter is turned on from theme panel. Since version 1.0.
There is a hook to disable showing the view counts in the admin panel, but leave the counters visible on the actual posts, but I don’t recall what it is. You could search if you want, and/or wait for TagDiv to reply.
Just heads up it’s “normal” to see the views, and always has been, in the WordPress panel. You can “hide visibility” from the visibility toggle, and some user role plugins allow you to hide that from the plugin that sets what is visible per role (e.g., admin = yes, editor = no).
Hello,
If you disable post views, then the ‘popular’ sorting will not work as there is no field for it to check. It is based on numbers. The post with the highest view count is the most popular one. If there are no numbers, there is no popular sorting as all posts have the same views: none
Please activate post views for the ‘popular’ sorting options to work.
If you want to hide them from the front-end, you can use css to do it (but still have counters in the back-end)
.td-post-views{
display:none!important;
}
Thank you!
The site is in “coming soon mode” right now.
But basically, see the demo sites article, http://demo.tagdiv.com/newsmag/td-post-the-best-independent-travel-magazines/
I would like to hide the meta: author, date, #views and #comments on the top of this post but only for the Fashion Week category. The Cosmopolitan and all the other categories I would like to show the meta Date.
Is this possible with a CCS Display “hide”? I just cant find how to do it.
Hi
You can use this css in theme panel > custom code > custom css to hide the post views on the front-end: http://screencast.com/t/4y32QqjZ
.td-post-views{
display: none;
}
Thanks!