Tagged: x
-
AuthorPosts
-
May 19, 2016 at 9:43 am #999522
joshipucherParticipantHello, I’m using a the X child theme.
In other themes I was able to define a global variable in the functions.php like this:
global $hello; $hello = "aaa";But with the X theme, I can’t call the function in any file framework file, that is also in the child theme, like /framework/views/renew/content-page.php. So this doesn’t echo anything:
global $hello; echo $hello;Can you help me how to add global variables for using in the whole theme?
Thank you
May 19, 2016 at 12:29 pm #999845
RupokMemberHey there,
Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
Thank you for your understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-999522 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
