- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspapertagDiv Opt-In Builder – Emails
- NewspaperBookmark – Save For Later
- NewspaperModules Builder in Newspaper Theme
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperLockers
- NewspaperLeads
We have this warning in our error log.
“PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/studentlife.com.cy/htdocs/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php on line 1019
Requests that caused it so far
request: “GET /author/constantinos-tsiartas/ HTTP/1.1”
request: “GET /tag/midnight/ HTTP/1.1”
Hello,
The ad can be added through the theme files as there is no setting in the theme panel for it. You will have to use a do_shortcode function like so:
$buffy .= do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
http://screencast.com/t/CdtFm4tuWI6 for the top ad
and add the code here for the bottom ad: http://screencast.com/t/ArLMAzh56m
Thank you!
Hello,
If you want to filter specific categories in the ajax filter of the block you can do this using the category id’s placed here: http://screencast.com/t/2rjuDkSl
Thank you!
Hello erwinc,
Please notice that you can set your block filter from the Block Settings to exclude the category if you do not want to show them (sub-categories) you will have to use the exclude function (with ‘-‘ minus ID category ID ‘-47)
For example, I have Fashion category which has 4 subcategories, like this -> http://screencast.com/t/pOTO6Xfsr So, if you want to exclude all of these subcategories, you will have to follow the following steps, like this -> http://screencast.com/t/LsSZ0In0r -> http://screencast.com/t/Sz1eCZXcAd and then, here you should see the results -> http://screencast.com/t/VSb6MDEwiaP2
Hope this helps!
If you refer to something else, please provide more details about this, so I will be able to provide a more accurate response.
Thaks for your understanding!
Hi,
The blocks were not designed to be ‘centralized’ Users request settings for every block in particular as this way you can have more control over your content rather than just copies of the same block.
Thank you!
Hi
You can use a custom css to color the post tiles red, here is an example: http://screencast.com/t/Z3zzAGt4J
.td_block_10 .entry-title a{
color: red;
}
Thanks!
I can’t exclude categories or even specify just the categories I want included. Please help just purchased support.
Hi!
I’d like to make the font red for one of the headlines that I have in block ten.
PlanetFreeWill.com is my site.
You can see under featured stories block then and the head lines. How can I go about highlighting a headline/s red? Is it possible? If I place red font HTML for the headline in the post it only shows on the post page, not the front page of my site in block ten.
Thanks for all the help. I wish the blocks were useful but they are so difficult to use. Too bad, it’s why I bought the NP theme. It’s still a nice theme, but without the blocks, not as much.
I still can’t fathom how they could design something so nice without a nice user interface. They could at least work with menus…that way I could pick and choose all my posts/categories via the menu interface and just have the blocks show what’s in the menus.
Oh well.
Hi,
I tried installing the demo for WhatSay but the I was not able to get the homepage results as showed in the demo.
I am talking about the block with two big thumbnail on top.
Thanks!
Thank you for the info, but I found a workaround. I’ll add this here, for anyone try the same thing.
1. In the “Page” editor, choose “Page builder + page title” template.
2. Choose a featured image and insert text/html content.
3. Publish the page
4. Add “Homepage Post” to the top of the page with Visual Composer.
5. Edit Homepage Post block and set “Post ID filter:” to the id of the current page. Set “Post Type:” to page.(It’s not working if you don’t set post type to page)
6. Publish / Preview page, success.
This way you got very similar template to the style6 in Pages, plus you got breadcrumbs.
Hi
The images displayed on related posts block have a fixed size which can’t be easily changed because block’s layout will be affected. Related article block was intent to display 3 or 5 posts depending by sidebar. To change the image size you’ll need a different value for the post number and also a different module.
Thanks!
Hi Catalin,
Thank you, I created a new page and copied your code into the backend and it fixed the page so the the grid is along the top correctly but now the side bar has disappeared and I cannot get it back….
[vc_row][vc_column el_class="td-ss-row"][td_block_big_grid_3 td_grid_style="td-grid-style-4"][/vc_column][/vc_row][vc_row el_class="td-ss-row"][vc_column width="2/3" el_class="td-ss-row"][td_block_1 custom_title="Block title 1" offset="td-ss -row" ajax_pagination="load_more"][/vc_column][vc_column width="1/3" el_class="td-ss-row"][/vc_column][/vc_row]
Hello infrastructureaustralia.com,
I have checked your shortcode and this is not correct. I saw that you are using the Custom layout for your Visual Composer row, which is wrong if you are using with our theme, like this -> http://screencast.com/t/vnW8DG3kerR
If you want to create a smart sidebar for your homepage, please notice that it should be like so -> http://screencast.com/t/QhwVj7jsTp Please try to create a new page for testing and add the following code on your backend ->
[vc_row el_class="td-ss-row"][vc_column width="2/3"][td_block_1 custom_title="Block title 1" ajax_pagination="load_more"][/vc_column][vc_column width="1/3"][td_block_6 limit="2"][/vc_column][/vc_row]
Hope this helps!
Thanks for your understanding!
Hello paolo7873,
Unfortunately, our theme does not have such an option and for achieving that is needed to do some additional customizations through code.
So, if you want to add the Ads for your top category page, you have to use do_shortcode method with your Custom Ad. The code is -> and this you have to add in your category template core file used by you. Below I gave you an example for category template 1 -> http://screencast.com/t/LOwIThu9 Also, please ensure that you have set your Custom Ad 1 -> http://screencast.com/t/hAfyOSQKxt2 In this way, you have to implement on your website.
Hope this helps!
Than kyu for the message!
Hello jencinas69,
Please notice that you can set your block filter from the Block Settings to exclude the category if you do not want to show them (sub-categories) you will have to use the exclude function (with ‘-‘ minus ID category ID ‘-47)
For example, I have Fashion category which has 4 subcategories, like this -> http://screencast.com/t/pOTO6Xfsr So, if you want to exclude all of these subcategories, you will have to follow the following steps, like this -> http://screencast.com/t/LsSZ0In0r -> http://screencast.com/t/Sz1eCZXcAd and then, here you should see the results -> http://screencast.com/t/VSb6MDEwiaP2
Hope this helps!
Thaks for your understanding!
Hi Bogdan,
Thanks for replying. Im looking to have the big grid across the top of my home page with categories underneath and have the smartbar scroll beside them, this is the code I have:
[vc_row][vc_column][td_block_big_grid_3][td_block_ad_box spot_id="header" spot_title="Advertisment"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][td_block_1 custom_title="Ports" custom_url="http://www.infrastructureaustralia.com/ports" header_color="#eded00" category_id="10" limit="1"][/vc_column][vc_column width="1/3"][td_block_1 custom_title="Construction" custom_url="http://www.infrastructureaustralia.com/construction" header_color="#81d742" category_id="13" limit="1"][/vc_column][vc_column width="1/3" el_class="td-ss-row"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][td_block_1 custom_title="Infrastructure" custom_url="http://www.infrastructureaustralia.com/infrastructure" header_color="#1e73be" category_id="11" limit="1"][/vc_column][vc_column width="1/3"][td_block_1 custom_title="Telecommuncations" custom_url="http://www.infrastructureaustralia.com/telecommuncations" header_color="#dd9933" category_id="6" limit="1"][/vc_column][/vc_row][vc_row el_class="td-ss-row"][vc_column width="1/3"][td_block_1 custom_title="Airports" custom_url="http://www.infrastructureaustralia.com/airports" header_color="#7b7c18" category_id="9" limit="1"][/vc_column][vc_column width="1/3"][td_block_1 custom_title="Rail" custom_url="http://www.infrastructureaustralia.com/rail" header_color="#a5008c" category_id="8" limit="1"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][td_block_1 custom_title="Road" custom_url="http://www.infrastructureaustralia.com/road" header_color="#dd3333" category_id="7" limit="1"][/vc_column][vc_column width="1/3"][td_block_1 custom_title="Utilities" custom_url="http://www.infrastructureaustralia.com/utilities" header_color="#00eaea" category_id="12" limit="1"][/vc_column][/vc_row]
But I would like it to look more like the newspaper demo.
Many thanks!
Hello mhendiz,
Please notice that the WordPress uses, ‘by default’, for each visitor, approximatively 40 requests to the database. So, if you install a basic theme, you will bring approx.60-70 requests and if you are using some plugins, your requests will reach to 100 requests/person. If you are over than 600 users (600*100=60 000 requests) and yet, you will have a problem in this regard and that’s why your CPU are ‘going crazy’. Please keep in mind that this is why cache plugin is needed and we recommend using that, for better results. Also, if you do not want to use some caching plugin for your theme, you will have to try to reduce the number of these requests, using fewer blocks on your pages, deactivating the page view count and ajax page view and also, you will have to use only the plugins which are absolutely necessary for your project. Another alternative in this regard would be that your caching plugin to be active only for your pages if you do not have ads (in case of you have not ads for your all pages). So, you can try to disable the WP-Cron.php if you are not using this or you can set it to work at different intervals. For more information about this case, please consult this links here -> http://www.inmotionhosting.com/support/website/wordpress/disabling-the-wp-cronphp-in-wordpress
Hope this helps!
Thanks for your understanding!
Hello saltoaldia,
I guess that you want to add the link for your each tab and when you will push the tab1, for example, take you in the certain category which you have set it and for tab2, another category and so on, right? Please notice that you must not change that ID ->http://screencast.com/t/LevC5Buz8VU because this is automatically generated by the Visual Composer and it will have to be unique. So, if you want to display another category in your each tab, you will have to set a block for every tab and you can set it by a certain category. Please follow these steps ->
For example -> for Tab1 you can set the block 1 sorted by Fashin category, like this -> http://screencast.com/t/JGT91450Ky2Y and for tab2 you can set the block 2 sorted by Lifestyle, like this -> http://screencast.com/t/2lD1aDXf5
For more information about w3c specification, please check here -> https://wpbakery.atlassian.net/wiki/display/VC/Content+Elements#ContentElements-TabsSection -> http://www.w3schools.com/tags/att_global_id.asp
Thanks for your understanding!
Hi
Yes this can be done via css and this is an example for block 4:
.td_block_4 .td-post-date, .td_block_4 .td-post-author-name span{
display: none;
}
If you want to do it for other blocks just change block’s class, for example for block 2 you will have to use td_block_2.
Thanks!
Hi
That happens because in some situation the same thumb it’s displayed in a bigger container than on desktop. In these situations the image it’s stretched with css and its quality it’s lower.
Try to increase the value of WordPress’s compression following this link: http://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/ then regenerate the thumbnails: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/ and test the site again.
Thanks!
I have several blocks in the home page displaying a main category and then users can change if the want, is there a way to just show the main cat and not the other. Example in the Policiaca remove the other options?
wordpress.diarionoticias.info
Hello, is there anyway i can remove the date under the title of my articles in some blocks that i have in my homepage?
Thank you in advance
I want to have the block categories (I’m not sure I’m using the correct term, they appear in pink on the demo) display in the same manner as they do in the “Say What Demo” (http://demo.tagdiv.com/newspaper_what/).
I cannot find where to adjust this in Newspaper>Theme Panel.
Any ideas on how to access this design option?
Thank you,
Robert
Hi,
Does this also work on Block with infinite load as I like to repeat the same ad for every 5 posts.
And how the code work.
Thank you for your support.