- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello,
You can find a list of all the available theme blocks here:
https://demo.tagdiv.com/newspaper/block-1/
Select the block you want to view from the ’25 blocks’ dropdown https://www.screencast.com/t/1ZdWek3ejAo5
There is no block however that can show the excerpt or image based on user preference. Our blocks will pull the information automatically, not user defined. sorry
Thanks.
Hello,
You must have missed a step in your customization. Try to use the api plugin which adds a new block: https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
Please note that the theme api is for advanced users and is not covered by the theme support.
Thank you!
You can filter your blocks by tag and use ajax filters based on tags as well. Add the brand tag to each post and then use the block settings to filter specific categories or tags to your blocks: https://forum.tagdiv.com/block-settings-guide/
Thank you!
Hi, I need the ability to display the post title and occasionally a featured image (if the post has one) on the home page. What block/element would you recommend for this? If I choose block 9, that’s great for post titles but no ability to display image. If I choose an option with image, it displays too much and also puts a placeholder image where there is no blog post image…
Hiya guys,
I have added a custom block following the tutorial, but it throws this error throughout the site
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_25 is not set.
/home/radarone/techinsight.us/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Have I missed something? Any insight would be helpful.
Thanks have a great day,
Hello,
Could you please check my blog https://www.tatabahasajepang.com?
On the article, The “Related articles” and “More from author” text is blocked by red color so it is not readable. I have been trying by changing color, but no luck.
Please help, how do I solve this problem?
Thanks
HelloWakeUpCallProject,
Unfortunately, I do not exactly understand why do you want to have a blank block? Sorry. Notice that number is the default one and it was declared at the code. If you want to change it you should edit the theme core files and make the needed changes in order to achieve this.
Thanks for your understanding!
Hello,
The main grid does not have the correct thumbnails enabled. Please activate the td_485x360 thumbnail from your theme panel->block settings->thumbs on modules and blocks.
Thank you!
Hello ouebflow,
If you want to remove the More from author tab for each post, you should use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td_block_related_posts .td-related-right {
display:none!important;
}
The result is here -> https://www.screencast.com/t/dYFZ2m2NP4
Thanks for the message!
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,
I don’t fully understand why you would not simply use Header style 6 if that is the one you like, and why you want to modify Header style 7. Maybe you can explain better so I may give you a solution.
If you mean the block title color you can do it in the block settings
– https://www.screencast.com/t/MGUDuDud
More information about the available block settings and options here
– https://forum.tagdiv.com/block-settings-tutorial/
Thanks
Hi Simion,
The theme does not add any Og data.
Sorry Simion it seems you do not know, but from the beginning Newspaper theme has been og:image added in the header (look into td_wp_booster_functions.php). When Yoast is enabled, all the users have og:image duplicated.
@mydivyam, you can remove that part from td_wp_booster_functions.php (line 574…580)
Yes, but now when I go to make a new Block 4 the number is set to 5 as a default for limit post number. I want it to be blank.
Is there a way to do this? Or do i have to manually change it every time?
Hello WakeUpCallProject,
You should check the Block Settings, the Limit post number like this -> https://www.screencast.com/t/bKlUKnQWfu
Thanks for the message!
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!
Hello Vishal,
If you want to display the top bar menu on the mobile devices, you souhld use a bit of CSS code for it. Try the code below and place it in Theme panel->Custom CSS area.
The code is ->
@media (max-width: 767px){
.td-header-sp-top-menu {
display: block !important;
}
}
Thanks for the message!
How can I set the ‘limit post number’ to be blank in Block 4 so that it reads from the wordpress default setting (Blog pages show at most).
Currently when I create a Block 4 it sets the limit post number to ‘5’ as a default, however I want it to be blank.
For pages like this:
https://smallcaps.com.au/mobile-embrace/
another question: how can i change blocks color?
I have changed the font article titles in theme colors > theme panel to green but they post titles on homepage latest articles are still appearing black vs green.
Im trying to install the site seal logo on my website but i dont know how
Site Seal Installation Instructions
Copy one of the site seal graphics below by simply right-clicking and choosing Save picture as from the menu
Upload the Comodo Secure Site Seal graphic to your web server
Refer to the typical HTML code below to get you started and make your upload as simple as possible
Where do i put this code?
</code>
<blockquote><a>
f=”https://www.positivessl.com/trusted-ssl-site-seal.php”>
<div style=”font-family: arial;font-weight:bold;font-size:15px;color:#86BEE0;”>SSL Certificate</div>
I have on my home page of http://slivki24.club: Big Grid 7, Ad box, Block 5 sections.
But in the bottom, there is “Latest” section which I did not add http://imgur.com/a/LgPww.
How to remove it?
Search isn’t working.
Search page on my website:
https://tosunkaya.com/?s=keycdn
+ Manshead ad on post doesn’t display correctly, sidebar blocks the right of the ad.
Example: https://tosunkaya.com/httpyi-httpse-kolayca-yonlendirme-htaccess-ile-ssl-sertifikasi-ayari/
I would like to point out that in the file td_block_trending_now.php there is this code $buffy .= '<div id=' . $this->block_uid . ' class="td_block_inner">'; on line 34 and this code $buffy .= '<div class="td-trending-now-wrapper" id="' . $this->block_uid . '" data-start="' . esc_attr($navigation) . '">'; on line 61.
The problem is that the same id is assigned to two different divs, and this is an error, as the W3C validator reports.
I also want to ask you why in the code there are some paragraphs that are opened and not closed or viceversa. As you can see in the source of my site view-source:http://www.calcionews24.com/ -or better in the w3c validator- in the home page there are some of these. The page is created with Visual Composer simply putting some blocks above others (Block 15, Text with Title…) and not inserting html code manually. The version of the Newspaper theme I’m currently using is 7.6.1. Thanks.
Hi,
For the text you can use this code – https://www.screencast.com/t/TDKXP8aH
.td_block_big_grid .td-module-title a {
color: black;
}
Thanks