How can I put Push button in articles?

Posted in: Newspaper
Post count: 148

http://fitlogy.com/effects-hot-tea-hot-coffee-plastic-cup/
check the ” Find the most popular non- plastic Tea Cups & Coffee Mug “.

Here I used the Add Custom Short Code.

Does this theme has similar features ?

Post count: 23312

Hello GlanceCompany,

Unfortunately, our theme does not have such an option for this for the posts, but only for the pages if you are using the Visual Composer. So, please notice that you can try to use the do_shortcode method, after you create the button from your Visual Composer, like this -> http://screencast.com/t/Neag3pRJ From there you can customize your button as you like and then, to see the shortcode for it, you will have to switch the Visual Composer to the classic mode, like this -> http://screencast.com/t/rCjQdy5P0RRA In this case, the snippet of the code which you will have to add to your core file, is that ->

<?php echo do_shortcode('[vc_row][vc_column][vc_btn title="Push the button" link="url:https%3A%2F%2Fwww.google.ro%2F|||"][/vc_column][/vc_row]'); ?>

So, please notice that this type of code should added in the coresponding loop single on what post template you are using. For my example, I just use the post template style 1 and the code will have to be added in loop-single-1.php, like this -> http://screencast.com/t/ePJyJxass4 and the result you should see here -> http://screencast.com/t/fc0uQsBVfW0

Hope this helps!

Thanks for your understanding!

Post count: 148

Can I change the color of these button ?

Post count: 148

So u mean the puch button cannot be created within the articles.
http://screencast.com/t/fc0uQsBVfW0

Post count: 23312

Hello Glance,

The color of this button can be changed from Visual Composer, like this -> http://screencast.com/t/9UZzB0AGVaX All of these modifications should be made before copying the code in do_shortcode and then you switch to the classic mode and the shortcode of the button with the color will appear, like this -> http://screencast.com/t/vAofNMUgMS. Also, please notice that you can insert the button everywhere you want into your site.

Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.