- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperDesign your post pages using the Default Templates
- NewsmagPage templates
- NewspaperPage templates
- NewspaperCreate a form contact page
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewsmagCategory templates
- NewsmagFooter templates
- NewsmagDefault post templates
- NewsmagPost templates
- NewsmagHomepage – How to build and set it
- NewspaperHomepage – How to build and set it
- NewspaperPost templates
- NewspaperDefault post templates
- NewspaperCategory templates
- NewspaperPost template ads
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
Hello,
The theme width cannot be changed. The theme was built using a fixed width and you cannot change the main container. You can have full width rows on pages using the tagdiv composer, but it will not affect posts or other templates. You can do it from row settings: https://www.screencast.com/t/RkISOIx77
Thank you!
In blocks and modules, images are cropped to fit the grid sizes, obviously… you cant fit square in rectangle. With featured image, the size inserted into a post template will fit the template size used, not the sizes you type into wordpress settings. If you insert images into posts or pages manually you can choose one of the preset sizes made by wordpress if different from size you actually uploaded. At least thats how it works on my sites.
-
This reply was modified 9 years by
simchris.
Hi. Is it possible to build a full screen home page using newspaper theme?
I would like to build something like this https://www.templatemonster.com/demo/58404.html
but not sure if that is possible.
Thanks,
Miso
Hello,
Can you tell me how to customize the size of the featured image for the “POST/Category” page for my site? When I add featured images they are display at 1400×1050. I would prefer a much smaller resolution/height to minimize scrolling on the page. I used Default Post Template (site wide) is Style 7.
Thanks.
Two questions in one about Newspaper 8
Why the Theme custom CSS is so slow?
I mean, if I alter the padding, the font size or other elements, they only take effect after the page is loaded, what is frustrating as the reader “sees” the changes.
Child style.css issues seems not to be working
To avoid it, I’m writting the changes in the child theme style.css. But the changes don’t take effect, nothing happens.
Although my php files in the child theme work fine (header.php, functions.php and so on), style.css seems not to be working.
My child style.css:
/*
Theme Name: Newspaper 7 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 7.7c
*/
/* —————————————————————————-
This file will load automatically when the child theme is active. You can use it
for custom CSS.
*/
/* Increases the font size */
@media (max-width: 767px) {
.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p, .td-page-content li, .td-post-content li, .wpb_text_column li, .td_block_text_with_title li, .woocommerce #tab-description li, .mce-content-body li {
font-size: 125%;
line-height: 26px;
}
}
/* Modify the header background color */
.td-banner-wrap-full {
background-color: #ab1b1b;
}
Could you replicate this issue?
Thanks,
Daniel
Hi,
You could just simply edit the category template used or the one you want and insert the shortcode there like this – https://www.screencast.com/t/xXLLTCOa
Then the ad will be displayed on the category page below the description for example
– https://www.screencast.com/t/Nela6dgnX66J
Thanks
Hi!
I bought it and installed by FTP now, but I got a message about unstable status in theme tab in Admin page.
The message is that ‘do not have template index.php for theme and for child theme need template header in style.css.
Newspaper 템플릿이 없습니다. 단독 테마는 index.php 템플릿 파일이 있어야 합니다. 자식테마는 style.css 스타일시트에 템플릿 헤더가 있어야 합니다.
Above is the message in korean.
Thanks,
Scott
Hi
We’re using your template with great success, but we need a little help. Our url is http://www.bttlobo.com
Our front page is static, and we’re using the template’s right ad blocks (5 at total) only for the front page.
On the categories pages and other pages , we’re using the widgets for the right ad blocks (also 5 at total).
The problem is that we have the Ad Injection plugin installed to rotate ads in the last right ad block (bottom), and it only works as a widget.
So we would like to ask you if there’s any way we can add it as a widget to the front page right ad block?
Thanks
Hi,
I’ve just upgrade to latest version 8.0. Then, I get an issue that is the Home Page can not show the background image. Can anyone help me fix it?
I used Travel template for Home page.
Thank you very much!
Mr Tran
Hi Simion,
Thank you for your response.
I checked the first issue and it’s only happends on Firefox. Chrome seems to work fine.
The background issue is fixed by activating the parent theme. I only have a functions.php, page.php and header.php besides the style.css in my child theme. I figured out it’s the page.php that is causing the problem.
I don’t just want to throw it out, because it’s in there for a reason, but it has been a while since I’ve edited it. I have no clue what I changed, can you recognize anything?
<?php
/* ----------------------------------------------------------------------------
the default page template
*/
get_header();
//set the template id, used to get the template specific settings
$template_id = 'page';
$loop_sidebar_position = td_util::get_option('tds_' . $template_id . '_sidebar_pos'); //sidebar right is default (empty)
//get theme panel variable for page comments side wide
$td_enable_or_disable_page_comments = td_util::get_option('tds_disable_comments_pages');
//read the custom single post settings - this setting overids all of them
$td_page = get_post_meta($post->ID, 'td_page', true);
if (!empty($td_page['td_sidebar_position'])) {
$loop_sidebar_position = $td_page['td_sidebar_position'];
}
// sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue
$td_sidebar_position = '';
if($loop_sidebar_position == 'sidebar_left') {
$td_sidebar_position = 'td-sidebar-left';
}
/**
* detect the page builder
*/
$td_use_page_builder = td_util::is_pagebuilder_content($post);
if ($td_use_page_builder) {
// the page is rendered using the page builder template (no sidebars)
if (have_posts()) { ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="td-main-content-wrap td-main-page-wrap">
<div class="td-container">
<?php the_content(); ?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
?>
<div class="td-container">
<div class="td-pb-row">
<div class="td-pb-span12">
<?php comments_template('', true); ?>
</div>
</div>
</div>
<?php
}
?>
</div> <!-- /.td-main-content-wrap -->
<?php endwhile; ?>
<?php }
} else {
//no page builder detected, we load a default page template with sidebar / no sidebar
?>
<div class="td-main-content-wrap">
<div class="td-container <?php echo $td_sidebar_position; ?>">
<div class="td-crumb-container">
<?php echo td_page_generator::get_page_breadcrumbs(get_the_title()); ?>
</div>
<div class="td-pb-row">
<?php
switch ($loop_sidebar_position) {
default:
?>
<div class="td-pb-span8 td-main-content" role="main">
<div class="td-ss-main-content">
<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
endwhile;//end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar" role="complementary">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case 'sidebar_left':
?>
<div class="td-pb-span8 td-main-content <?php echo $td_sidebar_position; ?>-content" role="main">
<div class="td-ss-main-content">
<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
endwhile; //end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar" role="complementary">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case 'no_sidebar':
?>
<div class="td-pb-span12 td-main-content" role="main">
<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
endwhile; //end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}?>
</div>
<?php
break;
}
?>
</div> <!-- /.td-pb-row -->
</div> <!-- /.td-container -->
</div> <!-- /.td-main-content-wrap -->
<?php
}
get_footer();
Hi,
Yes it seems there is a problem that happens in this situation. Please try this code, it should fix this problem – https://www.screencast.com/t/FZEFgUZN6qd5
You just need to enter it in Theme panel->Custom Css section
– https://www.screencast.com/t/NQ6UJkjA6RW
.page-template-default
.wpb_text_column :last-child {
margin:auto!important;
}
Thanks
Hi,
To enable the Latest articles section on a page, you must select the required page template form the page attributes – https://www.screencast.com/t/n1EiehAtmS
More information about the available page templates and their options here
– https://forum.tagdiv.com/page-templates-2/
Thanks
Hi, i would like to remove most of the Author link because its a single author page.
Can you please give me a hint how to remove the tab “MORE FROM AUTHOR” below each article? We are using POST TEMPLATE Style 6.
Thanks for help!
Hello Szentmaxi,
You should use the Default as Page template because this one do not have page title and latest posts displayed, from here -> https://forum.tagdiv.com/newsmag-page-templates/ For more information about our post templates, please check the documentation here -> https://www.screencast.com/t/8Ib6prq5
Thanks for your understanding!
Dear TagDiv team,
I would like to hide the title and the latest posts from my page. If I use the recent page templates (“Page Builder + Page title” or “Pagebuilder + Latest posts + Pagination”), one of them remains there. How can I manage to hide both of them? Can I create a new template?
Thank you for your help!
Hello,
I’m wondering if there’s a way to add subtitles to the excerpts of my post, so that the excerpt has a title and a subtitle. I’d like these to display on my homepage. My website is finalfatloss.com
Just wondering if there’s a way to do this.
In another thread, I saw this code that might be useful:
<?php $td_subtitle_module = get_post_meta($this->post->ID, ‘td_post_theme_settings’, true); ?>
<p class=”td-sub-title”><?php if(!empty($td_subtitle_module[‘td_subtitle’])){echo $td_subtitle_module[‘td_subtitle’];} ?></p>
But I’m not quite sure how to integrate it.
Here’s my front-page-php code:
<?php
/* Home page */
get_header();
// display – Your latest posts
// @see https://codex.wordpress.org/Function_Reference/is_home
if (‘posts’ == get_option(‘show_on_front’)) {
?>
<div class=”td-main-content-wrap td-blog-index”>
<div class=”td-container”>
<div class=”td-crumb-container”>
<?php echo td_page_generator_mob::get_home_breadcrumbs(); ?>
</div>
<div class=”td-main-content”>
<?php
locate_template(‘loop.php’, true);
echo td_page_generator_mob::get_pagination();
?>
</div>
</div> <!– /.td-container –>
</div> <!– /.td-main-content-wrap –>
<?php
// display – A static page
} elseif ((‘page’ == get_option(‘show_on_front’)) && is_front_page()) {
//prepare the loop variables
global $paged;
$td_page = get_query_var(‘page’) ? get_query_var(‘page’) : 1; //rewrite the global var
$td_paged = get_query_var(‘paged’) ? get_query_var(‘paged’) : 1; //rewrite the global var
//paged works on single pages, page – works on homepage
$paged = max( $td_page, $td_paged );
$td_list_custom_title =__td(‘LATEST ARTICLES’, TD_THEME_NAME);
?>
<div class=”td-main-content-wrap td-main-page-wrap”>
<?php
// display Big Grid Mob 1 and the content at the top of the page
if ( empty( $paged ) or $paged < 2 ) { //show this only on the first page
if ( have_posts() ) { ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class=”td-container”>
<?php echo do_shortcode(‘[td_block_big_grid_mob_1 sort=”featured”]’); ?>
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<?php }
}
?>
<div class=”td-container td-pb-article-list td-main-content” role=”main”>
<?php if ( empty( $paged ) or $paged < 2 ) { ?>
<h4 class=”block-title”><span><?php echo $td_list_custom_title; ?></span></h4>
<?php }
$posts_per_page = get_query_var(‘posts_per_page’) ? get_query_var(‘posts_per_page’) : 10;
// query used on Latest Articles section
$wp_query_args = array(
‘ignore_sticky_posts’ => 1,
‘post_status’ => ‘publish’,
‘posts_per_page’ => $posts_per_page,
‘paged’ => $paged,
);
query_posts($wp_query_args);
locate_template(‘loop.php’, true);
echo td_page_generator_mob::get_pagination();
wp_reset_query();
?>
</div>
</div>
<?php
}
get_footer();
Thank you.
Best,
Dan
Hi,
Unfortunately at the moment there is no blank page template available. Please try to understand that the list of suggestions and recommendations is big, and the developers have to decide what gets implemented as soon as possible and what gets postponed for later updates. I could not say when a template like this will be available, sorry.
One option would be to hide the elements on the page with Css based on the page Id
– https://forum.tagdiv.com/topic/hiding-header-and-footer-for-specific-page/
Or you can search here on the forum for different solutions provided by our users.
Thank you for understanding!
Hi Edward,
yes but is the template or page doing this by itself in anyway hence the high numbers?
I need to distinguish between page views and automation.
thanks
Hi,
Can someone please explain the numbers displayed next to the “eye” icon on every individual post please!?
Near the top of every individual post you will see a small eye icon and a message/comment icon. The eye icon has a number next to it and I would like to know if this is a true reflection of the number of people that have visited the post. If i check google analytics it reads quite differently. Someone said that the numbers has something to do with plugin or template refreshing the page?
Thanks
Hi,
The Latest articles section present on the bottom of the page can be disabled by selecting a different page template in the page attributes options
– https://www.screencast.com/t/0cwrbCa8Em8q
Here you can find more information about the available page templates
– https://forum.tagdiv.com/page-templates-2/
Thanks
Hi Catalin,
Sorry, young DIY here :). I tried, but somehow it didn’t work.
As my default post template is “default” http://www.screencast.com/t/WVqhl8xyADA, I opened loop-single.php in /wp-content/themes/Newsmag.
I found the code line http://www.screencast.com/t/dIlv0ivnQmo, now can you let me know where I shall paste it ?
Here is the full code:
<?php
/**
* The single post loop Default template
**/
if (have_posts()) {
the_post();
$td_mod_single = new td_module_single($post);
?>
<article id=”post-<?php echo $td_mod_single->post->ID;?>” class=”<?php echo join(‘ ‘, get_post_class());?>” <?php echo $td_mod_single->get_item_scope();?>>
<div class=”td-post-header td-pb-padding-side”>
<?php echo td_page_generator::get_single_breadcrumbs($td_mod_single->title); ?>
<?php echo $td_mod_single->get_category(); ?>
<header>
<?php echo $td_mod_single->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’];?></p>
<?php } ?>
<div class=”meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>
</header>
</div>
<?php echo $td_mod_single->get_social_sharing_top();?>
<div class=”td-post-content td-pb-padding-side”>
<?php
// override the default featured image by the templates (single.php and home.php/index.php – blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
echo $td_mod_single->get_image(‘td_640x0’);
}
?>
<?php echo $td_mod_single->get_content();?>
</div>
<footer>
<?php echo $td_mod_single->get_post_pagination();?>
<?php echo $td_mod_single->get_review();?>
<div class=”td-post-source-tags td-pb-padding-side”>
<?php echo $td_mod_single->get_source_and_via();?>
<?php echo $td_mod_single->get_the_tags();?>
</div>
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo $td_mod_single->get_author_box();?>
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
</article> <!– /.post –>
<?php echo $td_mod_single->related_posts();?>
<?php
} else {
//no posts
echo td_page_generator::no_posts();
}
Hello CharlyBoss,
First of all, I will thank you for your interests in our theme! After beginning your project, I recommend you to star reading all of our documentation to familiarize with all of our theme elements and try to understand how each one works in order to start creating your site.
As an overview, in this site, http://www.mediahoarders.ng is used some of our elements, regarding on homepage, for example, header style 1, Font Awesome for Menu, 2/3+1/3 layout, block slide and pagebuilder+latest article+pagination as page template. You should try using the Inspector Browser to find out what items are used in the theme.
Our documentation can be found here -> https://forum.tagdiv.com/newsmag-newsmag-documentation/
Thanks for your understanding!
Hello,
You do not need to create a page template to show the tags. You can simply create a page with a few buttons on it added in visual composer and link them to the tag page for each tag in particular.
You can also add blocks to your page if you want to show posts from that specific tag using the block settings: https://forum.tagdiv.com/block-settings-guide/
Thank you!
Hi,
I am building out a section on my website for a knowledge base and membership section using an LMS system.
I would like a blank template page to create a landing page meaning no content would be on the page – – only the content I create inside the page. Also, any chance you could just add this feature to a future update of the theme?
I asked for this a couple months ago but did not hear back on the email I sent. I just sent a follow-up email seeking the blank template. Thanks!
I’d like to create a new template page. To create a tag page that will contain all my tags.
Is there a recommended way?
Thanks in advance