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
| // Use Code Snippets plugin | |
| // https://wordpress.org/plugins/code-snippets/ | |
| // If MemberPress and MP courses are active, run this code | |
| if ((is_plugin_active('memberpress/memberpress.php')) && (is_plugin_active('memberpress-courses/main.php'))) { | |
| // Add Page Attributes (order) support for MP Courses | |
| add_post_type_support('mpcs-course', array( 'page-attributes' )); | |
| // Override MP Courses the user has Started menu order |
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
| <script> | |
| function set_fprom(){ | |
| console.log('loaded'); | |
| $(document).on('click','button[type="submit"]', function(){ | |
| $FPROM.trackSignup({ | |
| email: $('input[type="email"]').val(), | |
| event_id: new Date().valueOf().toString() | |
| }, | |
| function(){}) | |
| }); |
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
| /* Adjust pixel shifting for shape layers */ | |
| .fl-builder-shape-layer > svg { | |
| -webkit-backface-visibility: hidden; | |
| -moz-backface-visibility: hidden; | |
| -ms-backface-visibility: hidden; | |
| backface-visibility: hidden; | |
| -webkit-perspective: 1000; | |
| -moz-perspective: 1000; | |
| -ms-perspective: 1000; | |
| perspective: 1000; |
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
| // Add this to your functions.php and tweak as necessary :) | |
| function login_password_css() { ?> | |
| <style type="text/css"> | |
| .login #pass1-text.strong, .login #pass1.strong { | |
| border-color: red; | |
| } | |
| .login #pass-strength-result.strong { | |
| background-color: red; |
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
| # ---------------------------------------------------------------------- | |
| # | File access | | |
| # ---------------------------------------------------------------------- | |
| # Block access to directories without a default document. | |
| # | |
| # You should leave the following uncommented, as you shouldn't allow | |
| # anyone to surf through every directory on your server (which may | |
| # includes rather private places such as the CMS's directories). |