- NewspaperHeader Builder
- NewspaperHeader ads
- NewspaperHeader styles
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperPosts Loop Element
- NewspaperHow to Add a Logo in Newspaper
- NewspaperDefault Category Settings
- NewspaperWhen tagDiv Composer is Not Working
- NewspapertagDiv Cloud Library Plugin
- NewspapertagDiv Composer Tutorial
- NewspaperUsing the Theme Translations with WPML
- NewspaperInstagram in Newspaper WordPress Theme
- NewspaperWeather Shortcode
- NewspaperThe Mobile Theme
- NewspaperLogin – How to Enable User Registration
Hi,
I found out that I could significantly boost my adsense earnings by changing the order my adsense code loads via the html code, however, I have my adsense codes inserted via the Newspaper theme panel. As in, for each location I want the code to appear, I have a different code like for the mobile header, mobile article inline, mobile article bottom etc. My most popular location is the Mobile article bottom slot, so I want the adsense code to load that ad first. I don’t know how to do this, can someone please show me? I’d also like to change the loading order for the desktop format as well, so that the article bottom ad loads first in the html order. Thank you!
Guys,
I am unable to figure out why newspaper theme is unable to save my adsense data/code instructed in documentation.
I pasted google adsense code in ad section of theme panel in any of the sub section such as header, side bars ,footer and saved it. but when i come back to that page all the data lost. it does not save in stipulated text box .also none of the place i seen google ads on my website.
my website is bhojpuritalkies.com
I am using PHP 5.4 , newspaper theme 7.3, MSSQL and hosted on IIS7.5
Hi
You can use category’s name as a css class to set a specific background for one category, the code will look like in this example:
.category-"cat-name" .td-category-header .td-container {
background-image: url("image-url");
}
Thanks!
HI
If the code works in Visual Composer it will also work if you add it in header or footer. Try adding the code in header.php or footer.php and check how goes: http://screencast.com/t/aZWLyS1L21
Thanks!
Hi, sorry if my reply sounded mean 🙂
Critical CSS is the “needed CSS” to render the above the fold content. Which might only be 20% of the CSS loaded for entire page, but when loaded inline with every page the page itself is a little bigger, but the browser doesn’t need to wait for ANY of the css and js files. This is the only way I’ve found to fully eliminate the “render blocking” message from Pagespeed Insights.
While the SpeedBooster plugin does pretty good job of moving stuff to footer (and I presume you know how to look at your page source to see if that actually happened, and WHAT is being loaded in the header), as I stated in many cases with WP, you cannot just move everything to the footer as then nothing actually loads until you get there.
TagDiv are doing a “sort of” version of this by front loading some of the CSS, and then moving the stuff to footer; but if you still get the message then it means this “scheme” didn’t quite work, and not really their fault — it will NOT work for everyone; even if they can do it with some (ahem, not all) of their demos.
Go test their demo post for example, see what happens 😉
So, the trick is to use a custom css “critical css generator” that scans your post and then figure out WHAT needs to load first “critical” in the sense it’s needed to load the page BEFORE all the css/js crap in the footer.
For this example “critical” would be defined as :
critical
· adj.
having a decisive importance in the success or failure of something.
So … TagDiv might want to — and will — weigh in as part of their lovely support effort, but you should concentrate on ALL OTHER pagespeed elements, and leave that one thing for last. Or it will drive you insane until you just learn how to get the “critical CSS’ added to the header.php file right above the body tag. Seriously. Been there. 🙂
I don’t work here; take it or leave it.
I thought I did answer it. To remove the ‘render blocking,’ you have to embed all the ‘critical’ css in your header.php file manually.
Perhaps TagDiv will have better answer when back in the office. Sorry that didn’t help. 🙂
Fact is, in WordPress you need to move all CSS and JS to footer, and then have the critical CSS loaded from the header file to fully eliminate that error message.
There is no ‘one click’ way to do it.
Check your page source and see what css and js are there.
but, the ‘gotcha’ is that most WP posts cannot render anything at all without certain code, and so putting it at bottom can help it load, but without the initial “critical” CSS actually loaded inline at top, the page still needs to get to the code to load anything at all (often giving a flash of unstyled text – aka FOUT).
I think I cover this somewhere in my epic poem on TagDiv theme optimization in the tutorials > best of forum.
🙂
Thank you Edward,
That solution Works perfect, I paste that code at the top of my htacces archive code
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “http://skin.cdn.com”
</IfModule>
Delete the cache and wait a few minutes and then the icons back.
Thank you again!
What if I need the category header to change according to the category?
I have one header I need on certain category pages, and the other for the rest – how do I acheive this?
Hey Tagdiv, if i set background image at category editor the image will insert like an normal image. If i upload the background image in the theme panel, the image will fill the header, but the template switches from wide to boxed and the header background image are set also as page background.
I want that the image are stretched in the header but the template should be wide without boxed background.
where can i send login credentials?
Hello,
The easier way to do it is with do_shortcode. THe news ticker is a rendered visual composer shortcode so using the function directly in the post template files is easier.
you cna set up your ticker the way you want it on a dummy page like so: http://screencast.com/t/iIKBu50mv and set all of it;s options.
The you can use the shortcode generated in classic mode and text mode: http://screencast.com/t/yLkdt8nsfK
Then you can place a do_shortcode function on each post template and add the shortcode inside: https://developer.wordpress.org/reference/functions/do_shortcode/
<?php echo do_shortcode('[td_block_trending_now style="style2" header_text_color="#dd3333" header_color="#1e73be" category_id="1048" sort="random_posts" limit="20" offset="2"]'); ?>
I hope this helps.
Thanks
Hello,
1) Stretching the logo is a bad idea as it will loose lots of it;s quality .if you want a bigger logo, you will have to create a bigger logo in your photo editor. The theme cannot stretch it and prevent quality loss.
Here is an example of such a logo: http://demo.tagdiv.com/newspaper_cars/
Here is the size of your logo: http://themidfieldgeneral.com/wp-content/uploads/2016/08/Untitled-design-10.png and here is the size of the cars logo: http://demo.tagdiv.com/newspaper_cars/wp-content/uploads/2015/08/header-red-contrast.jpg
Here is an example of what happens if I try to stretch the logo: http://screencast.com/t/TKNCnSgWEeV
2) For mobile you are using the mobile theme plugin so there is a special footer location for the m,obile footer menu and the desktop footer menu, Please access the manage locations section of the menu and select menus for each location: http://screencast.com/t/AFl9HaVgM
Thank you!
Or can you guide me on how to add an 100% container above all other footer containers and register a widget area on ‘Widgets’ menu that will be connected with it?
I’ve done the same for an extra header menu that I wanted to add, through a topic of another member here.
*** EDIT:
Got this completed easily. I will mentioned the way, just in case another purchase wants to have this solved:
Opened up my footer template file (in my case td_footer_template6.php) and added this code http://prntscr.com/c9rqbp , before the other two divisions.
Then opened up td_wp_booster_functions.php and registered a new widget that will be connected to this area, by adding the code highlighted, before other areas:
http://prntscr.com/c9rqln
-
This reply was modified 9 years by
themesic.
Hello patilabo,
Please keep in mind that above I have you a basic example, what you can achieve to change the size for your logo. Please notice that is not a simple task to do that because all settings are related to each other. The logo from this type of header style has been designed to be inline with the menu items and the size of it will be automatically adjusted according on width devices. Unfortunately, we cannot provide custom work at the moment and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you or also, you can change the header style 5 with another one wich has the logo in full width, as example header style 10.
For more information about our header styles, please check here -> https://forum.tagdiv.com/header-styles/
Thanks for your understanding!
Hi Catalin,
Now i have another problem. A big one.
When i try to change something from the theme panel (as header option, insert logo, footer settings, …)
the theme does NOT respond to my action.
I remember that my website is ppp.alturas.it
Could you please help me?
Thank you
Hi Catalin,
thank you.
Now i have another problem. A big one.
When i try to change something from the theme panel (as header option, insert logo, footer settings, …)
the theme does NOT respond to my action.
I remember that my website is ppp.alturas.it
Could you please help me?
Thank you
Hello soerin89,
As you can see here -> http://screencast.com/t/tmd7UOmpu the Recipes demo uses the Header Style 11 and that large photo is practically the logo. Please notice that each demo has an own design which can be found here -> http://screencast.com/t/5O5mq7WI and when the demo is loaded the characteristic style will be loaded. So, if you like this demo, please try to use the Recipes and then you can customize it by your desire.
Thanks for your understanding!
Hello selfdine,
Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-header-style-1 .td-header-row [class*="td-header-sp"] {
float: right;
}
The result -> http://screencast.com/t/b9ESkjQJ6PNj
Thanks for the message!
Hello,
Thank you for your reply. I Understand That You can not Develop For Each person.
I know the way to change the CSS but can you just tell me what values to change to change the size of the header logo?
@media (max-width: 767px) {
.td-header-style-5 .td-main-menu-logo img {
max-height: 70px! important;
}
.td-main-menu-logo img {
max-width: 185px;
}}
I would like the logo to be a little bigger on the site for office. Mobile view can stay like that.
Thanks again.
Hello tagDIV team,
First of all, thank you for the Newspaper Theme. One of the best WP Themes I saw and used so far 🙂
I have a question about changing the internal link of the logo on top and footer.
On your blog espresso-kaffee-blog.de
we would prefer that if somebody clicks on the Espresso-International Logo (top or bottom),
they will be directed to our main online shop site: espresso-international.de and not back to the home site.
I saw the entry here in the forum with the title: How to change the what the logo links to,
which had kind of the same idea in mind.
I edited the logo.php file as suggested from Andrei L. (see here:http://screencast.com/t/Qs073J6s),
but it didn’t work and the Logo is still linking to the
main home blog url espresso-kaffee-blog.de.
What did I do wrong?
I´m using Classic Blog with HEADER Style 9 – Full logo on top.
Thanks a lot
Alex
Hi,
These days after upgrading theme on newer version we get problem with banner linking.
Wordpress also updated.
Web address http://www.tech-lifestyle.com
Situation:
For Leaderboard banner we use code from WP ADV Pro plugin implemented in header.php
All banner is working earlier, but now we have a problem only with Leaderboard banner which use link of background adv.
Problem:
Implemented Leaderboard banner in site body below Header (Samsung TV) on click link on Background link VIP Huawei, not on right link of Samsung.
I try to:
Turn of Background and then Leaderboard banner isn’t clickable.
2. Change Leaderboard banner, link, but nothing, situation is the same.
3. To use NewsMag Background Click Ad module in Theme panel, but nothing…
Thanks for help
Hi, I have a specific piece of code that I want to insert into my newsmag website, but it’s not showing up no matter where i put it. I have tried:
installing as a widget
installing as header code
installing as footer code
installing as sidebar code
Manually inputting into css file
Here is the code in question : <script type=’text/javascript’ src=’//pl6447040.puhtml.com/ad/d9/9f/add99f669033ae25ef60c5ff0bbdba50.js’></script>
and my website is my.prostreetonline.com
Please help
Hi,
Ive just bought the Newspaper theme to use the recipe demo.
I chose the theme and the demo because of the large header. http://demo.tagdiv.com/newspaper_recipes/
Is this a header? And if it’s a header, how can I get that header as well?
I cant see this construction in the options 1 till 12 in the theme panel.
Please let me know.
Thanks in advance.
Soerin
Hello,
1) You can disable the logo on the sticky menu from the header settings in the theme panel: http://screencast.com/t/3eaZqAAjTKMQ
2) Assuming you are referring to the category tags, You can nuse css to change the color of the tag:
.td-post-category{
background-color:red;
}
3) I have checkled your images and it seems you are using an image optimiation tool Most likely it;s the photon feature of jetpack .that will re-size the iomages in order to “optimize” them. Please remove any at all image optimization tools.
Thank you!