- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewsmagtagDiv Composer Tutorial
- NewsmagWeather Widget
- NewsmagExchange widget
- NewsmagInstagram widget
- NewsmagHow to use the Visual Composer plugin
- NewsmagIntroduction
- NewsmagFooter templates
- NewsmagCustom ad spots
- NewsmagLoading image effects
- NewsmagSmart sidebar
- NewsmagFeatured images
- NewsmagGeneral settings
- Newsmag7 days post sorting
- NewsmagTheme thumbs
- NewsmagExcerpts introduction
- NewsmagTheme colors introduction
- NewsmagtagDiv slider gallery
- NewsmagVideo playlist
I have created a custom post type and use a copy of the single template to display it. That’s ok.
But now I need to modify the way the custom post type is displayed in the blocks (e.g: home page, category roll, etc.).
I have seen the /shortcodes and /modules folders, where original blocks and shortcodes are stored, but wonder what the correct/best way to create a custom block would be, so we add a few custom field data to the block…
Thank you for your help!
Gustavo
HI
To display an ad above related article you need to edit the file corresponding with post template used and echo out a custom ad-spot. To get the shortcode add an ad box into a blank page then switch in back-end editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
The code should look like here: http://screencast.com/t/uyT7fX4Rk
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Thanks!
Hi, I’ve been using the free version of Relevanssi plugin to improve our website searches for users. Unfortunately, the plugin is causing a conflict with the Newspaper theme. I was curious if you can help resolve the issue, or if you suggest that I should submit a support ticket to Relevanssi plugin developer instead. I would be willing to buy the premium version of Relevanssi plugin to resolve the issue, but don’t want to invest in the cost if it will not work with Newspaper theme.
I got errors when trying to save these pages:
http://mauimagazine.net/maui-regions/
ERROR:
Warning: Cannot modify header information – headers already sent by (output started at /home/mauimagazine/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php:148) in/home/mauimagazine/public_html/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at /home/mauimagazine/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php:148) in/home/mauimagazine/public_html/wp-includes/pluggable.php on line 1174
I can provide a guest login access for you to view the site from admin login.
Alternately, I am looking into switching to using a different plugin as the next option – https://wordpress.org/plugins/better-search/. Perhaps you know if this one is compatible with your theme?
Thank you for your time and help.
Yep, so go look at the CSS used for a ‘page’ in Newspaper.
Use Chrome F12 to highlight the block of the paragraphs, find the class name for the page content without padding wrapper, and that is class to target along with paragraph.
Or, wait for TagDiv to help you. But good to learn to do some stuff like this on your own, for “control” of making your own mods.
Good luck!
-
This reply was modified 9 years by
simchris.
Hi,
Thank you for the info! it totally helped. I thought the number set in the custom field would be static, not increasing with new counts 🙂
On the other hand, what/where can we modify in order to get the counter on the front-end (pages, blocks)?

just as here:

