Tagged: x
-
AuthorPosts
-
December 6, 2016 at 10:10 pm #1284041
ewatersupportParticipantHi,
I recently created my custom codes in the main function.php. Since then, I downloaded the Theme X Child Theme, activated and tried to move the codes added, however it wouldn’t work.
Is there something I need to do beforehand?
December 7, 2016 at 1:42 am #1284184
FriechModeratorHi There,
Thanks for writing in! Can we take a closer look on your codes/functions.php? Please provide us with login credentials in private reply so we can take a closer look.
Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Cheers!
December 7, 2016 at 4:22 pm #1285180
ewatersupportParticipantThis reply has been marked as private.December 7, 2016 at 10:58 pm #1285626
RupokMemberHi there,
If that works within parent theme then should work within Child Theme as well. Are you getting any error? Make sure to keep the other codes intact on the Child theme’s functions.php.
Let us know if you are getting any error.
December 7, 2016 at 11:12 pm #1285630
ewatersupportParticipantNo Error – Basically I cut and paste between the two functions.php and it works on the parent theme.
There’s only one code in the child/functions.php which is the
<?php // ============================================================================= // FUNCTIONS.PHP // ----------------------------------------------------------------------------- // Overwrite or add your own custom functions to X in this file. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Enqueue Parent Stylesheet // 02. Additional Functions // ============================================================================= // Enqueue Parent Stylesheet // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' );December 7, 2016 at 11:29 pm #1285650
ewatersupportParticipantAh found it. all solved.
December 8, 2016 at 12:25 am #1285710
FriechModeratorGlad you sorted things out, feel free to get in touch with us regarding any further queries about the X|Theme and Cornerstone.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1284041 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
