- 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
You need to enable the category tags for each module used on pages. The options for this tags can be found in theme panel > block settings > category tags on modules and blocks: http://screencast.com/t/gyke7N9c
Thanks!
Hello. I would like to know how to add the Adsense Related Content block just before the footer.
Thank you.
Currently my Newspaper theme shows truncated article names (…. after a certain length) in “Latest Article”, “Most Popular” and “Hot News” tabs whereas other blocks show full article names. I want to display full article names in “Latest Article”, “Most Popular” and “Hot News” tabs too. How can I edit this setting?
How i change the arrow color that do next and back on the blocks
Its very unseen if its white
Thanks
Hello, I have this order:
– block 18 (1post)
– block 2 (2 posts)
– block 2 (2 posts)
– block 2 (2 posts)*
– block 1 (5 posts)*
I want to remove a category from the last two blocks*, I just want to display the category on first 5 post, and then to be filtered. I checked the number of posts and it´s correct. If I don´t introduce “the category filtered”, everything works great, but when I filter the category, I lose some posts.
Thanks
Yes, that is what I mean, but now the text on the main page under “tasty vegan recipes” is really large – that module is Block 13 – how do I go about getting that text smaller?
Thanks!
Hello,
thanks for your reply.
i guess you misunderstood the question though.
what i want is to grab the text for the excerpts (in the various blocks) from the subtitle (since that is obviously a teaser-text)
could you provide me with the name of the file that handles the excerpts please?
thanks a lot, cheers!
Css file had error in uploading.. now height has been decreased but content and block height is same..
how can i deacrease height of whole block.
below is the site url.. it will ask authentication
http://exploreheritage.in/
auth
user: admin
pwd: tomcat1984
Hello
I am trying to set a filter for an specific category. When I choose a filter, I realize that some posts don´t appear on homepage, (the filter category and other ones too). I have some blocks, first a block 18 and then some blocks 2, using offset post.
Thanks
how to hidden topbar?
<script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>
Hello,
the post excerpt (as shown in various blocks) is currently taken from the post body.
since I’m using the subtitle to display a teaser-text (which is obviously not being repeated in the post body) I would also like the excerpt to read the subtitle.
So my thoughts are
either to tell the theme to read the excerpt from the table/field of the post body
which I don’t imagine to be too difficult if I knew which file to adjust according to the excerpt
or to tell those blocks to display the subtitle instead of the excerpts
which i assume is more complicated while there are more blocks and settings to adjust in various files
any advice or help on what to do (exactly) is highly appreciated!
thanks and cheers!
V.
Wow, That is a whole lot of questions in one!
1) Unfortunately the latest articles cannot stretch to the whole width as they are not visual composer elements. There is no easy way to do it.
2) You cannot get the footer ad outside the footer. You will need to place the add in every post template, category template or page as the footer ad is meant to stay in the footer. It cannot create the necessary space for it in every other template that displays above it. If you want this custopmization you have a bit of work to do as you need to use this code:
Then place an ad in the custom ad 1 spot and then use it in every post template you use: http://screencast.com/t/pxohXgHczwym (these are in the root directory), the category pages: http://screencast.com/t/zgs5t556 , search results, and any other content you have on your site.
As you can see it’s not that easy.
3)You cannot add borders to the big grid as borders will increase the width with a few pixels and the grid depends on it’s fixed width. The layout will break if I add borders with css to it.
4)Please follow this topic to see how this issue can be resolved: https://forum.tagdiv.com/topic/chinese-social-icons/
5) a)It’s best to hide the section altogether and simply upload a mobile logo from the theme panel as there is no point in having 2 logos :
@media (max-width:767px){
.td-header-sp-recs{
display:none!important;
}
}
b) same issue as answer 4
Thanks.
Hello Aldemi,
Please keep in mind that this is the theme design and if you want to change this, you have to do some additional customization to alter the general CSS code that applies in this regard. As I have explained you above, these modifications depend on what kinds of blocks you are using and also, can cause any damage of the site. Below I gave you a general custom CSS code which can be used in all cases (partial 2, 3). If you want to change the other spaces 1,2 depends on what kind of block you are using because it is not a general code for this. Also, please notice that we do not recommend to change the spaces numbering by you with 1 because the layout of the theme could be damaged.
The code is ->
.td_block_wrap{
padding-bottom: 20px;
}
.td_block_wrap .td-next-prev-wrap, .td_block_wrap .td-load-more-wrap {
margin-bottom: 2px;
}
Thank you for your understanding!
Hi,
You can achieve that in visual composer as all the block elements can be simulated on a page. Unfortunately you cannot replicate the category template style (the top part) that includes the category tags and the ‘latest’ dropdown. That part is created specifically for category archives.
Thank you!
Hi Support,
I added a slide show using WP Text, but the gap between the slide and the next Block was too wide than the normal row gap on the theme.
please how do i make the gap look uniform with all other the site.
this is my site http://teamreporters.com/
and this is the screenshot of the gap am talking http://www.screencast.com/t/iKyCnzAsjW
Hi,
the best way to insert ads through the php files is the do_shortcode function: https://developer.wordpress.org/reference/functions/do_shortcode/
This nifty function will render all visual composer shortcodes including an ad box. So the best way to do it is create a dummy ad box on a page and set it up the way you like (you must make use of the ad spots in the theme panel) and then simply enter classic mode and text m,ode to get the shortcode for the element.
Then you can use the function like so:
Mind the php tags as some places already have them open so you do not need them there.
FOr your specific case with the search results, you can add the code like so: http://screencast.com/t/jSjEOEbrtu
Hope this helps.
Thank you!
Buna
Blocurile temeil nu au fost concepute sa fieafisate pe posturi, doar pe pagini. Incluzand un block in continutul posturilor e posibil sa intervina unele disfunctionalitati in cea ce privesta layout-ul lui.
Pentru a afisa butonul te “Scroll to top” pe mobile adauga aceast css in theme panel > custom code > custom css: http://screencast.com/t/4jK3dAKtt
@media (max-width: 767px){
.td-scroll-up-visible {
display: block;
}
}
Multumesc!
Hi,
You are referring to the ajax filter. This needs to be configured as well from the block settings: http://screencast.com/t/Pa71iNum – https://forum.tagdiv.com/block-settings-tutorial/
Thank you!
Hi,
There is no option in the theme to change the slider height but it can be done with css:
.td_block_slide .td-slide-meta{
bottom:100px!important;
}
.td-theme-slider{
height:480px!important;
}
Thank you!
Or for those who are possibly lost:
====================================
“changed_files_6.6.5_6.7.html”
Newspaper theme
Here is a list of all the changes between v 6.6.5 and v 6.7
Modified files – 12 files
page-pagebuilder-title.php
page.php
style.css
includes\td_config.php
includes\plugins\js_composer.zip
includes\shortcodes\td_block_authors.php
includes\wp_booster\td_global.php
includes\wp_booster\td_wp_booster_functions.php
includes\wp_booster\wp-admin\panel\views\td_panel_categories.php
includes\wp_booster\wp-admin\panel\td_view_theme_plugins.php
js\tagdiv_theme.js
js\tagdiv_theme.min.js
Deleted files – 1 files
includes\plugins\revslider.zip
Deleted files – 0 files
=============================
“update_log.txt”
[ Version 6.7 ]
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file
My mistake about the blocks, you are correct Bogdan. This error is occuring within Block 21 because there is no image uploaded I believe. So the remedy would be to place an image with the article?
Hi
I have selected a particular category to show posts only form it. It is showing post from that cat but it also showing all other category as link on top and also showing post when i click on the link…
How i can show top link only from particular category.. is there auto Mode?
Hi
By default Slide block height is 580px which does suites my requirement.. How can i reduce it ?
Nevermind, works with this one
@media (max-width: 767px){
.td-scroll-up-visible {
display: block;
}}
Salutare. Incerc sa introduc sub fiecare articol din site block-ulde miniaturi numarul 16. Pe desktop alinierea miniaturilor apare deformata ca in imaginea atasata.(http://infoalert.ro/wp-content/uploads/2016/04/bloc-title.jpg)
Ce pot face sa remediez aceasta problema. mentionez ca singurul block care are o afisare optima este blocul numarul 1, celelalte sunt deformate.
Si inca. Cum pot adauga in dispozitivele mobile butonul de trimitere a utilizatorului in partea de sus a siteului,(http://infoalert.ro/wp-content/uploads/2016/04/buton.png) atunci cand acesta a ajuns de exemplu la jumatatea sau la sfarsitul paginii?
Mersi pentru suport.
Site-ul este infoalert.ro.