- 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
Este ora 5, astazi nu mai prind suport, voi face un reply in curand.
Codul dvs nu functioneaza, in punctul 2
.mce-content-body img{
display: inline-block;
}
in legatura cu pozele, chiar nu inteleg. Am poze de pe imagebam.com de exemplu, in forum aici arata una langa alta, e o implementare de baza, nu pot folosi tema. Am 35.000 de posturi pe site, si restul vor fi cu poze ce trebuie sa imi functioneze ca orice alta tema.
ca in orice alta tema amarata am nevoie ca atunci cand copii niste poze urcate pe imagebam de exemplu sa imi arate normal, ca mai jos: cum arata aici in acest reply, sau mai sus, una langa alta. nu pot sa cred ca imi cere sa fac implementare custom… containere, etc. nu se poate asa ceva. e ceva de baza, totusi…
exemplu mai sus…
iar punctul 6 la fel. codul este pus degeaba. realizati ca atunci cand se incarca pagina la dvs intai incarca fontul mare si apoi cel de 35 ?
.td-post-template-3 header .entry-title {
font-size: 35px;
}
Voi continua. Sper sa reusesc sa folosesc tema. Momentan este inutilizabila in cazul meu.
Buna
1. Tema nu are nici un widget care sa alinieze imaginile una langa alta asadar vei avea nevoie de o implementare custom. Cel mai siplu mod ar fii sa adugi imaginile in interiorul unui container astfel incat sa le poti targeta cat mai usor cu css. Un exemplu de baza ar fii acesta: http://screencast.com/t/bCCByWbcX – http://screencast.com/t/yrqmgQmug
O alta optiune ar fii utilizarea unui media grid din Visual Composer: http://screencast.com/t/BkT3swfOYCq0 – http://screencast.com/t/eDi5Dj3XSy
Revenind la codul tau ar fi de facut cateva observatii:
– daca veri sa modifici layout-ul din imaginilor din post editor, codul aferent trebuie adaugat in editor-style.css: http://screencast.com/t/kQOUXLoIRqFE Css-u; care controleaza layout-ul editorului se afla in acel fisier.
– cnd targetezi imaginila va trebuii sa te legi te o clasa unica pentru pagina, sau pentru containerul in care se afla ele. Utilizant .td-post-content p vei targeta toate imaginile din continutul postului si e posibil sa apara efecte nedorite.
– codul css care se refera la imaginile de pe frond-end poate fi adaugat in style.css: http://screencast.com/t/JMStEQBvL
2. Poti folosii acest css in editor-style.css:
.mce-content-body img{
display: inline-block;
}
3.Doar din imaginile tale nu pot sa imi dau seama care e selectorul gresit. Folosind ins o clasa custom pentru iomaginile din continutul postului, ca in exemplul de mai sus, proprietayea de float se va aplica doar pentru acel container si nu ar trebuii sa mai afecteze layout-ul celorlante imagini.
4 Poti folosi acest css: http://screencast.com/t/svShfuUDd1W
.more-link-wrap{
margin-left: 0;
}
5 POti seta modulul 15 pentru fiecare categorie din theme panel > categories: http://screencast.com/t/hDvhNuwKy2
6. Poti folosi acest css:
.td-post-template-3 header .entry-title {
font-size: 35px;
}
8. Ca sa muti data si views-urile deasupra tag-urilor trebuie sa modifici single_template_3.php, taie (cut) aceste linii: http://screencast.com/t/uvXlZJUl03Xu si insereazale in loop-siongle-3.php, pentru post template 3, si sa muti liniile indcate ca in aceasta imagine: http://screencast.com/t/XggROxpEL
Te rugam sa iei in considerare ca orice modificare adusa in structura posturilui sau in modul de afisare a continutului implica customizari suplimentare. Noi oferim suport pentru tot ce inseamna modul de utilizare si configurarea corecta a temei. Orice customizare care implica modificarea actualei implementatri, pentru orice element implica schimbarea codului actual sau ajustarea lui pentru a abtione rezultatul dorit.
Din pacaqte timpul nu ne permite sa oferim servicii de customizare, fiind un numar mic de membrii ne confruntam cu un volum mare de munca. Pentru orice alte customizari va trebuii fie sa angajezi un developer care sa te ajute in realizarea lor.
Multumim pentru intelegere.
Hello geroblu,
First of all, please ensure that you have some posts in your category, otherwise, does not show anything. If you want to set specific post to appear in your block, you have to use posts ID and add it in the corresponding field, like this -> http://screencast.com/t/DQXqJiPfq and the posts ID’s you can find them like this -> http://screencast.com/t/8xvNJpQ11
Also, please consult our Youtube section and see this tutorial -> https://www.youtube.com/watch?v=ss-BEobegAw because it might be more useful for you.
Hope this helps!
Thank you for the message!
Hello mayunathan,
You are talking about Ajax Filter feature. If you want to have only the desired categories showed on your dropdown bar, you have to set it from Block settings->Ajax filter with Category ID’s like this -> http://screencast.com/t/0FQutiMa -> http://screencast.com/t/7zSSIu4pX0O For more information about Ajax filter, please consult our documentation here -> https://forum.tagdiv.com/block-settings-tutorial/
Hope this helps!
Thank you for the message!
Hello
on desktop i have block 16 showing 10 articles
can i make them 5 on mobile design? but keep them 10 on desktop??
http://www.autosport.me/
thanks
Hello mike6209,
For achieving that, you have to use do_shotcode method with custom Ad to add this ad where you want. For example, if you are using post template 2, you have to edit loop-single-2.php file and add this snippet of the code -> <?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]')?> in the desired place, before the featured image like this -> http://screencast.com/t/5hhHr99Iv Also, before check the results, please ensure that you have entered the AdSense code in Custom Ad filed like this -> http://screencast.com/t/OnwclhFX
The result you should see here -> http://screencast.com/t/5adXHIiPCYXl
Thank you for the message!
solved – the problem was a leading blank in td_block.php
Hi
1 To display a different header ad for categories pages please check this topic: https://forum.tagdiv.com/topic/different-header-ads-according-to-category/
2 To ad a title for ads you can use this method: https://forum.tagdiv.com/topic/inline-ad-titles/ Note that depending by ad type it may require others customizations.
3 You can use the do_shortcode function in the file which generate each page. For example a page which use pagebuilder + latest as post template require this file to be modified: http://screencast.com/t/Nc8kqxbkFZIs For the category page you can add the code here: http://screencast.com/t/vNFnf6KZ9m3 – http://screencast.com/t/TkfBOExjw The same line of code can be used in tag,php, search.php etc.
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]')?>
Please note that all this customization require custom work and for the moment we can’t offer any custom services. The above solutions contains code which can be adapted such that to obtain the desired result but there are many situations and conditions which must be implemented in order to have all your requests achieved.
If you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Ciao,
i try to set category in home page (News page) but i see only blank space under cat title.
I try with visual composer and classic mode, i set post_ids=”3″ , but don’t show article in home page.
Same for all block with category ID.
Thanks
Hello !
When i add ‘block 1’ in the pages, it will show all categories. I like to show only Selected categories in “block 1”.
Can you help me with this please ?
Screen Shot – http://prnt.sc/a3ihqc
My Website Link – http://www.velichaveedu.com/
Best regards
Mayunathan
Hi
You need to name your images with exact same names as the ones already present in the indicated folder like here: http://screencast.com/t/2tcUoDss8kE Also you have to make the images at the exact same sizes in order to fit well on blocks and modules.
Thanks!
Hi Chris,
In order to have the same design as the rest of the elements, your comments should use the block-title class and then use a span for the text itself. This is how the example you provided managed to get it done: http://screencast.com/t/ftJJcJzf
I’m not sure how you implemented the facebook comments, but if you have access to the html of the title, thne simply use it like so:
<h3 class="block-title"><span>Discussion & Comments</span>
Thank you!
Hi
Sorry for any inconveniences but I am not aware how the plugins that you’re using generate the custom post types and especially how they are named.
In order to have the custom post type displayed in a block you have to insert the exact name which was given by plugin’s author. That name can be find by inspecting the post type source: http://screencast.com/t/PWiPXVPhL
By adding the post type name in this field: http://screencast.com/t/1EcoXJlqyct the post included in that post type will be displayed in block on any page: http://screencast.com/t/sBe0G1iB
This was just a basic example. I used a basic custom post type which didn’t required any customizations in order to be displayed in theme’s blocks. However depending by post type implementation you may need additional customizations such that your post types to be displayed fine by the theme in its blocks.
Unfortunately time does not allow us to provide plugin implementation support and if are required these customizations falls beyond the support can offer you. If you really want to use this plugins and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to help you with implementation. You can hire one from http://studio.envato.com/
Thank you for your understanding.
Hi,
I’m not sure what you mean by ‘ratio’. If you are talking about the aspect ratio, block 3 uses a thumbnail of 324×160. This cannot be changed as there is no option in the theme panel for it. It can be done with custom modifications if you know your way around php.
https://forum.tagdiv.com/thumbnails-vs-featured-image-size/
For modifications you can create your own thumb: https://forum.tagdiv.com/td_api_thumbadd/
The video play button can be disabled by adding this custom css in the theme panel-custom css box:
.td-module-thumb .td-video-play-ico img{
display:none!important;
}
Thank you!
Hello,
Unfortunately this error could come from a big number of problems. It is a general error and we cannot pin point it to a specific thing. I believe it happens due to a server configuration which is not responding, it could be due to a delay or it could also be a temporary issue so you can try this a few times and if you still get this error please contact your host provider and let him know about this, ask them to unblock our demo in order to retrieve the theme data. It could also happen due to your wp install or other plugins might also cause this. Also make sure that your permission for the upload folder are set correct. You can check this by trying to upload an image in media library. If the process succeeds then the permission are ok. If not you can use the c-panel to change permissions (set them to 777) or if you do not have access to the cpanel, please contact your hosting provider.
If you still cannot install the demo, please send an email at contact@tagdiv.com and provide wp-admin so we can take a look. Please also provide a link to this topic.
Thank you!
Hi I am using a Block 11 and I was wondering if there was a simple way to format the thumbnail to a consistent size? We have multiple contributors who aren’t too aware of image sizing and optimization so I was just wondering if there might be a simple css fix or something. Thanks in advance! Attached is an example of what I’m experiencing

