Acurax International
Please Login or Register

Knowledgebase

What are the shortcode and php code that will display this social media icon?

You can use the shortcode [DISPLAY_ACURAX_ICONS] in any post or page or even in your custom post types. You can also use <?php if (function_exists('DISPLAY_ACURAX_ICONS')) { DISPLAY_ACURAX_ICONS(); } ?> anywhere in the theme files to show this icons.(But note that manual icons display will not have the animation). The following arguments are supported in php code

<?php if (function_exists('DISPLAY_ACURAX_ICONS')) { DISPLAY_ACURAX_ICONS($theme,$size,$function); } ?> Values for Theme: 1 to 24 (the number of the theme/style that you needed) (Function argument only on premium version)
Values for Size: Any size in pixels (upto 55) but no need to enter px, just the number is enough.
Values for Function: 0 and 1, 0 means profile link and 1 means share. (Function argument only on premium version)
Example Usage: <?php if (function_exists('DISPLAY_ACURAX_ICONS')) { DISPLAY_ACURAX_ICONS(10,30,0);} ?>
The Above Example php code will display social media icon which links to profile with the theme 10 and size 30px.
Example Usage:<?php if (function_exists('DISPLAY_ACURAX_ICONS')) { DISPLAY_ACURAX_ICONS(15,40,1); } ?>
The Above Example php code will display social media icon which allows users to share your page to their profile with the theme 15 and size 40px.


------------------------------------------------------------------------------------------------------

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution