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 id="rb-follow-button"></div> | |
<script> | |
window.twttr = (function (d,s,id) { | |
var t, js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; | |
js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); | |
return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); | |
}(document, "script", "twitter-wjs")); | |
twttr.ready(function(twttr){ |
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
add_action( 'template_redirect', 'themename_redirect_author_archive_to_profile' ); | |
function themename_redirect_author_archive_to_profile() { | |
if(is_author()){ | |
$user_id = get_query_var( 'author' ); | |
wp_redirect( bp_core_get_user_domain( $user_id ) ); | |
} | |
} |
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 your_theme_ask_question_modal(){ | |
global $dwqa_options; | |
if( isset($dwqa_options['pages']['submit-question']) && is_page( $dwqa_options['pages']['submit-question'] ) ){ | |
?> | |
<div id="dw-skip-ads" class="modal hide fade" data-backdrop="static"> | |
<div class="modal-header"> | |
<button type="button" class="close hide" data-dismiss="modal" aria-hidden="true">×</button> | |
<h3 style="text-transform: none;">For better and faster support, please read our golden rules first <span class="countdown pull-right">(5)</span></h3> |
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 | |
/** | |
* Plugin Name: DW Active Maintenance mode | |
* Plugin URI: http://www.designwall.com/blog/ | |
* Description: Add a maintenance page to your blog | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
**/ |
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 | |
/** | |
* Plugin Name: DW Disable Links in Comments | |
* Description: Convert hyperlinks in comments to plain text url. | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
*/ | |
remove_filter('comment_text', 'make_clickable', 9); |
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 | |
/** | |
* Plugin Name: DW Add Thumbnail to RSS Feeds | |
* Description: Add post thumbnail to RSS feed items. | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
**/ |
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 | |
/** | |
* Plugin Name: DW Disable Auto-Resize Images | |
* Description: Disable WordPress’s Automatic Image Resize Function. | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
*/ | |
add_filter('jpeg_quality', function($arg){ return 100; }); |
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 | |
/** | |
* Plugin Name: DW Post Content Link Replacement | |
* Description: Add target="_blank" and rel="nofollow" to links. | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
**/ |
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 | |
/** | |
* Plugin Name: DW Extra User Fields | |
* Description: Add extra fields to the user profile page. | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
**/ |
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 | |
/** | |
* Plugin Name: DW Post Views Counter | |
* Description: To track and display post views counter. | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
*/ |
OlderNewer