Created
May 15, 2018 10:20
-
-
Save accessomnath/c71aad5f7c1bb7aec1e329b598065f4c to your computer and use it in GitHub Desktop.
Fetching vc styles with content
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Vc_Manager::getInstance()->vc()->addShortcodesCustomCss($page_id); | |
| $the_post = get_post($page_id); | |
| echo apply_filters('the_content', $the_post->post_content); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment