- 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
We added tabs from Visual Composer for the indicated block: http://screencast.com/t/PWruyAQfobwG – http://screencast.com/t/1gjnS3YogE
Thanks!
Hi
The carousel it’s a built in Visual Composer block and the theme doesn’t affect it’s functionality, so may be a issue from the plugin. Try this with a default theme from WordPress and see how it works.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello ,
You can edit your homepage in visual composer and use different blocks to display posts.
In the demo you will see the types of blocks you can use: http://demo.tagdiv.com/newspaper/block-1/
Just add them in visual composer: http://screencast.com/t/neC5EpSW6
You can find useful information in our documentation: https://forum.tagdiv.com/block-settings-tutorial/
Thank you!
Hi,
I did understood you however unfortunately theme’s modules/blocks title can’t be set to link to other link besides their corresponding internal URL. As a solution for this you could try this implementation and adjust it to work with theme: http://www.wpbeginner.com/wp-tutorials/how-to-link-to-external-links-from-the-post-title-in-wordpress/ or search for a plugin that can help you do this.
Hope this helps you!
Thanks for the message!
Hello davidtiquet,
As i understand you need to use the “your latest posts” homepage which uses the index.php file but with a different layout, one resembling newsmag homepage. This requires some custom modifications which we cannot provide. But i can point you in the right direction:
You will need a bit of PHP knowledge to do this.
You can use a function: <?php echo do_shortcode(''); ?> in your index.php file below the like so: http://screencast.com/t/D092zLsbJtq. (You need to add it to that specific container or it will lose its styling.)
Inside the shortcode function you will place the visual composer shortcodes you see in classic mode: http://screencast.com/t/g0C1VpiMWA – http://screencast.com/t/g0C1VpiMWA.
It should llok like this: <?php echo do_shortcode('[vc_row][vc_column][td_block_2][/vc_column][/vc_row][vc_row][vc_column][td_block_15][/vc_column][/vc_row]'); ?>.
This will bring the blocks from visual composer to your index page.
I hope this helps.
Thank you!
Thanks Andrei.
So a block 2 will always have three columns if it’s full width? Even if there’s also a sidebar?
This is my layout, a block 2 with a sidebar:
https://www.dropbox.com/s/7cx3lq1m8570wz8/Screenshot%202015-09-17%2012.35.29.png?dl=0
I think in this case the block 2 should only have two columns, not three.
Can you tell me which template file I need to edit to get this working?
Many thanks.
Hi
For indicated page from our demo we use block 2 on two colons: http://screencast.com/t/FKh1gyDo and to achieve that make sure you use a 2/3+1/3 layout like here: http://screencast.com/t/iBLMivkc9 – http://screencast.com/t/WZux7bxfk
The “home” icon it’s available with the top menu: http://screencast.com/t/nr27xPmC – http://screencast.com/t/MLDuKQ78eEb – http://screencast.com/t/dMmKP4Og
Hope this help!
Thanks!
Hi,
The Visual Composer plugin is required to customize your pages/posts with theme’s elements and the theme is deigned based on it so you couldn’t use other page builder. Latest version of the VC plugin haven’t been reported as affecting site’s performance anymore.
To improve your server response time you can also try to reduce the number of queries (fewer plugins, fewer blocks on page, reduce the elements which use ajax requests/pagination like mega menus/load more/infinite load), also consider using a cache plugin and to improve the loading speed look the mysql query cache: http://dev.mysql.com/doc/refman/5.1/en/query-cache.html We also use it on our demo. If you haven’t already, you can try a caching plugin, like WP Super Cache or cloudflare’s CDN.
You can also contact your host provider and let them know about this, they might have specific info on what is the cause of this in your case.
There are many factors which can be taken into consideration concerning server’s response time. You can use google’s improvement recommendation on this: https://developers.google.com/speed/docs/insights/Server
Wordpress.org has some optimization tips also: http://codex.wordpress.org/WordPress_Optimization
Hope this helps!
Thanks for the message!
-
This reply was modified 10 years by
Lucian.
Hello,
I would like to add more categories in main area in frontpage of my website. Currently it is setup to “Latest Posts” and I want to add more categories in. Example 4 posts from category1 in block1, then category2 in block2 and so on. Exactly like on the preview site : http://themeforest.net/item/newspaper/full_screen_preview/5489609
My site now looks like this : http://asiasamachar.com
Thank you,
Habhajan
Hi
The site you indicated have our theme but with lots of customization, here are a few tips:
To get the social sharing top on the same line with the author name you need to edit the file which correspond with the post template used, and move the indicated line in meta info container like here: http://screencast.com/t/kndbkTivLDaj then add this custom css in theme panel > custom css: http://screencast.com/t/0Lg6ehz0
.td-post-sharing-top{
display: inline-block;
margin-left: 10px;
}
On the indicated site the category pages have disabled content top: http://screencast.com/t/uH1xkMfmQY
The theme doesn’t have an option to add a different banner image for every category, but you could achieve that by adding a set of condition in category.php file like here: http://screencast.com/t/xkOcUuRK13re
<div class="top-baner">
<?php if (is_category('business')) {
echo '<img src="http://localhost/wp_11/wp-content/uploads/2015/06/p1.jpg" alt="Smiley face" height="200" width="1042">';
}
elseif (is_category('vogue')) {
echo '<img src="http://localhost/wp_11/wp-content/uploads/2015/06/p1.jpg" alt="Smiley face" height="200" width="1042">';
}?>
</div>
You must add a condition for every category and set the image which you want to display. You may need some other customization for this and if you don’t know how to do it youself my advice is to look for a developer from sites like: http://studio.envato.com/ as we cannot ofer any type of custom work at the moment.
Hope this help!
Thanks!
Hello AngOst,
If you are referring to the titled shown in the browser tabs, our theme does not control them but a quick solution would be to use a plugin named SEO by Yoast wich is able to control them.
link here: https://wordpress.org/plugins/wordpress-seo/
Your posts show up in every block because they show the latest posts by default. If you only have a few posts, they will appear all over the website.You can add categories or tags to your posts so you can have more control over them. You can filter posts on blocks like so: https://forum.tagdiv.com/block-settings-tutorial/
You can also read other topics in our documentation , i’m sure you will find it very useful.
Thank you
I set my homepage to display some blocks only in mobile view, with VC, it work fine but it doesn’t show new content because i set to enable unique articles, i need to disable unique article so the mobile view show latest posts. Any help please.
Hello;
Is it possible to display on the post titles on the homepage when using blocks? i only want the titles and not the text(body)
thanks
Hello StephanusD,
The theme blocks were build to retrieve posts filtered by Categories, Tags, Authors and Post Types that you want to show on the Block and the order they will show up: https://forum.tagdiv.com/block-settings-tutorial/
There is also a sorting order for posts: http://screencast.com/t/2KkQeLRB91.
Regarding the post type setting, you can read more in this topic here: https://forum.tagdiv.com/topic/post-type-function/
Thank you
Hi
this theme is really amazing it comes with all.
But now im thinking i need to rotate some banners in same place, sidebar and above posts.
Any idea of an easy way to do it?
I know i can add the banner code to theme panel, but ill need to rotate some banner images…
I tried some plugins but it seems i cant add the shortcodes in theme panel?
Will i need it to add them in widget block?
How could i insert a widget above the posts?
thx
Hello,
I saw on the demo that Block 1 come with a filter feature. In the demo there is a loop where three filter are shown horizontally.
http://demo.tagdiv.com/newsmag/block-1/

