Tagged: x
-
AuthorPosts
-
October 14, 2016 at 2:24 am #1215828
Pavle LParticipantHi Support,
In theme are are few page templates. I am mostly using “no container, header, footer”.
How can I create new page template based on “no container, header, footer” where I will have custom php script?October 14, 2016 at 2:41 am #1215834
LelyModeratorHi Pavle,
You may copy template-blank-4.php from \wp-content\themes\x\framework\views\{your-stack} to this folder: \wp-content\themes\x-child\framework\views\{your-stack}. Rename and edit it as you wish.
Hope this helps.
October 17, 2016 at 2:25 am #1219019
Pavle LParticipantThanks on feedback.
Regarding to response, can add add 1 additional page template, based on blank-4? So i can have that 1 additional template display in list with all other templates?
October 17, 2016 at 2:31 am #1219020
ChristopherModeratorHi there,
Please check following links :
https://codex.wordpress.org/Pages https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/#Custom_Page_TemplateHope it helps.
October 17, 2016 at 2:54 am #1219045
Pavle LParticipantSolution is in 2 files.
Page template inside root of X folder and page template in view{stack} folder.
Can you provide me advice for shortcode. I need to display custom post type/field via shortcode.
Is there any documentation how to create shortcode for visual composer?
October 17, 2016 at 4:25 am #1219120
LelyModeratorHi There,
Please check this for visual composer:https://vc.wpbakery.com/video-academy/add-shortcodes-visual-composer-wordpress/
To display shortcodes on a template, something like this should work:
do_shortcode( '[shortcode here]');Hope this helps.
October 17, 2016 at 9:24 am #1219373
Pavle LParticipantThank yoy Lely! cheers!
October 17, 2016 at 9:52 am #1219404
JoaoModeratorGlad to hear it,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1215828 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
