- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello,
The entry-category has a different implementation and it will grab the color of the category from here: http://screencast.com/t/NloQRFff This only works on posts.
Different color tags can be present on posts by selecting different colors for the categories like this posts shows: http://demo.tagdiv.com/newspaper/td-post-seeking-business-cuomo-heads-to-cuba-with-a-new-york-trade-delegation/
If you still want to target it with css and make all of them one color you can use this code:
.entry-category a{
background-color:red!important;
}
You can select a specific pot template so the code only affects style 9 for example:
.single_template_9 .entry-category a{
background-color:red!important;
}
Or you can use the post ID and only target one specific post:
postid-165 .entry-category a{
background-color:red!important;
}
Thank you!
Hi
For the moment the theme dos not have an option to hide the thumbnail on live search. A possible solution would be to edit td_module_mx2.php file and remove the featured image form module’s structure. You can also change the module used for ajax search with one which does not display the feature image: http://screencast.com/t/XQJmTMvIfh It can be used module 9 for example: http://demo.tagdiv.com/newsmag/category/module-9-category/
The search field is generated in header-menu.php, this is the code for it: http://screencast.com/t/odiDmTfyloOW
Let me know if you need further assistance on this.
Thanks!
Hey! When I use the mobile site and click on the menu, 3 of the navigation links dont work. The URL is YoungConstituents.com – any idea why? The links that don’t work are News, Entertainment & Opinion.
Hello rodrigocarlos,
I have checked some URLs from your website and I saw that some are posted on Facebook and others do not, as an example this one -> http://proddigital.com.br/play/esportes-fitness/q48/como-reduzir-6-cm-de-barriga-em-apenas-40-dias/
Please notice that our theme does not have any influence for your posts when these will should display on Facebook. The theme only takes the link for your posts and puts it on Facebook….For more information about this process, please consult our documentation here -> https://forum.tagdiv.com/facebook-share/
Another thing that could cause this type of issue should be your untested plugins or your additional customizations if you have something like that. Please try to disable all the active plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with our theme and rule out the conflicting plugins. Also, if your problem will still persist, you can try to make a new clean install from scratch and install only the plugins that come bundled with our theme.
Please notice that our theme is fully tested with Facebook and as you can see in our demo preview, the Sharing on Facebook work as propelry -> http://demo.tagdiv.com/newspaper/15-grooming-techniques-every-man-needs-to-know/
Thanks for your understanding!
Hi there!
When I look at a post in the mobile version of my site (Safari running on iOS 9.3.3 & iOS 10 DEV beta 7) the author name is cut of as you can see in the screenshot below:
Is this already known or it there a solution for this problem?
Greetings from Austria,
Fabian
Hi there!
I’m trying to configure my page with VC and currently struggling with a little problem.
I want to display the Apple & Android section side by side right after Block 1.
I do not want to use Tabs because they are deprecated.
Is there a simple solution to solve this problem?
I tried to change the layout containing Block 1 to the three column section but then also the Block 1 is separated which is not wanted.
Greetings from Austria,
Fabian
I know what you mean about finding that perfect implementation. Take a look at the post grid that comes with VC. That thing is pretty flexible, and I think that by implementing that both for the post type for display, as well as the filters, that you’d have not only a good implementation but one that follows a standard to some degree.
Incidentally, here’s the only code I could come up with to make this work. It is only OK on my site because my home page block 14’s are all dog post types and don’t need the filters because i am filtering to a specific listing-type taxonomy.
// ---------------------------- FILTER HOME PAGE QUERIES FOR DOG LISTINGS!
function home_dog_queries( $query ) {
if ( $query->is_home() ) {
$pt = $query->get( 'post_type' );
if ( is_array ( $pt ) ) {
if ( in_array( 'dog', $pt ) && count( $pt ) == 2 ) {
//echo 'POSTTYPE';
//print_r( $pt );
$query->set( 'tax_query', array(
array(
'taxonomy' => 'listing-type',
'field' => 'slug',
'terms' => $pt[1],
)
) );
}
}
}
}
add_action( 'pre_get_posts', 'home_dog_queries', 1 );
In the post type, I had to list the CPT and tax value to filter in the CPT field e.g. dog, german-shepherds. Kinda crazy but worked. I originally tried putting the tax value german-shepherd into the taxonomy tag filter value, but apparently your code first checks to see if that filter yields any results somehow before it issues a standard query.
I moved my site to a new server, running Apache/2.4.10 (Debian) and php 5.6.24-0+deb8u1. While I can change everything regarding content and everything within visual composer, changes I try to make to the layout (for example style of posts or menu) do not show.
Any idea what could be the cause of this?
Best, Bernhard
Hi Tagdiv Support,
I have a problem with newspaper mobile themes. Post content shows fine but every pages content is just blank, can you please check it? My sites is http://www.suratkabar.id
Example on this page http://www.suratkabar.id/kebijakan-privasi on desktop the content loaded without problem, but when loaded on mobile it’s just blank.
Can you help me about this?
Thanks,
I’d rather not reveal the url for my website here, but I’ve had some substantial problems with the Newspaper theme ever since creating my website. Every few days, all the settings on my website reset and revert back to default settings. This is absolutely unacceptable because every time it reverts to default, it erases hours and hours of work I’ve put into customizing my website. In addition, sometimes the theme just randomly deletes all of my custom logo images (including favicons and bookmarklets). Again, this is not acceptable because, when this happens, my website is virtually useless to visitors. I could lose serious traffic because of this.
Yes, I can revert to my settings by importing theme settings, but I just did this and my website still isn’t functioning 100% correctly. For example, some of my articles are still filled with strange characters, forcing me to re-upload those articles. Luckily, my webiste is still in the early stages of development, but I plan to have several thousand unique visitors a month in the near future. To be taken seriously, I need a theme that is capable of handling this type of traffic without having a website full of embarrassing bugs. Please help me fix these problems because, as of now, this is extremely frustrating and troubling. My website is extremely important to me and I simply cannot have this happening. I just can’t.
Thanks in advance for your help.
I want to put add using this kind of code :
<iframe width=”324″ height=”234″ src=”http://lap.lazada.com/banner/dynamic.php?banner_id=57b9179bf2269&theme=2&p=4″ frameborder=”0″ scrolling=”no”></iframe>
I tried to follow using your instruction but nothing happened. I want to put it on sidebar and in article inline and bottom ad.
Can you please help me. Thanks!
a) note the tagdiv business hours, top right of forum.
b) Might just be your home page layout,
this page shows as mobile friendly
http://top10reviewz.in/prize-money-gifts-p-v-sindhu/
However you need to pay attention to the errors presented:
* This page uses 2 resources which are blocked by robots.txt.
* A temporary error occurred. 2 resources on this page could not be loaded. The results and screenshot may be incorrect. You may want to try again later.
https://static.xx.fbcdn.net/…mMhp4i.css
https://static.xx.fbcdn.net/…dQgHfSn.js
c) generally to make your site ‘mobile friendly’ you need to ALSO optimized your server for speed and proper server setup, compression, time to live, etc., optimize images, etc.
For example, I tested your page here:
https://gtmetrix.com/reports/top10reviewz.in/2UlrZtmY
Page Load Time
15.9s
Total Page Size
4.05MB
Requests
212
————-
For optimum page, you should serve less than 50 requests, page size should be under 1MB, 2MB for a photo site perhaps with a lot of uncompressed images, and page load should be as close to 1 second as possible, and not more than 4 seconds.
You have a lot of work to do to optimize your website.
Good luck!
Hi Guys, recently I decided to remove my regular ‘latest article’ from the homepage. So I changed the Template: “Page Builder + Latest article + Pagination” to “Page Builder + Title”. The problem I’m facing right now is that I can’t remove the Title of the page from de body. Let me show you an example what I want to remove (looks the arrows):
http://oi65.tinypic.com/acwwsz.jpg
Would you mind to help me?
Hi, thanks.
i edited it a little, so i have the soft shadow under the main menu (&sticky)
the rest i also got done, i put the content in row now.
will there be an update, so the streched content is scaled correctly?
best regards, Jan
vaporwavezone
good idea to learn to use Chrome web browser and the F12 inspector. You can highlight any CSS element on page to find it, then add custom CSS over-ride to your panel CSS box, or often at bottom of your style.css file.
SO, for example on your page:
.block-title > span, .block-title > a, .block-title > label, .widgettitle, .widgettitle:after, .td-trending-now-title, .td-trending-now-wrapper:hover .td-trending-now-title, .wpb_tabs li.ui-tabs-active a, .wpb_tabs li:hover a, .td-related-title .td-cur-simple-item, .woocommerce .product .products h2, .td-subcat-filter .td-subcat-dropdown:hover .td-subcat-more {
background-color: #4db2ec;
}
so, just an example you might “try” something like this:
.widgettitle, span {background-color: #990000}
or
.widget, .widgettitle, span {background-color: #990000}
or something like that.
Remember TagDiv support only open M-F during their local business hours, closed weekends. Might be the weekend “now” in their timezone.
But experiment with the above. You can also simply edit the style.css file at line 11045.
Note that the widget is a default widget from WordPress, and *not* the theme, hence no admin panel settings on that element.
Sorry if that isn’t exact CSS to use; just pointing you in right direction. 🙂
(I don’t work here.)
-
This reply was modified 10 years by
simchris.
Hi, this may be a simple fix but I am hoping to avoid changing code. How do I change the Follow Us on Instagram to Follow Me or Follow Maria Sees The World? Same thing for the built in contact in the footer. Thank you!
Maria
mariaseestheworld.com
Hi,
I have inspected the element but visual composer has quite a few restrictions on how it can be customized so another approach is maybe the better solution. You can use div’s to do it as you have better control over the classes you can add on each of them. Here is an example:
http://stackoverflow.com/questions/2562737/what-ways-can-i-put-images-in-a-grid-like-format
The gallery from visual composer does not allow the positioning you are after. I would use 3 div’s: a big wrapper and 2 containers for each row of images.
I hope this helps.
Thanks.
Hello,
Unfortunately we have not tested wpglobus so we have no idea of it;s functionality. if it works ion a sidebar, probably it has a shortcode. You can use a do_shortcode function in the header file and see if the translation comes up. Here is an example of how to add a shorcode function in a header file: https://forum.tagdiv.com/topic/how-can-i-set-the-revolution-slider-int-header-not-in-content/
The topic refers to a revolution slider shortcode but the method is the same. Replace the rev slider shortcode with your plugin shortcode and try it out.
As for the language, the plugin should have the language translation option. Our theme can be trnalated from the translations panel: https://forum.tagdiv.com/loading-translations/ but i cannot say for sure about the plugin as it’s not tested.
Thank you!
Hi Andrei, it’s fixed!
I’ve changed the td_templates_settings.php file like you showed and now it’s working again for Contibutors. So for now I’m happy 🙂
Since it used to work for Contributors in v2.x (I’m pretty sure of that) I want to ask you to make it work that way in future updates of the theme too. Not just for me, but because I think that’s the most logical situation: We have many Contributors that write articles and reviews but we don’t want them to publish them because someone else is in charge of that. But, as the link to Roles & Capabilities states, Contributors have full rights to write articles. So seems most logical to me that this also allowed them to write reviews and that requires access to the Review section of the Post Settings too, don’t you agree?
Thanks in advance!
-
This reply was modified 10 years by
fiftyfifty.
Hello,
If you want to place a rev slider element in the header, you will have to use the revolution slider shortcode to do it. You can use this function top wrap the shortcode in so it can be rendered by the theme: https://developer.wordpress.org/reference/functions/do_shortcode/
Here is an example of how to use it:
After you create the slider and add it in visual composer on a page, you can see it’s shortcode in text mode in the classic editor (the mce editor): http://screencast.com/t/wGw8sjS5eqLL
After you identify the shortcode and add it to the function, you need to place the whole function containing the shortcode inside the them file corresponding to the header style that you use:
http://screencast.com/t/LNgnFcnGjEtJ
I hope this helps.
Thank you!
HI
To achieve the desired result you will need some customizations in theme’s core files. For author mail add this line of code in td_module_single_base.php file: http://screencast.com/t/EOVNMN3ks1 – http://screencast.com/t/6wWZCm9eILd
$buffy .= get_the_author_meta('user_email', $this->post->post_author);
For photographer name you will need a new meta added on posts: https://codex.wordpress.org/Function_Reference/add_post_meta After the meta is added use get_the_author_meta() in td_module_single_base.php to display it, you can use the above code as example.
Note that this task involve some codeing skills and customizations in order to be achieved. We can’t offer speed customization services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks!
Hello,
Unfortunately I have no list to provide the exact places where each of these 2 fonts is used. You can us the browser inspector if you want to see fonts exactly or you can check style css and search for the fonts and see where it is added. For example. use the chrome inspector and inspect an element, let’s say the main menu: http://screencast.com/t/bRAjAWhnJ you can do this for every element and see the font used.
I hope this helps.
Thanks.
I wish to place an ad on top and below the post title – Like this
Above post title – http://imgur.com/dJbYj1L
Below post title – http://imgur.com/7jTnP4J
Currently I can only add the ad on top of the post content. How can I achieve this?
Thanks.
New update for the Automattic AMP plugin today (I’m guessing delayed until they got WP 4.6 out the door)
========
0.4 (in-progress)
Pages
Customizer
Updated Template
0.3.3 (Aug 18, 2016)
Handle many more validation errors (props bcampeau and alleyinteractive).
New filter: amp_post_template_dir (props mustafauysal).
New template: Nav bar is now it’s own template part (props jdevalk).
Better ratio for YouTube embeds.
Fix: better timezone handling (props rinatkhaziev).
Fix: better handling of non-int dimensions (like 100%).
Fix: better handling of empty dimensions.
Fix: autoplay is a bool-like value.
Fix: breakage when using the query_string hook (h/t mkuplens).
Fix: don’t break really large Twitter IDs.
Fix: don’t break Instagram shortcodes when using URLs with querystrings.
Readme improvements (props nickjohnford, sotayamashita)
Hello,
I want to shorten the length of the article’s titles shown inside the next and previous posts buttons.
I give you an example:
PREVIOUS ARTICLE
Eleven highlights of Wednesday 17 Au…
instead of
PREVIOUS ARTICLE
Eleven highlights of Wednesday 17 August at the Rio 2016 Olympic Games