- 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,
On my Homepage Sidebar I would like to create a widget showing a single random article from one Category.
This can easily accomplished by customizing one of the [tagDiv] blocks and using the proper filters. But I want to display only the article image, no title, author, category, tags… nothing. Just the post image.
The result should be same as 300×250 sidebar ads.
Can you please suggest a way to get rid of everything except the post image?
Hi. I have to put some code in either homepage ,categories and single posts that I can’t do with Visual Composer, cause it contains php code. I need a way to put php code or through a sidebar, or through a block, or a template part. I’m trying with block but documentation for me is not complete enough and I cannot understand if blocks can do it. Please give some hint so I can proceed. Thanks.
Hello Danny Froberg,
I have tested on my side the News Ticker block and everything seems to work as properly. Please ensure that your issue does not come from your conflicting plugins. Try to disable all the active plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with our theme and rule out the eventual conflict.
Hope this helps!
Thanks for your understanding!
Hello jsabellico,
I assume that you are referring to the thumbnails which our theme generates them automatically, right? Please notice that the theme uses some thumbnails for your images according to what type of block you are using. You can disable the thumbnails which you do not use from the Theme panel, like this -> http://screencast.com/t/CTQCxCpst If you disable some of these, the theme will not generate these images and you can save the space from your memory.
If is not what you mean, please provide more details so I will be able to provide a more accurate response.
Thanks for your understanding!
Hi,
You need to enter the category id’s in the multiple categories filter section. Please use this guide: https://forum.tagdiv.com/block-settings-tutorial/
Thank you!
Hello mpdimitrov,
If you want to add a table in Newspaper theme you will have to use a bit of HTML code for generating this.
As a hint, this is a table with some links which are added through HTML. Also, if you want to achieve the table using HTML code, you will have to consult this -> http://www.w3schools.com/html/html_tables.asp and then you will have to add this snippet of the code in the core file according to header style used by you or if you want to add the table on your page, homepage, for example, you can use the Text block element from Visual Composer and paste there the code, like this -> http://screencast.com/t/Vhw9OgaQbdn1 and the result you should see here -> http://screencast.com/t/LRG58Wux
If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thanks for your understanding!
HI
Yes you can purchase Newsmag theme and use it instead of Newspaper. After you switch from Newspaper to Newsmag you have to regenerate your thumbnails and also make sure that you remove from pages all blocks that are not present in Newsmag theme.
Before makeing any changes make sure you do a full backup to your current wp-install and to the database also: https://codex.wordpress.org/WordPress_Backups
Let me know if you need further assistance on this.
Thanks!
Thanks Alin
I wish TD_FEATURED_CAT and TD_FEATURED_CAT_SLUG were arrays and not just constants, which could have made the life easier.
It seems to customize I will have to add other constants like TD_TICKER_CAT and TD_HOME_PAGE_CAT and then exclude them where like TD_FEATURED_CAT?
Else filter the category IDs in individual blocks
Hi, my website recently had a problem with sections that were set to only show posts with certain tags, due to an update in the Events Calendar. I set the page blocks to show tags which I had used in event posts from the Events Calendar, but the Events Calendar changed their tag system, and those posts no longer show up in your search. Please see their comment below about this problem, and maybe you can please answer their question. Thank you.
The site is telemediabroadcasting.com
“Oh yes, looking at this it appears that the page you linked to is using a custom query for tags.
The reason we made the change is because there were instances where a query for tag results in events and posts displaying together, where they should actually be separated.
I’d be really interested to know how the query for the posts on that page is created. Is there any chance you can reach out to the theme author to check? Depending on the method being used, we ought to be able to specify the tribe_events custom post type in that query and all should work as expected–but I’ll need that extra bit of context to confirm.
And, at worst, the theme author will be able to chime in with additional thoughts, if possible.”
Hi,
Just updated Newspaper 7.2 and lost the newticker, slider and viewcount.
Only error I get in console is;
Uncaught item.blockUid is not valid in tagdiv_theme.min.js:258
Ideas?
Hi,
The theme doesn’t have this option, you will need custom modifications to have the same functionality for other categories. The featured category is defined in config file – http://screencast.com/t/6LX9ZIax – https://forum.tagdiv.com/featured-posts-2/
However the tagdiv blocks have multiple filter options that may help you – https://forum.tagdiv.com/block-settings-tutorial/
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
Hi,
If you are referring to the mobile featured grid: http://screencast.com/t/NkGFaB2gy1 you can remove it with this css:
.td_block_big_grid_mob_1{
display:none!important
}
If you do not use the mobile theme and have a different ‘featured’ element you will have to provide a link to your site so I can see how it was created so I can provide the proper code for it.
Than you!
Just trying to wrap my head around this. I clicked the Visual Composer Backend Editor and Visual Composer blocks and options are at the bottom. I noticed that this not how it looks in the tutorial videos. http://screencast.com/t/gd4bJ2KE
-
This reply was modified 10 years by
kevintunis.
If the above is not the issue – Then where is the description input?
Excerpt from the plugin FAQ
Therefore, as of version 1.6 I am modifying my admin nav menu Walker to only adding the following lines (right after the description input):
<?php
// Place this in your admin nav menu Walker
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );
// end added section
?>
Ask your conflicting plugin/theme’s author to add this code to his plugin or theme and our plugins will become compatible.
Hello mpdimitrov,
Please remove the code that I provide you above and try the below code. Now, the post date will appear only for post page.
.td-post-date {
display:none;
}
.post .td-post-dade {
display:block;
}
Hope this helps!
Thanks for your message!
Hi,
This can be done with a bit of customization. Please remove this code from here: http://screencast.com/t/HQYVSpwEC and then add this code:
<?php echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_bottom'));?>
Add it in the post template files. You have to add the code for every post template you use. (each post style has it;s own file): http://screencast.com/t/A4dvVywq1R
Thank you!
Hello Irreverent Gent,
If you want to do these changes for your Review template, please notice that you will have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-review-summary .block-title {
display:none;
}
.td-review-header .block-title {
font-family:Arial;
}
Also, please notice that the new font which you want to have for your review header will have to be loaded in the theme in Theme panel in order to achieve best results.
Thanks for your understanding!
Hi,
There is no issue there. You simply need to enter the visual composer builder like so: http://screencast.com/t/ZYvZQ9GRqsx7 and you will have access to the visual composer blocks and options.
Thank you!
Hello deambris,
Please notice that the above example which Andrei provided in the latest reply is just an example to how you can add a title for your Big Grid. Please notice that it is not a simple task to achieve as you want and it involve some additional customizations through code in order to bring as you wish. If you do not have a good skill and knowledge in PHP/CSS/HTML, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry! As a hint, if you want to bring the line under the title you can use the block-title class as a custom class, like this -> http://screencast.com/t/6L4gGQbmK
Thanks for your understanding!
Hi,
The block settings are not found in the visual composer plugin settings. They are found on the page edit itself. When you add a block on a page. Please access your page containing the elements and press the green pencil button that appears when you hover over the element: http://screencast.com/t/yKSSu8uJUQxt
The settings you want to change are page specific. The setting cannot be found in the general settings of the plugin.
As for the registration for the plugin you can simply ignore it as mentioned here: https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Thank you!
Hello kognitoweb,
I do not exactly understand what you want to achieve but please notice that if you want to sort the Block 9 to display only the certain posts filtered by ID, please check the Block Settings and there you will see this setting, like this -> http://screencast.com/t/eTSog2g4Ij For more information about block settings, please check here -> https://forum.tagdiv.com/block-settings-tutorial/
If is not what you mean and if you need more assistance in this regard, please provide more details about this so I will be able to provide a more accurate response.
Thanks for your understanding!
Hello Jay,
Please notice that there is talking about Big Grid 1 features which display these posts. So, if you want to change this feature you will have to change your homepage structure from your backend and add another Big Grid or block. In order to achieve this, please try to consult our documentation regarding on these features, like this -> https://forum.tagdiv.com/block-settings-guide/ You can check this video tutorial here -> https://www.youtube.com/watch?v=LC7iz-v-zIY because there you will find all the steps which you will have to follow in order to build your homepage layout.
Hope this helps!
Thanks for your understanding!
Hello, I’m trying to customize my input file in CF7
Hello, I’m trying to customize the layout of the CF7 file upload form (input[type=”file” i]). My problem now is when I try to upload a file: I would that the string “no file selected” changes when file is uploaded. How can I change it?
Picture: https://www.dropbox.com/s/6szxq8l5g7ee8af/Screenshot%202016-07-12%2022.51.52.png?dl=0
Thanks in advance,
Toti.
PS: Below the custom code
___________My CF7 custom code___________
<div class="uploader">
[file sand-file limit:5mb filetypes:gif|png|jpg|jpeg]
<span class="filenamer" style="-webkit-user-select: none;">Nessun file selezionato</span>
<span class="action" style="-webkit-user-select: none;">Seleziona Immagine</span>
</div>
___________My CSS custom code___________
.uploader {
margin-bottom: 20px;
height: 50px;
width: 100%;
background: #fff;
border: 1px solid #ddd;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
position: relative;
overflow: hidden;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}
span.filenamer {
text-overflow: ellipsis;
display: block;
font-size: 13px;
overflow: hidden;
white-space: nowrap;
float: right;
text-align: right;
cursor: default;
height: 50px;
line-height: 50px;
width: 200px;
padding: 0 10px;
color: #999;
}
span.action {
height: 44px;
margin: 2px;
padding: 0 30px;
color: #fff !important;
font-size: 13px;
line-height: 44px;
font-weight: 700;
text-transform: uppercase;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
text-align: center;
float: left;
display: inline;
overflow: hidden;
cursor: pointer;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
background: #FF7B74 !important;
}
input[type="file" i] {
opacity: 0;
width:100%;
height: 100%;
cursor: pointer;
}
div.uploader input {
opacity: 0;
filter: alpha(opacity=0);
-moz-opacity: 0;
border: none;
background: none;
position: absolute;
top: 0;
right: 0;
float: right;
cursor: pointer;
width: 100%;
height: 100%;
}
.wpcf7-form-control-wrap {
position: initial;
}
Hi,
Also I need a title for Big Grid, but I need the same style of block titles (background and line). Actually I get only a title in black without background style. Furthermore I need title to be less far from grid as well as in block title.
How I can get that?
Thank you!
Hi
On the page http://www.modburyteam.org/rtr there is a block on the right hand side that has the heading: Watch the work as it progresses. This is a Video block. The url for the link I have put in is
I have also tried: https://www.youtube.com/watch?v=67tuMRw4k0s
However it is bringing up an event from our Calendar and I cannot see where I have gone wrong
Thanks
-
This reply was modified 10 years by
aph100.