- 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
Hi, I’ve created a new Flex Block and a new Block to grab posts from other blogs inside my multisite installation.
The only thing that I don’t know from your API is where I should put the code that grab the last 5 posts published inside my network.
I could create a simple widget but the solution of your blocks it seems much more coherent with the design of the portal.
Thank you
Hello,
Is there an explanation page like this “https://forum.tagdiv.com/theme-blocks-modules/” for newsmag? For I can see, this one is for newspaper.
Thanks
Thanks for the reply. If I choose the default Post Template as Style 2, how can I figure out what is the recommended thumbnail size used here?
Also, on my homepage, I’m using Big Grid 2. So when I go to Block Settings to reference the resolutions, I notice that Big Grid 2 is references in multiple places with 324 X 160 and 741 X 486. What does this mean?
In a situation where I have a featured image on a post also showing up in the homepage Big Grid 2 and/or Block 11, how do I optimize the single image I am uploading?
Thanks,
Matt
Funny enough I am using a similar demo theme but am not quite sure what’s causing the errors. Could it be the robots.txt which was blocking resources? More importantly, could robots.txt also cause “clickable elements & content wider than screen” problems since I blocked the theme folder from being crawled?
I have used the same plugin and it was working absolutely fine until the 5xx server error cropped up. Also, the problems started only after I altered robots.txt file. Maybe that’s the issue. Might as well use the mobile plugin again though because of faster page load times.
But, could you please confirm my suspicion about robots.txt?
I don’t see that discussion block at the bottom of my Page editing screen
https://ibb.co/y8KfV3H
-
This reply was modified 7 years by
perfectbodymate.
Hi,
The weather widget in that demo contains a customization for displays larger than a certain width, this will make the text lowercase. For example
Desktop – http://prntscr.com/majsao
Mobile – http://prntscr.com/majsho
You could use some CSS to make it capitalize it permanently
– http://prntscr.com/maju1k
This is the code for it, you can enter it in theme panel custom code CSS section
.td-business.home .td-business-home-row .td_block_weather .td-weather-header .td-weather-city {
text-transform: capitalize!important;
}
The issue you are having with the footer is quite unusual. The footer should be same as in the homepage, and how it is in the demo
– https://demo.tagdiv.com/newspaper_business/brexit-would-trigger-economic-and-financial-shock-to-uk/
In your case it looks like the footer section is part of the main content for some reason. Did you make any modification tom the post template files? or maybe enter ad codes in the theme panel (check them if you did, check the tags to be closed properly or test without them). Let me know.
Thanks
@Simion I had to make some changes to my robots.txt file due to the server 5xx-error. But, now I have undone those changes because they were blocking resources. Now, my question is: does the mobile theme plugin lead to “content wider than screen” & “clickable elements are together” problems in Search Console?
Although, I have now switched to the default version of the site but the page loading times on mobile have increased.
P.S: The mobile theme plugin did improve the page speed but does it render the site mobile friendly as well? What would you reckon?
-
This reply was modified 7 years by
Mayank Bhatt.
Hi,
There is an option in the theme panel, block settings – http://prntscr.com/maii9o
Note that if a block header template is set per block in the tagDiv composer
– http://prntscr.com/maij0j
This will have priority over the general theme panel setting.
Thanks
Hi,
All blocks have pagination (but not numbered) in filter.
In order to have breadcrumbs on page you need to set the page template on pagebuilder + page title -> https://www.screencast.com/t/G8jb66QhNqu
Unfortunately the blocks do not have numbered pagination only the post loop , blocks have only the sample pagination -> https://www.screencast.com/t/tijKnnph4pqk
filtered posts by category -> https://www.screencast.com/t/ln6dbqYRuq
Thank you for your understanding!
Hi,
@zeroc00l You could maybe do it in a different way. Use a flex block and customize it the way you want for desktop and for mobile. Most settings are per device
– http://prntscr.com/magzcv
So you can make it look in one way for desktop and in another way on mobile. This way there won’t be a need to hide and replace the block. You could give it a try.
Thanks
If you modified the thumbnail cropping for that size in the code, it will affect future images, not the ones that are already created with the old cropping.
It will require you to regenerate with the plugin for the old thumbnails to be affected
– https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Hi,
Yes, that settings was removed from that block https://www.screencast.com/t/BKsQbcL522 , and was add more blocks, if you want here you can see what features, fix that was implemented in our theme
-> https://www.screencast.com/t/jlM3UUez
-> https://themeforest.net/item/newspaper/5489609?s_rank=1
Thank you for your understanding!
Hi,
You mean in the post content? In the post content you could use the custom ad shortcode to display it, for example
– http://prntscr.com/mag74x
[td_block_ad_box spot_id="custom_ad_1"]
If this is not what you want to do, some more details would be very helpful. Let me know.
Thanks
Hi,
Unfortunately I this are the Gutenberg settings -> https://gogutenberg.com/blocks/image/ and our theme do not change anything to them, sorry.
Thank you for your understanding.
I mean that there is a tag pages like this one: http://dev.wilhard.ru/tag/kak-zarabotat-v-internete/. How can I change its template? I want to add some blocks at the top of a tag page.
Thanks. I read the documentation and tried to create a custom category template. There is no filter there – https://ibb.co/hY3R24n. How can I create a filter for posts in category top post block?
Thank you in advance…
Hi,
That depend on what feature you want on mobile theme.
Please note that the mobile theme is made simple, in this way is faster, so for mobile theme you can use custom css , but if you want to have more blocks/modules or effects please deactivate the mobile theme and use only the theme, also some blocks like flex blocks can be set on each device.
Thank you for your understanding!
is it possible to change the background color of the content area in the theme panel? I have not been able to find this feature. I am able to change the theme background color but then it just puts the pages in a white block. I want to change the background color of the white block. I know I can insert css but im just wondering if there is a setting hidden somewhere.
I have been looking everywhere and I cant find it. is there a place to change BLOCKS header Style sitewide?
Thanks
Chuck
Hi, I’m trying to create a blog page with pagination, filtering, and breadcrumbs.
I tried post loops, but they don’t have the option to filter posts for the specific category.
So I tried block 21, but it doesn’t have numbered pagination and breadcrumbs. What can I do, in order to create the page with numbered pagination, breadcrumbs and filtered posts by category?
Thanks
Hi guyz, I made the change suggested by Simion C. and it works very well, the only problem that I have is that I edit the Homepage as “Unique Articles”, what I have in the end is that if I visit for example the homepage from desktop I have some articles, if I visit the Homepage from Mobile I have others articles that has not been loaded before.
I substitued Block 12 (Desktop, landscape, Tablet) with Block 4 (only Mobile).
I understand the behavior of “Unique Articles” and that what I have is exactly what this setting means BUT how may I go around this?
Thank you!
hi,
thanks. I enabled it and I also checked that the post view is working well but the block still showing the most popular from the year and not the past 7 days!
Thanks, Simon. I was really hoping for the numbered style with ajax pagination. Is there no way to accomplish that? I feel like the numbered style is commonly expected (and easier to see than the small/light Next and Prev, for example), but reloading the whole page and jumping back to the top seems unhelpful. Can I maybe do a child theme and modify? Or is there another solution? The placement of the numbered pagination also seems to suggest it would just operate on the block. If it were operating on the page, it seems like it should be placed centered just above the footer?
Thanks again, Simon! I know everybody has details and features they want. LOL. This is a great theme!
I have added an ad image to Theme Panel/Sidebar ad:
<div class=”td-all-devices”>

</div>
I want the ad image to click to a URL – how can I achieve this? There is no option in [tagDiv] Ad box to add a URL to the image, only to the block title, which I don’t want.
Is there some code I can add to the image above to make the image clickable?
Thanks
MG
Hello from Buenos Aires, Argentina
http://www.laribera.com.ar
I have problem with some blocks,
the blocks moved,
look at the attached image