- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi,
In the most of the cases this problem can be fixed by adding an extra code, please set this code in functions.php -> wp-content/plugins/td-composer/legacy/Newspaper/functions.php
add_action(‘admin_head’,function() {
echo ‘<style>.td-gutenberg-editor .editor-styles-wrapper .wp-block {max-width:726px;}</style>’;
});
Let me know the results!
Thank you!
Hello !
That can be achieved by adding an extra class and hiding / showing the element using CSS. As you can see here I have added a flex block but you can use any element, added the weekend extra class: https://www.screencast.com/t/jhxUUGEG6ow ; And using this code I can hide it or show it whenever I want:
https://www.screencast.com/t/AAtH03H7JKs
The code is: .weekend {
display:none;
}
The code must be inserted here: https://www.screencast.com/t/J1Nxw5s5
When you want to hide it simply set the class to none and when you want to display it set it to block
Thank you !
Hello !
That can be achieved by adding an extra class and hiding / showing the element using CSS. As you can see here I have added a flex block but you can use any element, added the weekend extra class: https://www.screencast.com/t/jhxUUGEG6ow ; And using this code I can hide it or show it whenever I want:
https://www.screencast.com/t/AAtH03H7JKs
The code is: .weekend {
display:none;
}
The code must be inserted here: https://www.screencast.com/t/J1Nxw5s5
When you want to hide it simply set the class to none and when you want to display it set it to block
Thank you !
Hi,
What block are you using? if is a flex block, then the option from layout tab should work -> https://i.imgur.com/upuZGy2.jpg
If this is not what you mean, please let me know!
Thank you!
I tried adding Flex block, but it pushes over layout in the block beneath
https://www.screencast.com/t/1bxIUR0aoG
I was not talking about Flex blocks, I was talking about any new image that I insert in a post. All images that I imported in the library appear with this yellow border, you can see that in this post for example : http://soyons-fous.com/visiter/usa/alaska/peninsule-kenai-homer/
Thank you.
Hello !
For sidebar you can follow our guide here that shows you exactly how to create one: https://www.youtube.com/watch?v=fa7GenCHcBU&t=13s And for the second part I suggest you to use a Flex Block because it is the most customizable block at the moment.
Thank you !
Hi,
Yes, you can do this by setting the category id with “-“, for example -27 https://i.imgur.com/gzqw5iu.png -> https://i.imgur.com/VRgUqil.jpg you can check more in our guide from here, in filter tab -> https://i.imgur.com/0u7E1g7.png
Thanks.
Hi,
The flex block can be edited per view port and you cloud adjust the flex height -> https://i.imgur.com/bkvBzR9.jpg
Hope this will help you!
Thank you!
how do I turn off the contents of a block from displaying on website even though I haven’t deleted and later turn it on to show when I need
for instance I created a block in which I would display football scores on weekends but because there won’t be matches weekdays I would like not to turn on that block weekdays since not necessary, would only do that weekends. how can this be done
Thanks for your quick reply. Yes, the video works, but I’m unable to access it programmatically with the IFrame API. My question is how might I disable the new video support JS that came with the Newspaper X theme. It seems to be using embedly or some other video library like video.js to enable the sticky video and other behaviors. The event listeners for that are blocking out my listeners for youtube events.
To understand how it should work, I’d love it if you could look at this link and click on one of the chapter descriptions below the video. The video will play and queue to a time stamp.
-
This reply was modified 6 years by
mitchtobin.
-
This reply was modified 6 years by
mitchtobin.
Hi,
Now this file is locate on this path -> wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_ad_box.php
Also if you want you can use with tagDiv Composer the ad box and set a code in it
<div style="width: 700px; height: 400px;">
<!-- your add -->
</div>
-> https://i.imgur.com/GGNjMyI.jpg
Also this code can be set in custom ad slot too.
Hope this will help you!
Hi,
1. There is no need to make other pages, all you need to do is to create a category and assign to this category posts.
All categories are using templates. You can use standard templates -> https://forum.tagdiv.com/default-category-settings/ or cloud templates -> https://tagdiv.com/what-is-the-cloud-library/ (cloud templates can be edited with tagDiv Composer)-> https://i.imgur.com/vxN8vG1.png -> https://i.imgur.com/XBAi1be.jpg -> https://i.imgur.com/JvUnlLV.jpg
a) yes, on homepage you can display the articles from all categories.
b) yes, the category page will display only the articles that has assigned that category or are part from a subcategory from main category.
c) the featured category is just a filter that can be use to filter and order the articles, but if you are using standard templates and assign to one post this category, it will be hide(you can do this for any category using a custom css), you can check more in our guide from here -> https://forum.tagdiv.com/featured-posts-2/
d) yes, an article can be part from as many categories you want, there is no limit or restriction.
2. If you are using cloud templates, please try like this -> https://i.imgur.com/XRj95Ae.jpg check if the logo is not set in a small column or inner column from row or inner row -> https://i.imgur.com/JBuAaxN.png in my can I have two option, to change to another layout or change the width in css tab -> https://i.imgur.com/lBVEdr9.jpg after that just change the logo with from here -> https://i.imgur.com/gq3GmWH.jpg or -> https://i.imgur.com/Vf4i9yG.jpg
3. Unfortunately on standard footer template you can not add a link on the About us title, you can add html link only inside the box for that section -> https://i.imgur.com/j4r9Ko8.png ->https://i.imgur.com/xPtwrMa.png or you can use a footer template and and set a custom html in title text area -> https://i.imgur.com/qGz6I7v.png
4. That is big grid full 4 and is made to look like that with a custom css -> https://i.imgur.com/f8lQNIW.jpg but if you installed this demo, then your posts should be already display in this grid on homepage.
5. That is the mega menu with sub-categories, you can create one using our guide from here -> https://forum.tagdiv.com/mega-menu/
6. As long as these block do not have set a filer per category, will be auto populate, but if you want, you can edit the elements that you do not like or you want to display other type of category or sort -> https://forum.tagdiv.com/block-settings-guide/
Hope this will help you!
Thank you!
Hello !
If you are looking to have a fixed post option that can be done by editing the blocks filters as you can see here: https://www.screencast.com/t/9vRS4kGHc2 insert teh post id and only that ID will be rendered. Or you can remove the blocks completely.
Thank you !
Hello !
You can create a category, create a page where you add your flex blocks and all you need, and simply make that page private so only you will be able to see it: https://www.screencast.com/t/L2JgbyK1h
Thank you !
Hello !
Unfortunately on Big grid this option is not possible. We recommend switching to Flex Blocks and Big Flex because they offer more customisatio using tagDiv Composer.
Thank you !
Hello !
Please replace Block 11 with Flex Block. Flex Blocks offer way more customization possibilities using tagDiv Composer. For Block 1 You can edit through theme panel or custom code but that will just make the job harder than working with tagDiv composer.
Thank you !
Hi,
Yes, when you add a block from cloud, this is set in a new row at the bottom of the main content, after that you can use drag the element (or the entire row) and use the scroll from mouse to scroll to top -> https://i.imgur.com/VXyeypN.jpg -> https://i.imgur.com/Q7Ajjo7.jpg -> https://i.imgur.com/a845beV.png
Thank you!
Hi shahinakashhs,
Most of these problems are caused by untested plugins, please make a test and let enable only theme plugins (tagDiv plugins) after that try again to set the block 3.
Let me know the results!
Hi,
So for the second language you have selected too the AJAX CATEGORIES DROPDOWN per block, if is so then it’s should be display correctly.
If there is still a problem, please provide me a link where I can inspect this problem.
Thank you!
Hi fabioweb90, you can use the flex block 1 or 2 -> https://i.imgur.com/d1vOAjD.jpg -> https://i.imgur.com/1mmSCW1.jpg -> https://i.imgur.com/zPcKqmn.jpg -> https://i.imgur.com/E8e02J1.jpg
Hope this will help you!
Hello !
Please use this css code: .td_block_fancy_text .tdm-fancy-title2{
text-shadow: 2px 8px 27px rgba(0,0,0,.5);
}
If you want to edit your shadow edit this number: https://www.screencast.com/t/JT5Ak8ymg
Thank you !
Hi we need to set specific width and heights for custom_ad_1 in Newspaper 10.3.6.1 with our child theme
On our old newspaper 8.8 child theme we customized:
wp-content/themes/Newspaper-child/includes/shortcodes/td_block_ad_box.php
'custom_ad_1' => array (
'm_w' => '700', // big monitor - width
'm_h' => '400', // big monitor - height
'tl_w' => '700', // tablet_landscape width
'tl_h' => '400', // tablet_landscape height
'tp_w' => '600', // tablet_portrait width
'tp_h' => '400', // tablet_portrait height
'p_w' => '320', // phone width
'p_h' => '700' // phone height
),
How can we do the same with Newspaper X 10.3.6.1 child theme?
Thanks
Hi Calin,
1. Can you please conduct the same test for the “title” element, because it isn’t working for us on the homepage. If we select H2 in the tagdiv composer, it shows as H4. We are using the following:
Newspaper Theme version: 10.3.6.1
PHP Version: 7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb
WP version: 5.4.2
2. As for the related posts and side bar posts, we are now using flex block 1 for both. When we select h4 (default) for the tiles, the titles for those element show as h4, but the posts titles still show as h3.
for example, on this post: https://photographycourse.net/types-of-camera-lenses/
the title for the flex block 1 element “related posts” is showing as h4, but the 6 posts that appear under it, show as h3. Is there any way to fix this. The same issue is with the sidebar posts under the heading “must read”.
We do not want to tag any headings to these posts at all. Is there an element that doesn’t mark them all as headings? If not, how can we remove the current h3 from the titles of the related blog posts in the sidebar and in the end of the post.
Please let me know. thanks!
Domien