- 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
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hello
On homepage, under a space is under the second menu.
How could we achieve to make it disappear?
I think come from one of the custom CSS (I put all the elements below).
There is an space too big to.
How I achieve to reduce that?
.jpeg)
The Custom CSS:
at http://www.modburyteam.org, I am using block 19 with three images which have a grey graduated overlay. For the life of me I cannot recall when I go to change this.
Can you point me in the right direction please?
Thanks and apologies for being so dim that i cannot find this
Alex
Hi
Soon after updating to Newspaper v7.8, the ClamAV Virus Scanner has flagged the files below as Malware. Could you please urgently advise on what to do.
Should I Quarantine, Destroy or Ignore????
Thanks
public_html/wp-content/themes/Newspaper/style.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/editor-style.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/mobile/style.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/mobile/includes/less_files/type.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/mobile/includes/less_files/video-playlists.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/panel/color_picker.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/panel/box.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/external/ace/ace.js Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/inc/original.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/inc/solarized.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/inc/solarized-dark.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/less/original.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/less/solarized-dark.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/less/solarized.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/header-style.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/header.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/type.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/block-templates.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/video-playlists.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/plugins/js_composer.zip Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/plugins/js_composer/assets/lib/bower/ace-builds/src-min-noconflict/theme-chrome.js Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/plugins/js_composer/assets/lib/bower/ace-builds/src-min-noconflict/ace.js Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
Hi,
Please try this code, just enter it in Theme panel->Custom Css, with this result – https://www.screencast.com/t/zbGwVDhb
@media (max-width: 767px) {
.td-scroll-up {
display: block!important;
}}
Thanks
Hello ipcs,
Unfortunately, you cannot change the structure for our blocks/modules, sorry! Please consult our demo preview here -> https://demo.tagdiv.com/newspaper/block-1/ and there you can see how our blocks can be displayed in different cases. If you want to make some changes regarding on theme layout and 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!
Thanks for your understanding!
Hello,
But the page you mention is not a category. It is a static page. If you want to hide the meta information of a category in blocks that appear in pages and not in the category template, you will have to alter the theme code and wrap the meta information in a function that checks for the category the post is in. This has to be done on each module in particular as the meta information is added in particular for each module:
<?php if ( in_category('fruit') ) {} ?>
You can wrap the meta info iun the function like so: https://www.screencast.com/t/70VNFtLR
Thank you!
Hello,
In order to get the time and date to show up you must add a date format like so in the custom date format:
F j, Y g:i a
Then the date will show up in your blocks and posts.
Thank you!
@Bogdan, its just pretty simple to reproduce.
In the general options of any block using Visual Composer the stretch options dont work. It keeps the block/module/grid boxed within the body of the page.
To give you a better idea, check the black stretched block at the middel of the demo.
https://demo.tagdiv.com/newspaper_medicine/
Before, I just set the stretch option. No big deal. Now I have to use the border options to achieve kind of the same look.
Hello,
The adsense code will not work like that in a php file. If you want to place an ad in a custom spot, you will have to use the do_shortcode function
Please insert the ad code in a custom ad spot in the theme panel eg: custom ad 1, and then create a blank page from wordpress. Add an ADBOX element to the page and access classic mode in visual composer so you have access to the tiny mce editor and you can see the sortcodes on that page. The copy the shortcode. it should look like:
[td_block_ad_box spot_id="custom_ad_1"]
Then you can add that shortcode in a do_shortcode function like so:
<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Then you add it to the footer style you use: https://www.screencast.com/t/uyNUuKtG6G
I hope this helps.
Thank you!
<div>
<span class=”td-adspot-title”>Advertisment</span>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– Girlterest Middle –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-x”
data-ad-slot=”x”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
Hello 15temmuzsehitlerkoprusu,
Unfortunately, I do not exactly understand what you mean, sorry! Do you are referring to the Category Tags? If you want to hide all of the theme to our modules/blocks, you should check the Theme panel and turn off from there the Category Tags, like this -> https://www.screencast.com/t/uPCBqj0l8 For more information about our Categories, please check here -> https://forum.tagdiv.com/newsmag-category-templates/
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!
Hi,
I don’t want to display the articles in two columns format but display one by one only. Please let me know how to do so.
http://scotomastudio.com/commentaries-2/
Hi Catalin,
Thank you for your answer! I mean is if i can change for example from grid 1 to grid 2 without loosing all the settings?
Its seems that i cant and if i want to change grid or block style on my pages i need to make a new one and configure all the setting over again. Is this correct?
Hello,
I’ve just updated to Newspaper 7.8 and the accompanying Visual Builder. Unfortunately, the update doesn’t seem to have solved an issue I reported previously, namely – I’m not able to make changes to pages.
For instance, there’s a Pure HTML block that I want to replace with a WP Text block. Regardless of how many times I click Preview or Save, the old Pure HTML block still remains.
The caching plugin is disabled and CloudFlare is switched to development at the time of these changes.
Would you be able to please help me?
Thank you!
Hi,
You can try this solution: https://forum.tagdiv.com/topic/small-author-image-just-before-the-author-name-after-the-title-of-the-post/page/2/.
It will only work for posts though. On pages using our theme blocks and modules, this will not work.
Thank you!
Look at the top section on my page. You see three pictures. How do I get a border around it in a color I choose?
I have tried as the edge shows only below. Thank you
Ignore this, resolved.
For anyone else, example: edit /parts/header/ads.php
This would make the header ad not appear on posts with the category slug ‘news’.
<?php
if (!in_category(‘news’))
{
?>
<div class=”td-header-rec-wrap”>
<?php
$tds_header_ad_title = td_util::get_option(‘tds_header_title’);
// show the header ad spot
echo td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘header’, ‘spot_title’ => $tds_header_ad_title)); ?>
</div>
<?php
}
?>
Thanks – I actually just figured it out… had to hide the date in Block Settings. Thanks!
But the update also messes the VC block with stretch row desing, it doesnt work anymore, its always boxed.
Hi,
It seems that the ajax request is being blocked – https://www.screencast.com/t/W63FmaM962Ky Please try to deactivate all your plugins except Visual composer to rule out any plugin interference, clear the cache and check again. Also check any modifications you might have made to the theme files, and deactivate the child theme if you use one.
Thanks
Hello,
The 2 elements you mention are found in the block settings: https://forum.tagdiv.com/block-settings-guide/
number 1 is controlled from the FILTER tab
number 2 is controlled by the AJAX FILTER tab
Thank you!
Hi Bogdan yes I know how to set this up
As you can see in this screenshot, that how the block is configurated
http://prntscr.com/emzokg
However, the category filter aboslutely does not work and does not filter anything, the block just returns site-wide results.
Hello,
Sorry but the big grids cannot be set to show a preferred number of posts like standard blocks do. The grids have a fixed layout and they need the number of posts that were intended for it in order to display properly.
It can only be doe by recreating the big rid layout which is no simple task. It easier to just pick another grid that suits your project better.
Thank you!
Hello,
The category filtering is done through the block settings. Please use this guide to filter your blocks based on the category: https://forum.tagdiv.com/block-settings-guide/
Thank you!
Hi,
I see that you have a demo installed. That particular demo has no meta for the modules by default. This can be seen in the demo – https://demo.tagdiv.com/newspaper_what/ What you can do in order for the date to display, is to use this code – https://www.screencast.com/t/s5D6ly7zk then the date will be displayed.
Here is the code used, please enter it in Theme panel->Custom Css
.td-what
.td_module_wrap
.td-post-date {
display: block;
}
Thank you for understanding!