- 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,
I feel like I have tried everything to get this to work. I have the following settings enabled:
Post Settings > Post and Custom Post Types > Show Categories Tags
Block Settings > Category tag on Modules/Blocks
CPT & Taxonomy > My Custom Post Type > Category Spot Taxonomy Set to Categories
And the categories still aren’t displaying in the Big Grid Flex 4 box. They display for default post types, but not for any of my custom post types. The category displays at the top of the page and the breadcrumbs are correct when you navigate into the custom post via the flex box; however, no tags are displaying on the front page.
Is there another option I am missing?
Thanks for your awesome support,
Alexander McIndoe
Hello,
I am very pleased with this NewsPaper theme.
This is my website: https://www.eyesonnj.org/
I want to make my site look like this site: http://paintorthread.com/ with the dark grey backdrop and
imitate the rounded article blocks and drop shadow observed on this blog: https://selfhacked.com/
Please advise.
Not able to see so many Google fonts in the block style lists. For example DM Serif Display
Hello !
You can edit the blocks option for fonts from here the block directly by using the tagDiv Composer: https://www.screencast.com/t/A45d0pVcOA
Thank you !
So you want to do this for category pages and post pages. I can provide a code to remove the Instagram section from the sidebar on mobile, I could also remove a post from those two blocks (the third module). The sidebar will look like this on mobile
– https://prnt.sc/omeysl
The code will apply to all category pages and post pages on mobile. It can be entered in the Theme panel->Custom code->CSS section
@media(max-width: 767px){
.category .td-main-sidebar .td_block_instagram,
.single .td-main-sidebar .td_block_instagram,
.category .td-main-sidebar .td_block_15 .td-cust-row:nth-child(2),
.category .td-main-sidebar .td_block_15 .td-cust-row:nth-child(2) {
display: none;
}}
I can modify it if needed. Let me know.
Hi,
Using block 23, i am unable to change fonts styles for excerpt and read more button. I think post title too. I am hacking the css for now
.td-excerpt {
color: black !important;
font-size: 1.32rem !important;
line-height: 1.48 !important;
font-weight: 400 !important;
}
Please advice.
I want to create a block that will be like this: https://prnt.sc/omeide, and when I will write a post I will have the option to add it to my post with the possibility to edit the text and the icons. It’s possible to do something like that?
I will have multi-page with this block and I don’t want to create it over and over again.
I have added this code – .white-popup-block {
display: none;
}.
It is ok now, and if i will try this forum again if there is a problem.
Thank you for the help.
Here is what I am asking
http://www.paddlingtrailssouthaustralia.org.au/help.jpg
Torrens island is how I want it to show (2 categories)
Swan creek Alley is how it is now (only 1)
each trail has a location and a time to allow as a category.
I want to show this in each block.
Hello !
“two category tags on a Flex block?”
I understood that you want to have 2 categories displayed in 1 block. For that you will have to edit the filters and in the Multiple categories filter from the picture above add the categories like this example: Fashion, Featured, etc..
Let me know if this was helpfull !
Thank you !
Hi,
1)Unfortunately, the theme does not have any such an option that allows you to change the height for that Slide element, sorry! Another alternative, in this case, would be to use the banner images for this element which has a lower height size because that block uses the auto height functionality. Also, if you want to have a slider with more options you can try using a plugin with this functionality or try to use the Revolution Slider which is a more complex plugin with a lot of features.
2)You should use the Flex Block and customize it to looks like Block 7 because using this you have an option that allows you to enabled or disable the author field, like this -> https://www.screencast.com/t/EKpcOjmdk
3)Unfortunately, the theme does not have included the Flex Block inside the Widgets section, sorry! You can use the Flex Block on the sidebar if you are using the TD Composer and split the row into 2 columns. Another Alternative in this case, if you want to include the Flex Block in Widgets section, you can create and customize it into a page and then, take the code from there and add it inside a text with title element from the Widgets section, like this -> https://www.screencast.com/t/QZ7JdK2W7d
Hope this helps!
Thank you!
Hi,
The title line spacing can be reduced by changing the line-height, for example
– https://prnt.sc/ombguv (default is 21px)
.td_block_10 .td_module_9 .item-details {
line-height: 15px;
}
The space below the tags is there because by a margin. Where tags appear usually (in the post page) there is a margin. This margin applies now in the module, but it can be removed
– https://prnt.sc/ombln2
.td_block_10 .td_module_9 .td-tags {
margin: 0;
}
To make the text grey, as it is now, you could do this – https://prnt.sc/ombqyz
.td_block_10 .td_module_9 .news_details,
.td_block_10 .td_module_9 .news_details > a {
color: grey;
}
Adding a margin between the title and date is possible for some modules, the ones that have a link for the title, as then you can target the link and add the margin or padding
– https://prnt.sc/ombs6l
But the ones with no link contain just text, there is no HTML to target
– https://prnt.sc/ombsl0
.td_block_10 .td_module_9 .news_details > a {
margin-right: 10px;
}
For the country to be in a new line it would have to be set in the code itself, or with CSS. With CSS it cannot be targeted as it currently is – https://prnt.sc/ombtfu
There isn’t a CSS code to target specific characters from a text that aren’t part of a container, and place them in a new line.
Maybe you can add containers for the displayed data, so they can be targeted better. Let me know.
Thanks
Hi,
Yes, you can show the whatsapp on desktop, all you need to do is to add a custom css
http://prntscr.com/ombasi
.td-social-whatsapp {
display: inline-block;
}
The code need to be set in Theme panel>Custom code>Custom css.
Hope this is what you need!
Thanks.
Hi,
I was wondering if it is possible to have two category tags on a Flex block?
Thanks
Jason
I’m getting the below message whenever im opening my site.
‘Weather widgetApi key is empty. Configure this block/widget and enter an api key :)’
do you have any solution for this,i’m not finding any api key im my docs.
Hi Calin,
Thanks for getting back to me. So, this can only be done via tagDiv Composer, is that correct?
I have some pages built using the standard WP Blocks Editor, presumably I can target those pages and simply hide the elements using the following code, or would this cause problems?
.tdc-header-wrap {
display: none;
}
.td-crumb-container {
display: none;
}
.td-page-header {
display: none;
}
Many thanks!
Hi Simeon
I trust you are well. I’ve done some more work.
Effectively what this does now is turn module 9 (I moved it from 8) into a kind of news, or other type, listing that is designed to feature aggregated content from other sites – so that when the headline is clicked it takes the viewer to another browser.
In the new version I have added Tags to the type where the content is driven by posts that have a certain category and tags attached (using this post) and deleting the Tag labelling from the td_module.php file.
When the content displayed is driven just by a category, I made the media outlet name a dynamic link that when cliked would also take the viewer to the main home page in a new window (as I am sure you know, this is a common feature of news aggregation services).
Whilst I have cracked the CSS a little I am still not strong enough to resolve all my needs. As an example I took the title field outside of the standard TagDiv placement to get the external URL to work. If I left it where it was it was adopting the a.link class from higher up but I couldnt see where. Obviously, this means any settings made to Block 10 style in the normal editor won’t work – which isn’t ideal.
Also, I think I over-complicated the CSS. My additions are –
/* Adds line under each story */
.td_block_10 .td_module_9 {text-align: left; border-bottom: 0.5px solid #d3d3d3; padding: 0 0 0.5em 0; margin: 0 0 0.5em 0;}
/* headline link details */
.item-details a:link {
font-family:Open Sans;
color:#000000;
font-size:13px;
font-weight:700;
}
a:hover {
color:#459fd3;
}
a:visited {
color:#336980;
}
/* Sets width of box header */
.td-pulldown-size {width: 100px;}
/*sets font style for news details */
.news_details {font-family:Open Sans;
color:#000000;
font-size:11px;
font-weight:600;
padding-bottom: 3px;
}
a:link {
font-family:Open Sans;
color:#000000;
font-size:11px;
font-weight:600;
}
a:visited {
color:#459fd3;
}
In this image you will see the two options along with the issues I can’t fix, https://prnt.sc/om3yp8,
Any help you can give with the CSS would be appreciated.
I am more than happy to then create a clean post for the community, with the code and an explanation of each ACF field etc – and reference the new post at the end of this chain.
I am just experimenting with design options across the entire site at the moment but if you go here, (p/w: he768ijKllmnhp). If you need admin access let me know.
Thanks in advance.
Best wishes
Gary
Hi there, i have some config issues, can u help me please?
1 – How can i change the “slide” block height? Even with CSS? I want the image to be horizontal and not vertical.
2 – I want to show AUTHORS in just ONE block type, block 7 in this case. How can I do this?
3 – I want to use flex blocks at the widget area, is that possible?
Hi,
Please activate the thumbs for those blocks in Theme panel > Blocks Settings> Thumbs on modules/Blocks the thumbs that you’ll need to enable is 741×486
https://forum.tagdiv.com/newsmag-theme-thumbs/
Thank you!
Hi,
On http://www.mondeoz.com my block titles (BONS PLANS VOYAGE, INSPIRATION, INSOLITE…) are H4 at the moment.
I want them to be H2.
How can I do that?
Thanks
Ok thank you for your answer.
I’ve came up with possible workaround.
I have registered a Custom Post Type and I can use filter in block by entering this newly created Custom Post Type.
But I have a different problem now, template for CPT wont kick in, it falls back to single.php
Does your theme somehow overides hierarchy in WP?
Hi,
1. Please check these guides – https://www.wpbeginner.com/beginners-guide/how-to-add-new-users-and-authors-to-your-wordpress-blog/
– https://www.wpbeginner.com/plugins/how-to-add-an-authors-photo-in-wordpress/
2. The theme provides 17 block header styles – https://demo.tagdiv.com/newspaper/block-header-1/
You can choose one in general in the theme panel – https://prnt.sc/olve2b
Also there are options per block/element in the composer – https://prnt.sc/olvera
The setting in the composer will override the setting in the theme panel. So for example if I set in the theme panel block header style 2 – https://prnt.sc/olvfhy and a different one in the composer for specific blocks/elements, the one from the composer will apply
– https://prnt.sc/olvg0h
3. Those are different things, the settings that the composer has for the single image element can’t be used for images inside the post content if that is what you mean. If I misunderstand let me know.
4. Can’t say which plugin to use exactly, most membership plugins offer content restriction as far as I know. try some free plugins if possible, and check how they work and if they have the options you require – https://justlearnwp.com/most-popular-best-free-wordpress-membership-plugins/
5. That would be up to the membership plugin, if it has a content restriction it must have options to remove the restriction based on an action. If it can do it based on an user having paid the subscription, then it is possible.
The sign in/join allows users to log in the website. The theme ads a modal window as design – https://prnt.sc/olvr8t but the functionality is the same as the default WordPress login screen – https://prnt.sc/olvruf
Membership plugins may have their own login that maybe has to be used.
Thanks
Hi,
So you chose to use the categories/tags list -> http://prntscr.com/oluq3f please notis that if you hover the name of the element will be show a description if you can use the “-” http://prntscr.com/olur8l element to remove the categories, if there is no description as in this case you can only set ids, you can not remove them.
First make sure that those elements from sidebar are from widgets and are not set using tagDiv Composer.
Please provide me a some screenshots and a link where I can identity those blocks; in this way I will be able to provide you the right answer.
Thank you for your understanding!
How can I put the comments after the end of the post in mobile theme, before related posts? How can I inject ad block after comments before related post.
Hi Simion,
1. Would you please tell me to edit the picture in the Author site wide, and individually, and how to add additional authors? As the site only bools from Administrator author only.
2. In the Column Text Element, there is Block Header 17, Used in Static pages, how do I use that for Posts via individual and site wide?
3. In the Single Image Element, there is 3Dshadow that I used for still images on static pages. How can I used that on post pictures?
4. Is there a plugin that works well with Newspaper 9 to restricts content or user based on 1 article, 5, or even half or portion of a article?
5. I chose MailChimp with Newspaper 9, after someone subscribes to my newsletter, and I want their access to limit to the articles based on number of articles views or a portion, once that restriction is set, how does the system within Newspaper 9, and or the Plugin recognize and allow users who have paid a subscription? I see in the theme there is Join or Sign in, is that the only way? Please send links with pictures, and with explanation.
Simion, I really appreciate if you answer these questions yourself, as I found your answers very detailed and easy to understand.
Thank you Simion.
Best,
Cyrus
Thank you,
Cyrus