Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
Untitled diff
बनाया गया
11 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
2 हटाए गए
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
51 लाइनें
सभी को कॉपी करें
4 जोड़े गए
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
51 लाइनें
सभी को कॉपी करें
// Remove Genesis Author Box and load our own
// Remove Genesis Author Box and load our own
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
remove_action( 'genesis_after_
post
', 'genesis_do_author_box_single'
);
remove_action( 'genesis_after_
entry
', 'genesis_do_author_box_single'
, 8
);
add_action( 'genesis_after_
post
', 'be_author_box'
);
add_action( 'genesis_after_
entry
', 'be_author_box'
, 8
);
/**
/**
* Load Author Boxes
* Load Author Boxes
*
*
* @author Bill Erickson
* @author Bill Erickson
* @link http://www.billerickson.net/wordpress-post-multiple-authors/
* @link http://www.billerickson.net/wordpress-post-multiple-authors/
*/
*/
function be_author_box() {
function be_author_box() {
if( !is_single() )
if( !is_single() )
return;
return;
if( function_exists( 'get_coauthors' ) ) {
if( function_exists( 'get_coauthors' ) ) {
$authors = get_coauthors();
$authors = get_coauthors();
foreach( $authors as $author )
foreach( $authors as $author )
be_do_author_box( $author->data->ID );
be_do_author_box( $author->data->ID );
} else {
} else {
be_do_author_box( get_the_author_ID() );
be_do_author_box( get_the_author_ID() );
}
}
}
}
/**
/**
* Display Author Box
* Display Author Box
* Modified from Genesis to use an ID
* Modified from Genesis to use an ID
*
*
* @author Bill Erickson
* @author Bill Erickson
* @link http://www.billerickson.net/wordpress-post-multiple-authors/
* @link http://www.billerickson.net/wordpress-post-multiple-authors/
*/
*/
function be_do_author_box( $id = false ) {
function be_do_author_box( $id = false ) {
if( ! $id )
if( ! $id )
return;
return;
$authordata = get_userdata( $id );
$authordata = get_userdata( $id );
$gravatar_size = apply_filters( 'genesis_author_box_gravatar_size', 70, $context );
$gravatar_size = apply_filters( 'genesis_author_box_gravatar_size', 70, $context );
$gravatar = get_avatar( get_the_author_meta( 'email', $id ), $gravatar_size );
$gravatar = get_avatar( get_the_author_meta( 'email', $id ), $gravatar_size );
$title = apply_filters( 'genesis_author_box_title', sprintf( '<strong>%s %s</strong>', __( 'About', 'genesis' ), get_the_author_meta( 'display_name', $id ) ), $context );
$title = apply_filters( 'genesis_author_box_title', sprintf( '<strong>%s %s</strong>', __( 'About', 'genesis' ), get_the_author_meta( 'display_name', $id ) ), $context );
$description = wpautop( get_the_author_meta( 'description', $id ) );
$description = wpautop( get_the_author_meta( 'description', $id ) );
/** The author box markup, contextual */
/** The author box markup, contextual */
$pattern = $context == 'single' ? '<div class="author-box"><div>%s %s<br />%s</div></div><!-- end .authorbox-->' : '<div class="author-box">%s<h1>%s</h1><div>%s</div></div><!-- end .authorbox-->';
$pattern = $context == 'single' ? '<div class="author-box"><div>%s %s<br />%s</div></div><!-- end .authorbox-->' : '<div class="author-box">%s<h1>%s</h1><div>%s</div></div><!-- end .authorbox-->';
echo apply_filters( 'genesis_author_box', sprintf( $pattern, $gravatar, $title, $description ), $context, $pattern, $gravatar, $title, $description );
echo apply_filters( 'genesis_author_box', sprintf( $pattern, $gravatar, $title, $description ), $context, $pattern, $gravatar, $title, $description );
}
}
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
// Remove Genesis Author Box and load our own remove_action( 'genesis_after_post', 'genesis_do_author_box_single' ); add_action( 'genesis_after_post', 'be_author_box' ); /** * Load Author Boxes * * @author Bill Erickson * @link http://www.billerickson.net/wordpress-post-multiple-authors/ */ function be_author_box() { if( !is_single() ) return; if( function_exists( 'get_coauthors' ) ) { $authors = get_coauthors(); foreach( $authors as $author ) be_do_author_box( $author->data->ID ); } else { be_do_author_box( get_the_author_ID() ); } } /** * Display Author Box * Modified from Genesis to use an ID * * @author Bill Erickson * @link http://www.billerickson.net/wordpress-post-multiple-authors/ */ function be_do_author_box( $id = false ) { if( ! $id ) return; $authordata = get_userdata( $id ); $gravatar_size = apply_filters( 'genesis_author_box_gravatar_size', 70, $context ); $gravatar = get_avatar( get_the_author_meta( 'email', $id ), $gravatar_size ); $title = apply_filters( 'genesis_author_box_title', sprintf( '<strong>%s %s</strong>', __( 'About', 'genesis' ), get_the_author_meta( 'display_name', $id ) ), $context ); $description = wpautop( get_the_author_meta( 'description', $id ) ); /** The author box markup, contextual */ $pattern = $context == 'single' ? '<div class="author-box"><div>%s %s<br />%s</div></div><!-- end .authorbox-->' : '<div class="author-box">%s<h1>%s</h1><div>%s</div></div><!-- end .authorbox-->'; echo apply_filters( 'genesis_author_box', sprintf( $pattern, $gravatar, $title, $description ), $context, $pattern, $gravatar, $title, $description ); }
परिवर्तित टेक्स्ट
फ़ाइल खोलें
// Remove Genesis Author Box and load our own remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 ); add_action( 'genesis_after_entry', 'be_author_box', 8 ); /** * Load Author Boxes * * @author Bill Erickson * @link http://www.billerickson.net/wordpress-post-multiple-authors/ */ function be_author_box() { if( !is_single() ) return; if( function_exists( 'get_coauthors' ) ) { $authors = get_coauthors(); foreach( $authors as $author ) be_do_author_box( $author->data->ID ); } else { be_do_author_box( get_the_author_ID() ); } } /** * Display Author Box * Modified from Genesis to use an ID * * @author Bill Erickson * @link http://www.billerickson.net/wordpress-post-multiple-authors/ */ function be_do_author_box( $id = false ) { if( ! $id ) return; $authordata = get_userdata( $id ); $gravatar_size = apply_filters( 'genesis_author_box_gravatar_size', 70, $context ); $gravatar = get_avatar( get_the_author_meta( 'email', $id ), $gravatar_size ); $title = apply_filters( 'genesis_author_box_title', sprintf( '<strong>%s %s</strong>', __( 'About', 'genesis' ), get_the_author_meta( 'display_name', $id ) ), $context ); $description = wpautop( get_the_author_meta( 'description', $id ) ); /** The author box markup, contextual */ $pattern = $context == 'single' ? '<div class="author-box"><div>%s %s<br />%s</div></div><!-- end .authorbox-->' : '<div class="author-box">%s<h1>%s</h1><div>%s</div></div><!-- end .authorbox-->'; echo apply_filters( 'genesis_author_box', sprintf( $pattern, $gravatar, $title, $description ), $context, $pattern, $gravatar, $title, $description ); }
अंतर खोजें