- NewsmagPage templates
- NewsmagCategory templates
- NewsmagFooter templates
- NewsmagDefault post templates
- NewsmagPost templates
- NewsmagHomepage – How to build and set it
- NewsmagtagDiv Composer Tutorial
- NewsmagCustom Post Type Support
- NewsmagNewsmag documentation
- NewsmagHow to use the Visual Composer plugin
- NewsmagHeader styles
- NewsmagSmart sidebar
- NewsmagCategory grid styles
- NewsmagCategory top post styles
- NewsmagHow category settings work
- NewsmagFeatured images
Hi, Brian here.
Yes the site works with vanilla 7.3 and the sidebar is fine.
However: I’m trying to get a child theme working and every time I turn the child theme on the homepage messes up and the sidebar disappears.
Here’s what I’ve done:
Folder called: Newspaper-7_3-IC-Child
style.css
/*
Theme Name: Newspaper 7.3 Israellycool Child Theme
Theme URI: https://themeforest.net/item/newspaper/5489609?s_rank=1
Description: Newspaper 7.3 Israellycool Child Theme
Author: Brian of London
Author URI: http://www.israellycool.com
Template: Newspaper
Version: 7.3 [corresponds to theme version 7.3]
*/
functions.php
<?php
// Added by Brian of London BoL 2016-07-20
// Updated 2016-08-18 to try to rework after 7.3
// switched from old method of child theme loading
// "Note that the previous method was to import the parent theme stylesheet using @import:
// this is no longer best practice, as it increases the amount of time it takes style sheets to load. "
//
//
function my_theme_enqueue_styles() {
$parent_style = 'parent-style'; //
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')
);
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
?>
That’s it, no other changes made yet (I’ve got a screenshot.png file in the folder too).
As soon as I select that child the sidebar suddenly jumps to the bottom of the page, before the footer.
Hi,
Our demos are all static pages. That is what I am referring to. Change to static page as your homepage and then you can use visual composer and the latest articles section you can choose from the page template: http://screencast.com/t/BizGW5q1N
Thank you!
Hi,
I have really been trying to build this store in page builder but i am not getting the hang of it.
Is it possible that we have this shop page as a demo template that we can import into our current setup?
if i could see the backend maybe i could copy it.
Thanks
Tony
I don’t think any kind of “slideshow” would work unless you have build out your own custom template. AMP is really more for stories, not for viral slideshows.
In our case we were able to do our own ‘related posts’ using the CRP plugin, then simply including the shortcode via a hook, along with a string to include link back to the story page and message to follow us on Apple News channel if using iOS device.
If I have time I’ll try to post that someplace.
Right now I’m in process of “thinning” Newsmag 3.1 along with the custom composer plugin to replace the v2x version and TD ‘SHIM;’ for one of our sites as text (server crash messed up the site, so seemed good time to move onward ) … just took 50kb out of main style.css since we don’t use BBpress/forum or Buddypress. Boom 50KB gone from style sheet 🙂
Hi there,
I am using Advanced Custom Fields to add an additional, custom categorization field to my posts (called Topic). I would like for my users to be able to go to /category?topic=A to see posts that match the category and topic.
What’s the best way to modify the posts query being used in the category template? I’ve seen in ACF support that it’s relatively straight-forward using a custom query, however I need to pipe those posts into the actual category template page.
Any advice is appreciated!
Hello,
The latest articles section is part of the page template. There are 3 page templates. One of them has this element called the latest articles section. If you want to remove it, simply change to another template from here: http://screencast.com/t/RwNO7fgK
Thank you!
Hi,
If you require the recent articles to be displayed on every post under the content, you can use a do_shortcode function and chose one of the content blocks. For example, you can use a block 4 limited to let’s say 15 articles. You can create the block the way you want the settings on a dummy page. After you create the block and set it up, once you click classic mode you can see the shortcode. For my example this was the resulting shortcode:
[vc_row][vc_column][td_block_4 custom_title="Latest articles" limit="15"][/vc_column][/vc_row]
You can use this block on a post by adding it to the post template files with a do_shotcode function like so:
<?php echo do_shortcode('[vc_row][vc_column][td_block_4 custom_title="Latest articles" limit="15"][/vc_column][/vc_row]'); ?>
http://screencast.com/t/aGMv6ov5
You will have to add tbis code for each of the post styles that you use on your site. Each post template has it’s own file.
I hope this helps.
Thank you!
Hello, after installing the Newspaper WP theme I’ve chosen the cars template to run my blog. As soon as I removed the post, even without installing Revolution Slider that I don’t need, there’s a code shown on the home page:
[rev_slider_vc alias=”td-blog-cars”]
How can I remove that code? Where is it hidden?
Thanks,
Alessandro Zamboni
You have to customize amp template to support ads. Simplest way is using filter added to functions file. Amp template not part of theme. Just remember you can onlu use the small ad sizes for mobile.
Theme does not control amp plugin. Yoast glue adds some options. Just remember to resave your permalinks when enabling or disabling amp support since it adds new endpoint for pages.
I recently moved our site over to the Newspaper 7 theme (not from a previous Tag Div theme) and both Visual Composer and Newspaper 7 are updated to their latest versions and so is WordPress.
Our home page (static front page selected via the customizer) is a no-sidebar full width page template (Page Attribute: Default, Sidebar position: no-sidebar template selected). We use Google DFP for delivering our header advert and the header advert works perfectly on our home page and all posts that have a sidebar layout post template.
For some reason though, except for the front/home page, all newly created and existing pages or posts that use a no-sidebar full width layout the header ad does not appear with the Newspaper 7 theme. Even if I set up a new page with all settings exactly the same as our home page, the header ad still does not appear on the new page but it does appear on our home page.
In the Theme Panel, under Template Settings – Page Template: the CUSTOM SIDEBAR + POSITION is set to no-sidebar but I have tried every possible combination of theme panel default vs page attribute setting vs sidebar position setting but can never get the header ad to show on any no-sidebar page template or post template except for the Home page. The header ad only seems to work on pages and posts when a sidebar template is selected.
Could you please urgently assist with this as obviously it limits our layout options quite a bit if we cannot get the header advert to show on any no-sidebar pages or posts except for the home page.
Thank you.
Ps. Please get in touch with me via e-mail as I would like to keep the conversation and URL private. Thank you.
HI
To achieve that you need to edit the file corresponding with post template used and echo out there one of theme’s ad-spots. First you need to get ad’s shortcode from Visual Composer. Add an ad-box on a blank page, chose the desired ad-spot, press CLASSIC MODE button and copy the shortcode: http://screencast.com/t/CvyiAdvTo then paste it here: http://screencast.com/t/SAp89QNhaOEK
In above example I’ve used custom ad 1 on post template 1, but you can use any ad-spot from theme panel.
Thanks!
Thanks for the reply,
im starting on a fresh page, but the homepage template dosent show. The other templates are there.

