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
<h3>How to Get Better, Faster Support</h3> | |
<p>Please follow these eight steps when you ask a question. It helps us provide you with better support.</p> | |
<p>The Steps:</p> | |
<ol> | |
<li><a href="#sd-search">Search First</a></li> | |
<li><a href="#sd-ask">Ask the Right Person</a></li> | |
<li><a href="#sd-tell">Tell Us What is Wrong</a></li> | |
<li><a href="#sd-state">State Your Original Goal</a></li> | |
<li><a href="#sd-list">List the Symptoms</a></li> |
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
/** | |
* Class for adding a new field to the options-general.php page | |
*/ | |
class ct_drop_add_profile_image_upload { | |
/** | |
* Class constructor | |
*/ | |
public function __construct() { | |
add_filter( 'admin_init' , array( &$this , 'register_fields' ) ); |
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
pre { | |
word-wrap: break-word; | |
-ms-word-wrap: break-word; | |
padding: 0 60px; | |
} |
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
.site-footer h3 { | |
display: none; | |
} |
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
function my_add_body_classes( $classes ) { | |
if( is_page('116') ) { | |
$classes[] = 'two-column'; | |
$classes[] = 'two-column-right'; | |
} | |
return $classes; | |
} | |
add_filter( 'body_class', 'my_add_body_classes' ); |
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
function my_update_comment_fields( $fields ) { | |
$commenter = wp_get_current_commenter(); | |
$req = get_option( 'require_name_email' ); | |
$label = $req ? '*' : ' ' . __( '(optional)', 'text-domain' ); | |
$aria_req = $req ? "aria-required='true'" : ''; | |
$fields['author'] = | |
'<p class="comment-form-author"> | |
<label for="author">' . __( "Name", "text-domain" ) . $label . '</label> |
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
function my_update_comment_field( $comment_field ) { | |
$comment_field = | |
'<p class="comment-form-comment"> | |
<label for="comment">' . __( "Comment", "text-domain" ) . '</label> | |
<textarea required id="comment" name="comment" placeholder="' . esc_attr__( "Enter comment here...", "text-domain" ) . '" cols="45" rows="8" aria-required="true"></textarea> | |
</p>'; | |
return $comment_field; | |
} |
OlderNewer