This file contains 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
diff --git includes/templates/docs/single/comments.php includes/templates/docs/single/comments.php | |
index b11ff29..8b5d42d 100644 | |
--- includes/templates/docs/single/comments.php | |
+++ includes/templates/docs/single/comments.php | |
@@ -21,35 +21,44 @@ foreach ( (array)$comments as $comment ) { | |
?> | |
-<?php if ( current_user_can( 'bp_docs_read_comments' ) ) : ?> | |
+<?php if ( current_user_can( 'bp_docs_read_comments' ) || current_user_can( 'bp_docs_post_comments' ) ) : ?> |
This file contains 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
<div class="toggle-container toggle-closed"> | |
<span class="arrow"></span><a href="https://www.communitycommons.org/cchelp/how-do-i-add-a-picture-to-my-member-profile/" class="toggle-trigger">This is probably the most common example of a toggle.</a> | |
<div class="toggle-content border-left"> | |
<p>It includes the arrow toggle-state indicator and the content block gets the nice little left border and indent.</p> | |
<p>…</p> | |
</div> | |
</div> |
This file contains 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
<span class="add-tooltip" data-tooltip-text="Tooltip message to show">Target text</span> |
This file contains 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
<span class="icon-mime-type video"></span><a href="#video">Video</a> |
This file contains 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
<div class="content-row clear"> | |
<div class="third-block spans-2"> | |
Suddenly she came upon a little three-legged table, all made of solid glass; there was nothing on it except a tiny golden key, and Alice's first thought was that it might belong to one of the doors of the hall. | |
</div> | |
<div class="third-block"> | |
Suddenly she came upon a little three-legged table, all made of solid glass; there was nothing on it except a tiny golden key. | |
</div> | |
</div> |
This file contains 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
<div class="content-row clear"> | |
<div class="quarter-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> | |
<div class="quarter-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> | |
<div class="quarter-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> |
This file contains 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
<div class="content-row clear"> | |
<div class="third-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> | |
<div class="third-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> | |
<div class="third-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> |
This file contains 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
<div class="content-row clear"> | |
<div class="half-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> | |
<div class="half-block"> | |
Suddenly she came upon a little three-legged table... | |
</div> | |
</div> |
This file contains 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 | |
// Remove the default | |
remove_action( 'bp_actions', 'bp_docs_process_folder_delete_cb' ); | |
// Add the troubleshooting version | |
add_action( 'bp_actions', 'my_tshoot_bp_docs_process_folder_delete_cb' ); | |
/** | |
* Catch a request to delete a folder. | |
* | |
* @since 1.9.0 |
This file contains 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
<div class="Grid Grid--guttersLg Grid--full med-Grid--fit"> | |
<div class="Grid-cell"> | |
1/3 | |
</div> | |
<div class="Grid-cell"> | |
1/3 | |
</div> | |
<div class="Grid-cell"> | |
1/3 | |
</div> |