Thanks, @inggeek. However this is exactly the problem that I have identified as well. I need a solution for the 2/3 column because this is the ad space that we have sold to our advertisers. I don’t have the option of changing the layout to only one column at this stage.
What would be the correct size for an animated .gif in the 2/3 column, using the custom Ad Box block?
I also need the sizes for tablet and phone so it is responsive, please.
Thanks!
Hey
I switched my comment system to FB comments and edited the template for a custom position. All looks good except that I lose the CSS title block for comments, now its just plain H2 text. Newspaper uses stylised CSS title blocks in the sidebar and to separate main page elements which keeps it all neat.
I cannot see a way to stylise plain <H></H> tags in the same manner. Also this particular title is set by the FB comments plugin. There is a nice site in the showcase that has managed to do it, I can’t see how.
1. My site with new FB comments added http://www.screencast.com/t/JOogiPEYn
2. Desired result here, http://www.screencast.com/t/qYBPuCE93zs
3. Live page example http://www.gloholiday.com/top-10-most-unusual-hotels-in-the-world/
Any nice suggestions?
Thanks
Chris
Hello, I wonder if you can change the ratio of images of block 3
http://screencast.com/t/U2cgnWz5VR
I would also like to know if it is possible to disable the play button that appears when video
http://screencast.com/t/n3Em8n4M
I would appreciate your help.
My site crash after activate the theme and Visual Composer. 503 error show up. I encountered the same issue as I installed a similar theme with VC previously but was fixed by its author as following:
“How many posts, categories, tags do you have? One of the features Goliath has is filtering post block content by tags. In some cases where shops have many thousands of tags, these all get read into memory until it runs out. You can try to disable this by doing the following:
edit theme/vc_content_blocks.php and replace this:
$post_tax_tags = get_terms(‘post_tag’);
$post_tags = array(” => ”); //blank entry
foreach($post_tax_tags as $pt)
{
$post_tags[$pt->slug] = $pt->slug;
}
with this
$post_tags = array(” => ”); //blank entry
/* $post_tax_tags = get_terms(‘post_tag’);
foreach($post_tax_tags as $pt)
{
$post_tags[$pt->slug] = $pt->slug;
} */
You have 10k+ tags, so I’m 100% that it can fix the memory and speed issues you’re having.
”
I wonder if you can apply it to your theme?
Alex
I am trying to add links inside the copyright text area. I want to add links to my terms and privacy pages after the copyright like this:
2016 Mysite.com. By using this site you are agreeing to the Terms of Use and Privacy Policy.
This only sort of works, sometimes I get one of the links working and not the other, sometimes it outputs a giant text string into the footer copy and sometimes it removes part of the text. I assume you did not design the copyright text input area in the sub footer settings to accept links?
I feel like I almost have it working. Is there another way I should be writing it? Do I need to edit the footer php file?
Also, how do I center the whole copyright text area. I can center align the text with css but the whole block is still way over to the left side. How do I center align the whole footer text block?
Thanks
How is it going?
I have been trying to fix the site speed for a while now and I can not get it over 42 / 100 mobile or 61 / 100 desktop.
I have followed the instruction (pagespeed guide) numerous times – However, the problem I am running into is the FILE NAME is from the PageSpeed Insights page are no where to be found on the txt. file that from section
“5. Remove render blocking css/js – using the TagDiv SpeedBooster plugin”
I have delete plugins – and nothing works – the only reason I got that speed UP to 61 n 42 is because I used CloudFlare..
Can someone please help. Site is http://philadelphialocalbuzz.com/
Couldn’t find the documentation on using the above shortcodes.
And, using the different kinds of blockquotes? I am only able to use the blockquote inserted with the wysiwyg editor, which is the one that is centered.
How do I do the left quote, box quote etc?
Thanks.
Thanks! I’ve implemented it now. Actually, it turned out not to be too difficult 🙂
If anyone else wants this for future, all I had to do was add this modified version:
if (current_user_can('edit_users')) {
$buffy .= '\<a target="_blank" href="' . get_edit_user_link($author_id) . '"\>edit\</a\>';
}
(Backslashes added for forum displaying…)
…right inside the <author_box_wrap> div, and add this CSS:
.author-box-wrap:hover .td-admin-edit {
display: block;
left: initial;
top: initial;
}
@andrei_luca, can you be more clear about what you need me to provide? Is wp-access a file? And where can I find it? As for my login credentials, do you mean what I input to login into the backend of my WordPress site?
I tried clearing the cache (the caching plugin I’m using gave me a 504 error when I tried to delete the plugin’s cache so I just went and cleared my computer’s cache and cookies) and made sure the blocks weren’t offset, and they’re not.