-
This reply was modified 10 years by
fotballblogg1.
Hello,
The top area is destined for the mobile editor if you use the mobile theme
As for the latest articles, unfortunately this element was built to stay at the bottom and there is no setting to move it to the top. You can however use blocks to show the latest content. You can place blocks at the top of the content and change the page template to another that does not use the latest articles section: http://screencast.com/t/nQKql32sK
Thank you!
Hello,
The predefined pages are available in the templates section of visual composer: http://screencast.com/t/4xrUCiSufo
This will only appear on blank pages though. If your page already has content you need to press the template button: http://screencast.com/t/gcqBIRkj
Let us know if you still have trouble finding the templates
Thank you!
Hi,
according to the Visual Composer tutorial (https://forum.tagdiv.com/how-to-use-visual-composer/) there should be some predefined layouts.
When you create a New Page you can easily select one of the predefined layouts depending on your needs.
But all of the mentioned “homepage” templates is missing. There is a lot of other templates there, but not the homepages ones. Is it something ive done wrong? There is “about” templates, “articles” templates but no homepage or homepage – sport template etc.
Ive tried uninstalling and installing both theme and Visual Composer without any change.
Hello,
If you want to use normal pagination then you need to use the related articles section for pages. In order to do this you need to change the page template like so: http://screencast.com/t/GVVR2C1T2S8F
Then you can control the latest articles settings from the post loop settings tab that will appear on the page: http://screencast.com/t/enaJ28jVQ
Thank you!
How do i add simple pagination to a page .
Please note i am not asking about ajax pagination
but simple pagination as used in category templates
for example i want to use pagination like http://excelsiornews.com/category/international/
in this page http://excelsiornews.com/latest-videos/ rather than load more button
Thanks
Hey guys,
Today I upgraded to NP7 and after the update the homepage didn’t show. I tried updating with the Envato toolkit anf manual, but with the same results.
I returned to good ol’6 and I found the following error:
PHP fatal error: Call to undefined function vs_shortcode_custom_css_h_as_property()in /home/ceppetto/domains/
ceppetto.com/public_html/wp-content/themes/Newspaper/vc_templates/vc_row.php (on line 55)
please let me now if yo need login credentials via email.
Thx! regards,
Martijn Bak
Hi,
Is there a way to create a blank page template?
With no header/footer/menu etc.
Thanks
Hello, I have created a second custom sidebar in the page.php and I want it to act like a smart sidebar. I tried adding the “td-ss-row” class on its div but it is not working.
What can you suggest me? Where can I find how the smart sidebar works and apply it to my custom bar?
Link: http://okpronostico.it/clone/
My custom sidebar is on the LEFT, the sidebar that comes with your template is on the RIGHT.
Hope you can help, thank you.
1. Pai tocmai asta e problema..ca setarile blocului sunt identice in homepage si in pagina mea de test.
Totusi pe pagina de test afiseaza altceva..si nu inteleg de ce ..
Oare unde pot gasi codul responsabil pentru blocul respectiv ?
Intr-adevar este vorba de un bloc custom, nici eu nu stiu cum a fost customizat, am preluat site-ul de curind.
2.Ok, asta am rezolvat-o cu template-ul de categorie. Multumesc
I have installed fresh wordpress 4.5.3, and installed newspaper theme, now i had activated WPBakery Visual Composer.the WPBakery Visual Composer version is 4.3.4 which is bundled with newspaper theme. while adding new page via visual composer using backend editor the preview of layout shows but it in grey color and i cannot select the layout for my page. Also if i wish to add some element it is not adding element . PLease help me .
I am having a hell of a time identifying the different elements and trying to change font sizes/styles. I used a BLOCK 4, on a default template. that default template is set as home page. I am trying to edit the font size of titles. Where the heck is this setting??
I am under theme fonts but there are so many options and what I think was right, wasnt, and I have tried changing like 6 different places nothing has worked!! Dont understand what these do because I have changed font sizes to absurd numbers and nothing on my site has changed.
Inca o intrebare : incerc sa modific td_category_template_7.php, vreau sa adaug un bloc prin do_shortcode (dupa sfatul tau). Problema este ca blocul se afiseaza inainte de lista de posturi, si nu dupa ele, cum as dori.
<h1 itemprop="name" class="entry-title td-page-title"><?php echo parent::get_title(); ?></h1>
<?php echo parent::get_description(); ?>
</div>
<div class="td-pulldown-container"><?php echo parent::get_pull_down(); ?></div>
</div>
</div>
<?php echo do_shortcode('[vc_row][vc_column][td_block_big_grid_5_go td_grid_style="td-grid-style-5" installed_post_types="page"][td_block_big_grid_4 installed_post_types="page"][/vc_column][/vc_row]'); ?>
-
This reply was modified 10 years by
Catalin.
I’m not sure … but …. i think maybe the top post box might be only showing the latest poasts and not from the category the page is referring to.
http://dev.ntv.ca/category/programs/features/
if you go to that category page, you’ll see in the big box block, that the posts are not from the ‘Feature’ Category. Can I filter the posts in the category template?