Where can I make that it? I just found the filter where it on the right of the top where stand “all”?
Thank you!
– Simon
Hi Bogdan, thanks for this. I actually tried this many times before and it didn’t work. Do I need to launch my site to make it work?
Also my blog posts that I write show up in every “block” of text but I only want it to show up in one. How do I change this?
Hi Lucian and thank you for your help which I really appreciate.
I added the custom css and it’s almost there.
Just that below the first block there appears to be two separators.
I’ve checked VC and I’ve just inserted one separator after the first block so I don’t know what’s causing this.
Do you?
Thanks
Derek
Thanks for the response:
Let me explain a bit better. The titles on the posts that are created link to the internal post on my site. I want to have them be the original url of the post. For example if you go to punchme.beerpoint.us – i used visual composer advanced grid without issues to create posts with read more that link to the original post on an external site.
When you look at the content blocks below that section and the main reason i bought this template – the posts go to the internal site post and not link to the external URL.
So I got the Instagram post to show up in my post just by pasting the URL into a text block. I guess that the HTML embed interferes with VC…
Hello,
I hope it works like this:
function td_quote_center($atts, $content = null) {
return '<blockquote><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('quote_center', 'td_quote_center');
function td_quote_right($atts, $content = null) {
return '<blockquote class="td_quote td_quote_right"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('quote_right', 'td_quote_right');
function td_quote_left($atts, $content = null) {
return '<blockquote class="td_quote td_quote_left"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('quote_left', 'td_quote_left');
function td_quote_box_center($atts, $content = null) {
return '<blockquote class="td_quote_box td_box_center"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('quote_box_center', 'td_quote_box_center');
function td_quote_box_left($atts, $content = null) {
return '<blockquote class="td_quote_box td_box_left"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('quote_box_left', 'td_quote_box_left');
function td_quote_box_right($atts, $content = null) {
return '<blockquote class="td_quote_box td_box_right"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('quote_box_right', 'td_quote_box_right');
function td_pull_quote_center($atts, $content = null) {
return '<blockquote class="td_pull_quote td_pull_center"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('pull_quote_center', 'td_pull_quote_center');
function td_pull_quote_left($atts, $content = null) {
return '<blockquote class="td_pull_quote td_pull_left"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('pull_quote_left', 'td_pull_quote_left');
function td_pull_quote_right($atts, $content = null) {
return '<blockquote class="td_pull_quote td_pull_right"><p>' . $content . '</p></blockquote>' ;
}
add_shortcode('pull_quote_right', 'td_pull_quote_right');
Also new paste bin link: http://pastebin.com/jASmbvCr
-
This reply was modified 10 years by
Bogdan B..
Hi, I can’t see a forum for the Magazin theme so I hope this is the right spot for this question.
I’m trying to recreate the layout of the “popular posts” block at the top of this page:
http://demo.tagdiv.com/magazinly/homepage-3/
I think it’s a “block 2” VC element, but when I use it I get three columns instead of two:
http://specfinish.campbellmarsh.co.uk/
(the td_block2 block on the demo page uses two span6 columns, but the one on my page uses three span4 columns)
How can I switch it to two columns?
Bonus question: how do I enable the little “Home” icon on the left side of the nav menu which is visible on the demo?
Many thanks 🙂
Another update: This problem is not occurring if I create a new post and add text blocks. It seems to be the Instagram code messing with it. I tried posting it in as raw Javascript and the same problem happened. Anyone else had this problem with Instagram and VC?
Update: More specifically:
I’ve created a template in VC that includes raw HTML blocks. I’m pasting in ebmbed code from Instagram. It seems to work fine until I hit “save draft.” At that point it stops showing everything I’ve done in VC. It still shows up in Classic Mode. Could it be that the Instagram HTML is somehow messing with VC?
I created a simple template with Visual Composer for new posts: title, text block, plus five HTML block with text blocks below. When I went to open a new post, it opened up fine. But after I started entering things it stopped showing them in Visual Composer — it literally only shows two empty boxes. In Classic Mode and Preview it shows what I did. Is there by any chance a glitch with VC in general that just occurred?