Thanks!
Hello, I can not find where I can change the categories showed on every block’s upper right corner.
I attach an image:
https://s12.postimg.org/5rkt5pgxp/Captura_de_pantalla_2016_10_19_a_las_11_55_40.png
Thank you for your help
Hello,
I am running an online newspaper. In my newspaper, there are opinion posts. For the opinion posts, I want a block (similar to Block 7) with latest posts for each author (multiple author filter) and the image in the thumbnail is the images of authors instead of featured image.
Can anyone help me?
Regards,
Ahmet Taha Koru
Hi,
please see here: http://info.gamefamily.de (Note: It’s totally a dummy website 🙂 )
As you can see I changed the design so that the orange bars look really good! 😉
But anyway, I can’t change that orange color in the block AND sidebare titles. Maybe you can find out why.
Hi
No you can’t use Read More tag avaialable in wordpress editor with visual composer: http://screencast.com/t/kM1fMKLzTXe The indicated tag can be used only outside visual composer in post loop settings as I’ve indicated above.
However you can use one of theme’s blocks/modules which automatically add read more button after excerpts, here in an example: http://demo.tagdiv.com/newsmag/block-12/ Block 12 use module 11 for layout and you can set a the excerpts length from theme panel > excerpts: http://screencast.com/t/iGJb5lkkl
Thanks!
Hello,
Please update your child theme as the main reason why anything does not work when a child theme is activated is that it;s not been updated. You need to update the code in your child theme as well because there is no update proof method of customizing the theme files. Please check this topic:
Thank you!
Hello, i have been using the demo of the newspaper black version to set up my site.
There seem to miss some blocks/elements between the “video playlist” block and the footer.
When i try to change the default homepage/front page with visual composer using “edit” under pages, i lack a couple of blocks/elements to configure.
I cannot change or see any blocks/elements under the “video playlist” youtube playlist element thats in the default page.
There is simply nothing below there to configure, it only says “add element”.
How can i remove/configure the blocks and elements that is allready showing on my site and should be below the video playlist? (latest articles, advertisement etc. the blocks above the footer between videoplaylist thats there by default)
Will it be easiest to create a new homepage from scratch, containing the blocks and elements i want?
As there is no option to change the last elements with the gui and visual composer.
Also; is it possible to configure the “editor picks, popular post and popular category” in the footer?
(Footer template style1)
Thank you very much for an awesome theme!
have a nice day.
Hello,
And where in the front-end do you want the post to show. A post will show up everywhere one of it;s categories is specified. But if a block for example that excludes the categories the post belongs to , the post will not show. Please provide more specific details
Thank you!
Hello,
If your custom post type works as expected, all blocks should display it properly. This is the first time we heard of a CPT to work on one block and not work on another. Please also test this with our td_book plugin and see if the blocks work with it properly:
Thanks.
Sorry, I don’t really understand what you tried to explain…
Can you elaborate this sentence
A solution would be to use post id filter and insert in that filed only the ids for those custom posts that you want to display.
Hello,
Please first make sure your images are bigger than the thumb used in the big grid as the featured image is not enlarged by our theme, only cropped.
Then after your images are big enough, use this guide: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thank you!
Hi everyone,
hope someone could help me.
I created a plugin that registers a custom post type (‘siti’).
Added a filter in the plugin as below:
add_filter('pre_get_posts', 'query_post_type');
function query_post_type($query) {
if ( is_category() || is_tag() || is_home() && empty( $query->query_vars['suppress_filters'] ) ) {
$post_type = get_query_var('post_type');
if($post_type)
$post_type = $post_type;
else
$post_type = array('nav_menu_item', 'post', 'siti');
$query->set('post_type',$post_type);
return $query;
}
}
The custom posts are showing great, as well as the taxonomies archives.
On the homepage, however, the only Visual Composer box that shows the custom posts is the “Big Grid 3” by adding the custom post type in the filter.
If I add for example a “Block 4” nothing happens.
Anyone have an idea?
Installed plugin: Yoast SEO premium, Wordfence, Progress map, Social Buzz.
Thanks in advance,
Marco
Hi Bogdan,
unfortunately, that seems not to help and I already tried it. I changed the color via the Visual Composer settings e.g. to grey and that happened: https://img1.picload.org/image/rdldpiad/blockchange.jpg
As you see, not the full bar changes the color, a part stays orange and I can’t change it. Next problem: Your solution doesn’t affect the sidebars.
So maybe it’s a CSS thing? I already changed the color in theme panel. Doesn’t help, too 🙂
Many greetings,
Bastian
Hello,
1. Unfortunately our modules and blocks were not designed to show tags. This can only be done through customization.
2. On posts tags show in the alphabetical order, not a custom order. There is no setting to change the order of the tags shown on posts.
3. Your language does not use spacing. The excerpts use a word break system but your words do not have breaks (spaces) and the theme believes it is one big word so all content will show up in the excerpt. To avoid this, please change the excerpt to filter by letters, not words from here: http://screencast.com/t/pl3PDLWj27
Thank you!
Hello,
The dummy data has a few settings that are made from block settings. Please read this guide to learn about what can be changed from block settings
Thank you!
Hello,
Please read the block settings guide and check to see if you added te category filter in the correct spot. People tend to confuse the filter with the ajax filter and vice versa
Thank you!
Hi,
How can I remove the mouseover zoom-effect on the Big grid?
Link to site:
Best regards,
Arne
Hello,
Please read the block settings guide and check to see if you made the proper settings to your block elements.
Thank you!
Hi
Unfortunately that can’t be done with css, you will need to edit plugin’s files and add a condition there to remove the followers number from Social Counter. Try to edit td_block_social_counter.php file and add this condition like here: http://screencast.com/t/jMTBj1BJ0E4 – http://screencast.com/t/Ze8sHioZvXRD
if ($td_social_id != 'twitter'){
$buffy .= '<span class="td_social_info">' . number_format($social_network_meta['api']) . '</span>';
}
Thanks!
Hello,
Please check your block settings again and make sure you added the categories proiperly in the right field. Please use this guide: https://forum.tagdiv.com/search/block/
Thank you!