- 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
- TutorialsDefault Block Settings Guide
- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
Hi team,
We are upgrading Newsmag 3.0 and we have encountered an interesting issue.
Let me tell you what is happening.
We created a new Taxonomy called Lifestyle, and through the VC, the editor can select the type of lifestyle on the listing page.
add_action( ‘admin_init’, array( ‘VisualComposerAddon’, ‘extendLifestyleOptions’ ) );
static public function extendLifestyleOptions() {
// Retrieve all Lifestyle taxonomy
$terms = get_terms( taxonomies\LifestyleTaxonomy::TAXONOMYNAME );
if( !is_wp_error( $terms ) && count( $terms ) > 0 ) {
$dropdown = array(
‘Disabled’ => ‘disabled’,
‘All Lifestyles’ => ‘all’
);
foreach( $terms as $term ) {
$dropdown[“- {$term->name}”] = $term->term_id;
}
// Param to be added
$new_param = array(
‘type’ => ‘dropdown’,
‘heading’ => ‘Filter based on lifestyle’,
‘param_name’ => ‘adv_filtering_lifestyle’,
‘group’ => ‘Filter’,
‘admin_label’ => true,
‘value’ => $dropdown,
‘description’ => __( ‘If selected, will further filter the posts based on the lifestyle.<br/>Select DISABLED to disable the filter.’, ‘vc_extend’ ),
‘save_always’ => true
);
vc_add_param( “td_block_slide”, $new_param);
}
}
We can see the new dropdown being added in the VC. However, during the front-page rendering, the system could not identify “adv_filtering_lifestyle” parameter in shortcode_to_args() function under includes/wp_booster/td_data_source.php
We have never encountered this issue up until Newsmag 2.3.6 – only after upgrading to 3.0, things start to be falling apart.
We do not want to downgrade to 2.3.6 again – as we want to keep up to date.
What possible go wrong. For your information, we have been running a child-theme of Newsmag, and includes/wp_booster/td_data_source.php has been cloned in the child-theme
HI
Note that tags filter from block settings refers only ad default tags from WordPress. If you added a custom taxonomy you can’t use it in block settings to filter posts as the theme don’t have an implementation in this regard.
I this is not what you mean please provide more details about what you’re trying to do and maybe we can help.
Thanks!
I am using block 7 but i would still like it to reduce it because the way our language is writteen, the post titles are always long so i am trying to make the thumbnails smaller. Url is http://www.caasimadda.com, please let me know if you can customize it. I would like to reduce it by 20%. Thanks
Hello, i am using the most updated version of WordPress and Newspaper v7.3 theme. On my homepage i have Big Grid 9, Block 2 and Block 19 being used.
First question, is there a way to remove the author and date tags? As highlight in red in the picture below. Secondly, on “Block 2” is there a way to hide the comment icon? as shown in green. Thanks for your help
Hi,
on this site:
http://cbpeedee.com/
Using the “slide” block at the top of the page. It is only showing one of the posts even though I have it to show 5 posts in the settings and there are more than 5 posts for it to choose from. When someone clicks to advance the slide it just comes up blank.
I did (on a test site) try updating the theme and plugins already but that did not result in any change.
How can I fix this so it will show more than 1 post?
Thanks!
Hmm,
I tried using the “text with title block” as you suggested but it doesn’t seem to want to allow any html in there to make it clickable. If I try to place the div wrapper for the block title in the body, the same, wp removes it. I can only achieve exactly what i have now. However, my apologies for even posting as I needed to just use block 1 and it did what I needed it to. For some dumb reason I thought it was going to display differently.
Thank you anyway, sorry!
Hi Anna,
As I understand it, you want to create your Travel project using our Black version, right? So, please notice that you can do it but first of all, you will have to install this demo or what you want, and I suggest you installing it without content. Please do not confuse the content with the layout because these are two different terms. The layout is the way in which text or pictures are set out on a page and the content is just the text or any other elements which you will have added to your page. Please notice that you can use any demo who like it and then you can add how many categories, posts, blocks, etc you want to your page/website. I will recommend you to install the demo without content because if you will install it with content and you will have to edit all of these posts when you will disable that demo, all of your content will be lost. Otherwise, all of your data will be loaded in the database and your data will be safe.
For more information about installing demos, please check here -> https://forum.tagdiv.com/installing-demos/
I hope that you understand me!
Thanks for your message!
Hello AdamAL,
First of all, please make sure that you are using the latest version of the theme with the latest version of required plugins (Newspaper 7.4 with Visual Composer 4.12.1 and Social Counter 4.1) in order to achieve best results. Also, if you are using some untested plugins, please try to disable all of them, leave just Visual Composer to active, clear all your caches, purge CDN files, clear all your server cache (and if you do not have any access in this regard, please request this to the hosting provider to clear all of these) if you are using the CDN system and install only the plugins that come bundled with the theme and rule out the conflicting plugins.
For your latest problem, please try to regenerate all your thumbnails using this guide -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Hope this helps and let us know how it goes!
Hello,
Unfortunately there is no easy way top do it. You need to define a new thumbnail using this method: https://forum.tagdiv.com/td_api_thumbadd/ and then changing the thumb size for a particular module you want and then modify the css for the block. There is no easy code I can provide, sorry. The theme api system is for advanced users only and is not covered by the theme support.
If you want to remove all excerpts at once you can simply use css to hide them like so:
.td-excerpt{
display:none;}
Thank you!
Hello rfdempsey,
I guess that you want to change a setting that offers you a way to control the order of the posts in Block, right? Please notice that you can set your posts order from Block Settings, from here -> https://forum.tagdiv.com/block-settings-tutorial/
If is not what you mean, please provide more details so I will be able to provide a more accurate response.
Thanks for your understanding!
Hello daemonlynx,
Do you are referring to the order of the posts in Blocks? Please notice that all the types of sorting for your posts you will find in Block Settings, Filter field like this -> http://screencast.com/t/PCSC9yfiyMlz If you want any other type of order, please notice that you should add it through custom work and we cannot provide this type of services at the moment, sorry!
Thanks for your understanding!
Hi uyo,
Unfortunately, our theme does not have such an option for it, sorry! Please notice that if you want to add this setting you should alter the code from the Instagram block and using some coding you can achieve as you wish. So, if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for your understanding!
Hello,
Please use this guide first and regenerate all thumbs: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
If the problem is still there please disable all plugins except visual composer, clear cache and reset cdn files if you use it.
Thank you!
Bogdan B
Hello,
The 7 days post count will start counting from the moment you activate this option: http://screencast.com/t/9ICXxQ7VY, and set it to one of your blocks. Posts will show up if they gain views. If you have it on from 10 days back, all your posts that got views will show up in a ‘most popular’ sorting order.
if you want to have the custom sorting option from this topic you need to create it and then set it to your blocks,. the count will start once you set the new option to a block.
Thank you!
Hello,
You can simply use a text with title block element found in the visual composer elements here: http://screencast.com/t/TUWI2t4y4
Thank you!
HI
The theme use a big variety of thumbs so you can try using blocks which display small thumbs, for example block 7 or block 8: http://demo.tagdiv.com/newsmag/block-7/ – http://demo.tagdiv.com/newsmag/block-8/
Other solution involve changes in theme’s core files and you will need some customizations to achieve the desired rezult. Basically you need to define new thumb sizes and to adjust the layout.
If you still need assistance on this please provide more details about what you’re trying to do and also your site url so I can have a closer look and maybe I can hep.
Thanks!
Hi
Try this css in theme panel > custom code > custom css:
@media (max-width: 768px){
.td-front-end-display-block{
display: none;
}
}
Thanks!
Hello,
If you want to change the article bottom position you have to edit the theme files. First you need to deactivate the ad spot and manually add it in the position you want from the theme files using a do_shortcode function. Here is the code you can use: <?php echo do_shortcode('[td_block_ad_box spot_id="content_bottom"]');?>
You can then place the code in the post files here: http://screencast.com/t/GohSneFoD
Thank you!
Hello,
Did this issue occur before you modified the theme files or it is a result of your coding modification? if it is, you can leave the theme code intact and if you simply want to redirect the author link from modules and blocks you can add it here:
http://screencast.com/t/WVDYZagmhO
Thank you!
Hi Support,
I use the Newspaper Theme 7.3 but when i change option in theme panel as header style, categories setting, block setting, ADS, mobile theme i’ve change option setting and save setting but setting not change.
– header style can’t change
– ADS can’t empty text in text area for insert code
– Modules/Block when switch to on can’t change back to off
– many option on/off setting when switch to on can’t off
– some option setting can change but when i need to change again it’s not work.
i install WP super cache plugin follow by theme document but still same problem
Is there any way i can make the size of the thumbnails on front page blocks smaller. I really want do this if there is anyway? thanks
Hey,
Just one thing, will it start counting views from the time, I activated this option ? Because other settings like Ajax post views count under post setting is and “Use 7 days post sorting” under block setting is already ON for last 10 days.
Also, if it counts the view since it is enabled on the homepage, then how does it show even those 4 posts?
Does “activating this option” mean creating this option or activating it on the homepage?
Anyways, I will wait for it to work well.
Thank you very much for your insightful comment.
@Chris: No issue! Happy to know that you don’t use Mobile theme. Now I will keep using Mobile responsive version of desktop theme in peace till they add some more features to it 🙂
Hello Ing Geek ,
Happy to see you here 🙂
Now I am really upset about my server. Just one month before, I shifted from Hostgator shared hosting to this new Managed WordPress hosting site powered by Google Cloud. I just read that it uses NGINX caching.
(Does it mean I can’t use Apache server based optimization techniques written by Chris> Though the system status under theme panel says it’s CentOS/Apache Server )
In this way, it must be a very powerful and strong platform. But then why is it having ” very large waiting and blocking time on timeline resource”? Is it because I asked them to deactivate all caching from my website?
I have asked a set all the questions raised by Chris above to my hosting provider and now waiting for their reply ( Saturday , Sunday support off) . My server is based in London and they do offer assistance for the modification of PHP variables.
I have also gone through your Spanish optimization code and have noted it down. I am not sure which code I should use but will surely give it a try. ( Sometimes I really think I should be a computer engineer , not electrical )
Let me if you know if you have any other optimization ( or any other ) feedback for my site.
Thank you for your insights.
-
This reply was modified 9 years by
Nano.
You have very large waiting and blocking time on timeline resources. That means your server dont work well or its very small for your site and contents. 😛
Um, if you block wp* in robots.txt then everything in wp-content – including themes css, images, etc. won’t load properly, hence why the “preview” in the Google mobile speed tester shows broken layout.
Even YOAST says not to do this, as it breaks how Google views your pages – as in this case.
https://yoast.com/wordpress-robots-txt-example/
Simply remove the blocks from robots.txt — which you don’t need to do as anybody can still go there — they don’t actually stop anybody from doing anything, from a security point of view.
Google needs to load the “dependencies” for WordPress in order to load the pages — so if it cannot load the mobile CSS, then it can’t actually load the mobile version properly hence the errors.
Have you tried “fetch as Google” in your webmaster tools account to see EXACTLY what Google sees when scanning your page?
e.g.,
https://support.google.com/webmasters/answer/6066468?hl=en
anyway — I’m out on this topic, but hopefully my ramblings have provided some pointers on where to look. 🙂
I would seriously try removing the stuff in your robots.txt file and retry.
-
This reply was modified 9 years by
simchris.