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 | |
/* | |
WordPress Template Hierarchy (as of WordPress 4.6) | |
is_404() ------------------------------------------------------------------------------------------------> 404.php | |
is_search() ---------------------------------------------------------------------------------------------> search.php | |
is_front_page() -----------------------------------------------------------------------------------------> front-page.php | |
is_home() -----------------------------------------------------------------------------------------------> home.php |
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
/** | |
* bbPress specific CSS | |
* | |
* @package bbPress | |
* @subpackage Theme | |
*/ | |
/* =bbPress Style | |
-------------------------------------------------------------- */ |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 | |
/** | |
* Post a message to Slack from WordPress | |
* | |
* @param string $message the message to be sent to Slack | |
* @param string $channel the #channel to send the message to (or @user for a DM) | |
* @param string $username the username for this bot eg : WordPress bot | |
* @param string $icon_emoji the icon emoji name for this bot eg :monkey: | |
* |
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 | |
/** | |
* Implementation of Wotlab Burning Board v4.x Forum Converter. | |
* | |
* @since bbPress (r5104) | |
* @link Codex Docs http://codex.bbpress.org/import-forums/burningboard | |
*/ | |
class wbb4 extends BBP_Converter_Base { | |
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 | |
/** | |
* ExpressionEngine converter base impoprter template for bbPress | |
* | |
* @since bbPress (rXXXX) | |
* @link Codex Docs http://codex.bbpress.org/import-forums/expression-engine | |
*/ | |
class ExpressionEngine extends BBP_Converter_Base { |
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: bbPress Permalinks | |
* Plugin URI: http://korobochkin.com/ | |
* Description: Change bbPress permalinks. ID number instead of topic slug. This links better than default if you have Cyrilic or other non english charackters in forum's and topic's slugs. forums/forum/FORUM_SLUG/ → forums/forum/ID/. forums/topic/TOPIC_SLUG/→forums/topic/ID/ | |
* Author: Kolya Korobochkin | |
* Author URI: http://korobochkin.com/ | |
* Version: 1.0.0 | |
* Text Domain: bbpress_permalinks | |
* Domain Path: /languages/ |
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 | |
/** | |
* Implementation of miniBB Forum converter. | |
* | |
* @since bbPress (rXXXX) | |
* @link Codex Docs http://codex.bbpress.org/import-forums/minibb | |
*/ | |
class miniBB extends BBP_Converter_Base { |
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 | |
/** | |
* Implementation of Active Forums for DotNetNuke Converter | |
* | |
* @since bbPress (r4689) | |
*/ | |
class DotNetNuke extends BBP_Converter_Base { | |
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 | |
/** | |
* Implementation of Vanilla 2.0.18.1 Converter | |
* | |
* @since bbPress (r4717) | |
* @link Codex Docs http://codex.bbpress.org/import-forums/vanilla | |
*/ | |
class Vanilla extends BBP_Converter_Base { |
NewerOlder