- NewsmagHomepage – How to build and set it
- NewsmagtagDiv Composer Tutorial
- NewsmagNewsmag documentation
- NewsmagMain menu
- NewsmagLogo & Favicon
- NewsmagPage templates
Hi,
I want to exclude some categories from Big Grid on my Homepage. When I select ‘grid settings’ I can see this:
Filter multiple categories by ID. Enter here the category IDs separated by commas (ex: 13,23,18). To exclude categories from this block add them with ‘-‘ (ex: -9, -10)
Problem is my categories have names (gry, ksiazki, filmy, zwiastuny). When I want to exclude ‘zwiastuny’ I don’t know how to write it. I’ve tried -zwiastuny; ‘-zwiastuny’ -‘zwiastuny’ – non of this works.
Please help
it does work on single posts but not on static homepage
Hello,
You need to set-up a homepage in visual composer so you have a ‘home’ to go to. Please follow this guide to see how to do it: https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
After you created your homepage, add a link in your menu from the menus settings.
Thank you!
Just to share some experiences improving site speed for the many who post here to discuss…
What I’ve also done (My site is an independent ‘hyperlocal’ news site – slightly bigger than hyperlocal really) which I think is good practice given FB Instant Articles and AMP (Already on Apple News for almost a year now) is almost ‘forget the desktop’ exists.
Due to 75%+ mobile visitors it seems good practice (if a ‘live’ news site with say 100+ articles per week) to get the site as fast and safe as possible – this may help others
– I’ve removed all home page blocks except ‘ticker’ – a lightweight grid with no slider- and a sidebar
– Removed all plugins or deactivated ones no required all the time
– Implemented Chris S .htaccess and functions.php tips exactly as described – inc image resizing
– Paid Cloudflare with page rules to remove wp-admin etc- following TagDiv recommendation settings except RocketLoader ON – Mirage in ON
– Removed my subscriber pop-up and won’t use one – promote subscriptions via another route – FB ads – Twitter ads perhaps
– Removed SumoMe and anything that fetches CSS externally
– I do run UberMenu on main site and ShiftNav on mobile (for a better user experience) – But run NO mega menu or dropdowns
– Currently RocketLoader (Cloudflare) runs and doesn’t break anything
– Only added Google Analytics via YoastSEO not on Theme Panel box – it’s there and working
– ADDED a user text box to point people to how to navigate the site – believe it or not saying ‘Press load more or click coloured category labels or main menu’ actually gets visitors to do that!
Results –
Before – GTMetrix – PageSpeed B YSlow C Page size (Homepage) 3.2MB Requests – 187 – Load time – about 7-10 secs
Pingdom 5-7 seconds
After – Page Speed A (96%) YSlow B (82%) Page size (Homepage) 1.2MB Requests 96 – Load time – 2 secs
Pingdom 700ms-1.3 secs
The theme still looks great on desktop but it’s not worth getting caught up in the aesthetics if the visitors aren’t looking at the pretty views – it looks brilliant on mobile and that’s what matters.
Hello Sean,
The posts appear multiple times on your homepage because you have the same filtering on them. Please try to change the categories or apply an offset to your blocks: https://forum.tagdiv.com/block-settings-tutorial/
As for the social icons, they cannot be moved above the big grid as the sidebar only begins below it. The big grid will not display well on a single column.
Please follow this guide to see how to use visual composer properly: https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Hope this helps.
Thank you!
Hi,
You can use this code:
.td-main-content-wrap{
background-color:#e8e8e8;
}
This will aplly for all pages though. If you only want it to aplly to the homepage then put a ‘.home’ and a space before the code.
Thanks
Suddenly my sidebar and all image lost in post front end. But stil appears on homepage.
http://s30.postimg.org/5bxeqyte9/poz.jpg
http://s30.postimg.org/bqwfnn041/poz2.jpg
Hi
This code add a new attribute for the files with .js extension: http://screencast.com/t/nGNIekHRJAXZ When post template 8 or homepage post block from Visual Composer are used on the page there is an additional js loaded on the page which is not loaded from main js file of the theme. The above code does not apply the defer attribute for all js code and this seems to cause conflicts.
You can read more about how this attribute works at this url: https://developers.google.com/speed/pagespeed/service/DeferJavaScript#description
Unfortunately I can’t provide a solution now as are needed some researches in order to identify how this code will work properly with the theme. 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 for the message!
Hi,
Unfortunately the link you provided does not work.
On your homepage the image is not the problem but the block itself.
Here is your block: http://screencast.com/t/vbKiywBCC0n
and here is the default one: http://screencast.com/t/PGmceyP2
Somehow the block width is getting altered. Your block no longer has the default width.
Please revert the theme to it’s default state and check your block again. If you have no modifications you know of, it could be a plugin issue so please also try to disable all your plugins except visual composer, clear cache and reset cdn files.
Let us know how it goes.
Thank you!
Hello newtag,
If you have set it your Speed booster as properly according to our documentation here -> https://forum.tagdiv.com/how-to-make-the-site-faster/ and if you are sure that you do not have some js errors in the theme caused by the untested plugin, please try to check your source page with Ctrl+U and check if your code is moving in the footer section. Try this without other plugins which can affect this plugin. Also, please notice that is only for advanced users and if you are not aware to the steps about setting this, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!
For your second request, I have tested the Homepage post element and Single Template style 8 and everything seems to work as expected and the background image is displayed right.
Thank you for the message!
Hello,
Posts and modules/blocks are 2 very different things. If you change the font on posts, it will not affect the homepage. You will have to change the fonts on modules and blocks from here if you want them to change on the homepage: http://screencast.com/t/OwTa4tChqxy
Thanks.
how to decrease black space in homepage in
1. in footer 2 decrease space between popular category widget and text widget
2. in the whole area of the footer, decrease the height of the horizontal black space in the bottom below footer 1,2,3.
Hi there! 😉
Newspaper shows a strange behavior regarding its startpage. If I change something within the theme panel/header section, for example changing the main menu from style 1 to style 10, changes will be saved for all pages – except for the startpage, where the style still remains on “style 1”. This also happened for a logo change I did this morning (the new logo appeared on the startpage after like 2 hours without laying my hands on it again).
Am I doing something wrong? Is this a known behavior?
Thanks!
My system status is now ok, but home page is not working correclty.
Firstly, have a look on system status.

