- 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
You can take a look at this page: helpuconquer.com
In the left-hand column, the third element down is the Posts Slider element that I mentioned previously. You can see the block title “College” is smaller than the block title of the element two posts above it – “Money”. They need to both be the same size as Money.
I’ve tried to change the font size and block color of the block title in VC and the theme panel. But, haven’t found where this can be done.
In addition, the title of the post in this element displays a different font than the other blocks in the column. And, the linespacing of the post excerpt needs to be expanded too.
Thanks for your help.
If you manually paste a long excerpt into the excerpt box, that tends to “over ride” the default excerpt length in some places like the archives.
Otherwise, you can set the excerpt length for most things from theme panel for the blocks/widgets and templates.
I’m sure TagDiv will have better answer — but perhaps you could point to a specific example.
Theme handles excerpts very very well, speaking as a 2-year user of the theme on multiple sites (I don’t work here).
Sorry, a ; was missing, but still not working.
@media (max-width: 767px) {
.td-header-sp-top-menu {
display: block !important;
}
.td_data_time {
display: none !important;
}
.td-header-sp-top-menu {
margin-left: 14%;
margin-right: auto;
}
}
Thanks Bogdan,
I’ve checked if errors on custom css code, but everything looks fine.
But still not working on mobile.
The code I’ve add is:
@media (max-width: 767px) {
.td-header-sp-top-menu {
display: block !important;
}
.td_data_time {
display: none !important
}
.td-header-sp-top-menu {
margin-left: 14%;
margin-right: auto;
}
}
Hi
Theme’s thumbs have fixed sizes. In order to change the size you need to register a new thumb in td_config.php file using theme’s api: https://forum.tagdiv.com/td_api_blockadd/ – http://screencast.com/t/CzrLP9jqhWS After you register the new thumb it’s necessary to regenerate your thumbnails, more details about this step can be found here: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Hope this help.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello,
The top menu was not meant to work on the mobile version of the theme. It can be done with css though:
@media (max-width: 767px){
.td-header-sp-top-menu{
display: block !important;}
.td_data_time{
display:none!important}
.td-header-sp-top-menu{
margin-left: 14%;
margin-right: auto;
}
}
Thanks.
Hello,
is there any possiblity to make the thumbnail of block 14 square?
Thank you!
Simon
Hi
I am not sure what you mean as the image you provided doesn’t show the layout of our theme. If you’re referring at blocks titles, they can be changed from Visual Composer pagebuilder: http://screencast.com/t/GRs42qsiRUI If this is not what you mean please provide your site url and ore details so i can get back to you with a more accurate answer.
Thanks!
Hello,
1) You can hide the space with css but now your logo will need adjusting. Please use this code for both:
.td-header-top-menu{
display:none!important;
}
@media (min-width: 1141px){
.td-header-sp-logo img{
bottom: 48px;
}}
@media (min-width: 1018px) and (max-width: 1141px){
.td-header-sp-logo img{
bottom: 28px;
}}
@media (max-width: 1141px){
.td-header-sp-logo img{
bottom: 28px;
}}
2) Use this code:
.menu-item:hover{
background-color:#fa4b2a;
}
.menu-item:hover a{
color:white;
}
3) Unfortunately the big grid relies on a fixed width/size in order to display properly. If you change the size of the grid it will not work as expected anymore. It is never a good idea to change element sizes as it will affect other parts of the layout as well. You can change the height if you want by using this code:
.td_block_big_grid_4 .td-module-thumb {
height: 300px;
}
4) I could not find any ‘—‘ in the article exceprt. Please provide more details.
5)Use this code:
.td_module_14 .td-module-meta-info{
bottom:-60px!important;
}
I hope this helps.
Thank you!
slow query: SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND ( ( wp_posts.post_type = ‘post’ AND ( ( 1=1 AND ( ( wp_posts.post_status IN (‘publish’) ) ) ) ) ) ) AND ( \n wp_postmeta.meta_key = ‘post_views_count’\n) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status IN (‘publish’,’private’,’member’,’premium’,’staff’))) GROUP BY wp_posts.ID ORDER BY wp_postmeta.meta_value+0 DESC LIMIT 0, 3
Call from: require(‘wp-blog-header.php’),
require_once(‘wp-includes/template-loader.php’),
include(‘/themes/Newspaper/single_unixdev_1.php’),
get_footer,
locate_template,
load_template,
require_once(‘/themes/Newspaper/footer.php’),
td_api_footer_template::_helper_show_footer,
load_template,
require_once(‘/themes/Newspaper/parts/footer/td_footer_template_5.php’),
dynamic_sidebar,
call_user_func_array, WP_Widget->display_callback, td_block_widget->widget, td_block_7->render, td_block->render, td_data_source::get_wp_query, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
This widget I show a most popular post
I’ve 10000+ posts on my website
please help
Hello Arafat,
Please try the code below and place it in Theme panel->Custom Csss area.
.comments .block-title {
border-color: red;
}
.block-title > span {
background-color: red;
}
You should change the red value with your value.
The result you should see here: http://screencast.com/t/f4KIrkJ5
Thank you for the message!
Hello,
You can use a do_shortcode function and place it in the category.php file like so: http://screencast.com/t/PmC7JPa1MBB – http://screencast.com/t/i1dNzoivd6
You can get it above the pagination if you want by adding it above the pagination code:
http://screencast.com/t/t7fYlJSCA
<?php echo do_shortcode('[td_block_ad_box spot_id="content_bottom"]');?>
Thank you!
Hi
Unfortunately the theme doesn’t have a block which can display the entire post content. You can use module 15 to achieve that: http://screencast.com/t/L8ovVlxixs
Thanks!
I mean, like it is in Block 15,on the lower left side and attached on the corners of the image border! Thank you!
Hello Mecburlar,
If you want to change the background-color, you should use the code below and place it in Theme panel->Custom Css area and if you want to change the color of the ajax filter, please check the block background-color from Block settings from Visual Composer, like this: http://screencast.com/t/XXNW2L4n1woz
.td-main-content-wrap.td-main-page-wrap{
background-color: green;
}
The result you should see here: http://screencast.com/t/NB9yqRauS
If is not what you want, please provide more details about this problem, so I can be able to provide a more accurate response.
Hope this helps and let us know how it goes!
Thank you for the message!
Hello,
The category tag on block 20 is already in the lower left corner right under the title: http://screencast.com/t/4ZlRc9aYyy Please provide more details to how you want the category tags to display.
Thank you!
Hello,
Unfortunately we have no solution for this. Our modules and blocks work with featured images so a slider will cause the modules to break. You can try out the plugin but we cannot guarantee it will work.
Thank you!
its the wpml translator thats causing the problem.
Is there a way to show full blog posts using blocks?
Thanks for the reply. I have since found a way to use Module 10 instead and added CSS to display it very similar to the MX4 block. Module 10 seems ideal for my purpose since it doesn’t use rows. Thanks again.
HI:
as the image↓↓↓
http://spock.nien.com/t900b//20151222.jpg
the Category block was gone, pls help me
THANKS!!
SPOCK
Thanks Catalin, that solves part of the problem, the links now look correct.
But still confused about how to edit pages. For instance the page compassion on backend shows completely different blocks then on front end? if I change anything on backend it doesnt show on front end. can you help me with that? thank you
Hallo there! I would like to move the category tag on Block 20 on the lower left corner, just like it is placed in Block 15! Thank you, in advance!
whats happening???
!!!
DON’T PUBLISH YOUR LOGIN AND PASSWORD HERE!
That’s why you were hacked – someone used these data.
http://spock.nien.com/t900b/20151222.jpg
as the 20151222.jpg ↑↑↑↑↑
my category block was gone, pls help me
thanks!!
———————–
spock.nien.com/t900b/wp-admin
id: marygeek
pw: C%Woc)NCPGS)JRh@
Hello,
On category pages there is no option for unique articles as the modules will display all the posts from that particular category filtered by latest. So if you already have a module that displays all of the posts from that category, adding another block with the same category is bound to create duplicates (actually all of them will be duplicates and if there was a unique articles option, the block in the sidebar would not have anything to display as all the posts were displayed in the module already). We did not see the point in adding a block in the sidebar with the exact same posts from the module. Unfortunately an option like this will not be easy to implement and we cannot provide an easy solution for it.
Thank you!