- 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
Thank you Simion, this was helpful.
I understand now that blocks are containers for modules.
It appears however that I’m only allowed to select predefined blocks (via shortcodes) that already contain modules. Is there another way to add a singular module to my page?
Hello rahimvaziri,
Yes, this is the process for featured images uploaded. The theme will resize all the images according to your thumbs sizes needed for your blocks used. If you will use an image in content, without thumbs the theme will take it and load it with the original size.
Thanks for your understanding!
COMMUNITY:
The below URL explains the relationship between blocks and modules.
https://forum.tagdiv.com/theme-blocks-modules/
Hi,
There are many modules that feature a Read more button
– https://demo.tagdiv.com/newspaper/category/module-11-layout/
– https://demo.tagdiv.com/newspaper/category/module-12-layout/
– https://demo.tagdiv.com/newspaper/category/module-13-layout/
– https://demo.tagdiv.com/newspaper/category/module-14-layout/
– https://demo.tagdiv.com/newspaper/category/module-17-layout/
– https://demo.tagdiv.com/newspaper/category/module-18-layout/
– https://demo.tagdiv.com/newspaper/category/module-19-layout/
You can use any of these modules in the possible location, regardless of demo installed. The same modules are also contained in blocks, you can see all of theme here (use selection to switch block type)
– https://demo.tagdiv.com/newspaper/block-1/
Thanks
Fix your robots.txt file to not block your site?
This is explained in the theme docs. Modules are a group of blocks. See the link to theme docs and peruse the sections to learn all this stuff. Ton of info there ??
I have tried seven browsers and they all report the td-weather in Newspaper 8 is running insecure scripts and they are blocked. I found that openweather has mixed content and a png on their website is to blame. I went to the website “whynopadlock.com” and scanned the http://www.openweather.org website and the report says they have insecure content located at “www.openweather.org/img/glyphicons-halflings.png” I tried to inform them of this problem but they have no replied in over 4 days! Please get this fixed my website is waiting to go live.
Hi guys,
I have created a custom post type and enabled the “Categories (WP Core)” taxonomy.
I can create posts and they will display in block widgets if I add my post type (under the correct categories). They don’t, however, show up on the category pages.
Do you know how I can get this working?
It might be better to setup the archive page for the custom post type. E.g. mydomain.com/POSTYPE
Is there a way to modify this archive page to use a category template?
Thanks
There’s modules everywhere in the theme and I’m not quite sure what they are.
I presume they’re excerpts from templates, but they’re not labeled this way (as blocks are).
Also, there are 25 styles of blocks when I attempt to add a new element, but only 17 block headers in the theme settings. Why?
Also, there are modules 1-19 and modules MX1-MX26. What are these?
Could you clarify the difference and how they’re used?
Hi,
We are encountering a problem with the 7 days popular posts.
We set up the theme as showing for 7 days, where we modified the block- (use 7 day post sorting, enabled) and the post settings (ajax view count, enabled) for displaying it for 7 days. We dumped the complete cache of the site (w3 total cache), but when we reload the website, the site doesn’t display any posts at all in the block where we have the popular posts displayed.
When we switch it to all time, it does.
We havent used custom code in the site and the site runs on the main (not on child)
Any hints on where to find this issue?
Hi Catalin! Thanks for the response.
As you can see in the screenshot attached to the initial post, I’m trying to figure out how to set the Newspaper Theme Panel tabs text back to white so they are visible.
I am not looking for a setting that affects the public site but a setting that affects the Newspaper theme panel.
These are the tabs on the Theme Panel with the text in question:
Header,
Footer,
Ads,
Template Settings,
Categories,
Post Settings,
Block Settings,
Background,
Excerpts,
Translations,
Theme Colors,
Theme Fonts,
Custom Code,
Analytics,
Social Networks,
CPT & Taxonomy,
Import/Export
I don’t know what I did that changed this text from white to black and I can’t find the setting to correct it.
Your help is appreciated.
Hi,
@pankaj221 You can create pages using the elements you like. There are text elements that you can use as well if you want to write content on pages
– https://www.screencast.com/t/eIJDM7Ief2
On pages you can use text elements, blocks, grids etc. These are all the available blocks and grids
– https://demo.tagdiv.com/newspaper/block-1/
– https://demo.tagdiv.com/newspaper/big-grid-1/
– https://demo.tagdiv.com/newspaper/full-big-grid-1/
Thanks
Hello Gavin,
Sorry but the theme does not have any such an option that allows you to limit displaying the authors to three. You should check the core files and implement there this limit. The core file where this feature is created is td_block_authors.php like this -> https://www.screencast.com/t/LCdwDPUP
Hope this helps!
Thanks for your understanding!
Hi,
Please note that we do not work on weekends, sorry about the delay. The support hours can be seen in the top right of the topic page. If you would like to define a new block, check these tutorials
– https://forum.tagdiv.com/api-blocks-introduction/
There is an example as well
– https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
All the blocks are located in the shortcodes folder here
– https://www.screencast.com/t/WXU3ZNlHM3Eb
Thanks
Hello rahimvaziri,
Sorry, but notice that our theme has not been tested with this such a plugin and we cannot say for sure if it will work or not with the theme! We do not have any max height and width. To achieve good theme results, you should use full HD images because the theme will automatically resize the images according to the block used by you. Here -> https://www.screencast.com/t/ztGAgohOF you can see the list of thumbs sizes which the theme uses.
Hope this helps!
Thanks for your understanding!
Hi,
1. You could use block 8 which displays the thumbnails to the right
– https://demo.tagdiv.com/newspaper/block-8/
So you can place a block 2 limited to 1 module, and block 8 below it, producing the result needed
– https://www.screencast.com/t/isWabx7qc
Or use a code like this to modify block 2 with some CSS
– https://www.screencast.com/t/94vPVuqheJs
.td_block_2 .td_module_6 .td-module-thumb {
right:0;
left: auto;
}
.td_block_2 .td_module_6 .item-details {
margin-right: 116px;
margin-left: 0;
}
The theme does not have a clock icon like the one from the screenshot. That is probably achieved through a plugin, or modifications to the theme modules. You can see what information modules can display by editing one of them
– https://www.screencast.com/t/HkaFGVDSOZy
2. The code to modify this block is like this, it will switch the thumbnails and meta positions
– https://www.screencast.com/t/F5vzlreXJQ
.td_block_1 .td_module_6 .td-module-thumb {
right:0;
left: auto;
}
.td_block_1 .td_module_6 .item-details {
margin-right: 116px;
margin-left: 0;
}
Thanks
Hi,
The plugin is required if you want to create a static page and use tagdiv blocks – https://forum.tagdiv.com/homepage-how-to-build-and-set-it/ – https://forum.tagdiv.com/tagdiv-composer-tutorial/
Thanks!
Hi,
A background image can be set for each category, in the Per category settings
– https://forum.tagdiv.com/newsmag-how-category-settings-work/
But for setting a header image on the category page there is no option at the moment. That could only be done by maybe modifying the category templates and inserting the images there. Or maybe place them with some CSS.
On blocks and modules the categories will be represented by a category tag, not image
– https://forum.tagdiv.com/newsmag-category-tag-on-modulesblocks/
Thanks
dear,
following warning appeard around 10 days ago on the main page of our website.What isteh reason of it and how can I solve this problem?
Warning: A non-numeric value encountered in /home3/wab66g0abgcu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 352
thanks
tolga
We have four categories that we use for our blog posts – we have designed an image for each one. I would like to add a header image for each category on their individual template and on the home page when using the blocks. is this possible?
your advertising is displayed well and opens your site in a new window ==> http://www.responsimulator.com/?url=theinterpress.com%2Fnewsite
this address simulates the browser of an iphone.
maybe that your phone uses an advertising blocker
Hi. I have a problem defining new query for a custom block. It doesn’t have to be customizable from block or widget. Anyone can help?
yes i fixed robots.txt,resubmitted sitemap,i deactivated yoast SEO but still the main page is blocked,i am not sure how to fix this google search results also says it is blocked by robots.txt .
https://www.google.ae/search?q=partydubai.ae&oq=partydubai.ae&gs_l=psy-ab.3..35i39k1.12593.12965.0.13164.3.3.0.0.0.0.192.192.0j1.1.0….0…1.1.64.psy-ab..2.1.191….0.g6OD2pLPGQE
Good afternoon people…
I built my site using the travel blog theme, but something strange happened.
It does not index the pages for the search engines according to the yoast plugin.
The mistake I noticed is that it does not put the title tag on the pages. Looking at wordpress I came to the conclusion that something is blocking the function title, or it does not have this function. Can you help me?
thank you
Hello tagdiv team 🙂
I need some help…. I want to change the 2 block view.
1- I want use must read block style in my homepage. ( https://cdn.pbrd.co/images/GORYWvZ.png ) how i add this block style? And i want 2 change this style. I want to take the news photos to the right and i want add clock icon next to history. For example: https://cdn.pbrd.co/images/GOS16we.png
2- I want some change block 1 style. (https://cdn.pbrd.co/images/GOS1ZRR.png) I want to take the news photos to the right and i want add clock icon next to history. For example: https://cdn.pbrd.co/images/GOS2gZG.png
Can you help me 🙁 ?