Then please have a look on homepage and then on post or some category.
Notice that for example footer is changed on category, post but not on homepage.
The title of post is changed when You browse category or directly go to post, but not on homepage.
When I try to have a look on category via homepage, it does not shows new post that i created and shoul be located in category Asia.
In summary, my homepage does not shows most of changes I make. What is wrong ?
Hi
Please address us in English next time as we cannot understand your request.
Thanks for your understanding!
I assume that you want to customize the category page with elements from Visual Composer. By default this s not possible as the theme allows only pages to be edited with Visual Composer, not the category page. However this can be achieved by modifying the code. You can check this topics where I offered similar solutions for Newsmag theme: https://forum.tagdiv.com/topic/different-ad-tags-for-the-category-templates-vs-the-homepage/ – https://forum.tagdiv.com/topic/how-do-you-filter-the-category-top-section/
Note that this is a complex task which require good coding skills and also many customizations in order to be achieved. We can’t offer 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,
In this case you will have to switch the demo. That is the style loaded for the travel blog. If you do not want the travel demo and prefer the standard header style, you can switch the demo for the default one and create the travel homepage by following this topic: https://forum.tagdiv.com/topic/how-to-stop-top-header-image-from-stretching/
Hope this helps.
Thanks.
Hello,
I assume you are talking about the post titles (on a post page, not on the homepage). There is no setting for this so you will have to edit the theme files to do it. You will have to edit every post template (file for every post template you use) and simply move over the subtitle code above the main title:
http://screencast.com/t/YXh0xGi5PSZ
Thank you!
Hello,
Well the code I provided was for big grid you had on your homepage. If you change it, the code will no longer apply. If you want a general code that will apply to ALL big grids, you can try this one:
.td-big-grid-wrapper .td-post-author-name{
display:none!important;
}
Thank you!
Hi,
i tried to use the booster plugin to defer load my js and css files – dont work. Not one file are moving from his place. I defined a custom wp-content directory as always in the config.php and im using a child theme. i also changed the name of the theme. Everthing works fine – but the plugin dont work. I followed the instruction of the booster plugin manual – no conflict with other plugin – i used it alone….
Then i removed the plugin, because i found following piece of code on stackoverflow to defer load the js files. Works fine:
if ( ! function_exists( 'add_defer_to_js' ) && ! is_admin() ) {
function add_defer_to_js( $url ) {
if ( FALSE === strpos( $url, '.js' ) ) {
// not our file
return $url;
}
// Must be a ', not "!
return "$url' defer='defer";
}
add_filter( 'clean_url', 'add_defer_to_js', 11, 1 );
}
NOW MY PROBLEM and my Hope you can help me out. The only parts of my site, wich does not display correct anymore is the homepage full block AND the (same) Single Post Template (DEFAULT SITE POST TEMPLATE Style 8). This is the shortcode to reproduce it on the mainpage:
[td_block_homepage_full_1 category_id=”” category_ids=”2558″ post_ids=”” tag_slug=”” autors_id=”” installed_post_types=”” sort=””]
I compared the source of my site with the defer code and without – no changes.
QUESTION:
ANY IDEA HOW TO FIX THIS? Nny help would be appreciated
Thank you so much
Hi,
When I go to url:
WEBSITE/wp-content/themes/Newspaper/
it throws me an error:
“Fatal error: Call to undefined function get_header() in /home/xxx/domains/xxx/public_html/wp-content/themes/Newspaper/index.php on line 6”
How can i solve this problem?
I want to redirect to homepage or display a blank page.
Hi,
I’m using the ‘module 14’ in my ‘article display view’, which is the sub menu in ‘categories’ in the theme panel. I’ve changed the article title font of module 14 by using the sub-option ‘modules and blocks – article title’ under theme font. It works but when I refresh the page of my website then it automatically changes to another font. At the same time by refreshing it again it comes back to the font of my choice. This procedure is repeating every time when I refresh the page of my website.
The same problem is with the individual posts. I’m using the default template for individual post view but the same problem is there.
Kindly explain how to fix this issue.
I also want to change the change the font of post that’s some part appears under the article title of website’s homepage.
I also want to know about the ‘General Font’ tab that appears at number 1 under the ‘modules & blocks -article title’, ‘modules mx and other block- article title’ & ‘post-title’. (theme fonts).
Regards
Hello cstyn,
The simplest way to have the H1 tag on your homepage is using the pagebuilder+page title as the template, like this -> http://screencast.com/t/6iO24JGCPUR and then your page title will have H1 tag. Another possibility would be to use a text block for your homepage and set the H1 text as in the example above. In the next major update, we will implement H1 tag in the logo section but until we will release this you can use these methods.
Thank you for the message!
Hello kognitoweb,
If you want to achieve something similar to what you want, you have to switch your homepage to be “your latest post” ->Blog mode and then you have to set from the panel module 13, like this -> http://screencast.com/t/bXZPaVYu4n -> http://screencast.com/t/F4RHRC6hc -> http://screencast.com/t/2uYbOaM9GUKz
If is not what you mean and if you want to display more levels in our theme and you are not aware to the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, or you can try to find some plugins with this functionality and see how it works for you.
Thank you for your understanding!
1)The simplest way to add an H1 tag is with a text box with some content to add this tag, like this -> http://screencast.com/t/ltxuDgzb and if you want do not affect your page content you should display this, for example on the bottom of the page or everywhere you want.
Using modules, make this not look fine. I tried.
How about adding H1 to logo just for homepage ? I found this
Is one year old thead where I found, would be ok ?
https://wordpress.org/support/topic/best-way-to-add-a-h1-tag-to-the-homepage?replies=4
code looks messi here… take a look at last reply. can that code safely included in theme ?
This is what I was asking for but the problem remains still.
I just wanted not to show up Author name, comment count and date on homepage and at the same time it should show up on single post pages.
With those above settings which you asked me, I landed up disabling Author name, comment count and time stamp on homepage as well as on the individual post pages. How can I disable just on the homepage?