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
http://localhost:3000/api/v1/sections/ | |
// -> state: down | |
// -> ✅ permissions: included (for sections) | |
http://localhost:3000/api/v1/sections/section1 | |
// -> state: running (but some sections missing) | |
// -> ✅ permissions: included (for sections) | |
http://localhost:3000/api/v1/sections/section1/?getUnits=true | |
// -> ✅ state: running | |
// -> ✅ permissions: included (for units) | |
// -> ✅ blocks: included |
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
display.user OR display.progress | |
// if not: not visible | |
access.user | |
// if not: you must buy this | |
access.progress | |
// if not: you must learn more | |
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> | |
//Button Code: <button class="plutio-open-chat">Open Chat</div> | |
//Find all Chat Buttons on the Page | |
var plutioChatButtons = document.querySelectorAll('.plutio-open-chat'); | |
//Trigger Open-Chat when one of them is clicked | |
for (var i = 0; i < plutioChatButtons.length; i++) { | |
plutioChatButtons[i].addEventListener('click', function() { | |
event.preventDefault(); | |
$plutio_msg.open(); |
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
# ignore everything in the root except the "wp-content" directory. | |
!wp-content/ | |
# ignore everything in the "wp-content" directory, except: | |
# "mu-plugins", "plugins", "themes" directory | |
wp-content/* | |
!wp-content/mu-plugins/ | |
!wp-content/plugins/ | |
!wp-content/themes/ |
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 | |
/** | |
* | |
* Shortcode: JetEngine no image fallback | |
* | |
*/ | |
function jetengine_img_handler( $atts, $content = null ) { | |
extract(shortcode_atts(array( | |
'src' => '' | |
), $atts)); |
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 | |
/** | |
* BP-Default theme functions and definitions | |
* | |
* Sets up the theme and provides some helper functions. Some helper functions | |
* are used in the theme as custom template tags. Others are attached to action and | |
* filter hooks in WordPress and BuddyPress to change core functionality. | |
* | |
* The first function, bp_dtheme_setup(), sets up the theme by registering support | |
* for various features in WordPress, such as post thumbnails and navigation menus, and |
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 | |
if ( post_password_required() ) { | |
echo '<h3 class="comments-header">' . __( 'Password Protected', 'buddypress' ) . '</h3>'; | |
echo '<p class="alert password-protected">' . __( 'Enter the password to view comments.', 'buddypress' ) . '</p>'; | |
return; | |
} | |
if ( is_page() && !have_comments() && !comments_open() && !pings_open() ) | |
return; |
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 | |
/** | |
* Comment template functions | |
* | |
* These functions are meant to live inside of the WordPress loop. | |
* | |
* @package WordPress | |
* @subpackage Template | |
*/ |
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 | |
/** | |
* BP-Default theme functions and definitions | |
* | |
* Sets up the theme and provides some helper functions. Some helper functions | |
* are used in the theme as custom template tags. Others are attached to action and | |
* filter hooks in WordPress and BuddyPress to change core functionality. | |
* | |
* The first function, bp_dtheme_setup(), sets up the theme by registering support | |
* for various features in WordPress, such as post thumbnails and navigation menus, and |