This file contains hidden or 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
<li id="header_link_sitemap"> | |
<a href="{$link->getPageLink('sitemap')|escape:'html'}" | |
title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='sitemap' mod='blockpermanentlinks'} | |
</a> | |
</li> |
This file contains hidden or 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
// CUSTOM ADMIN LOGIN HEADER LOGO | |
function my_custom_login_logo() | |
{ | |
echo '<style type="text/css"'> h1 a { background-image:url(' . get_stylesheet_directory_uri() . '/assets/images/logo_admin.png) !important; } '</style'>'; | |
} | |
add_action('login_head', 'my_custom_login_logo'); |
This file contains hidden or 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 wpb_reverse_comments($comments) { | |
return array_reverse($comments); | |
} | |
add_filter ('comments_array', 'wpb_reverse_comments'); |
This file contains hidden or 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_filter('upload_mimes','add_custom_mime_types'); | |
function add_custom_mime_types($mimes){ | |
return array_merge($mimes,array ( | |
'svg' => 'image/svg+xml' | |
)); | |
} |
This file contains hidden or 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 wpb_change_title_text( $title ){ | |
$screen = get_current_screen(); | |
if ( 'team' == $screen->post_type ) { | |
$title = 'Enter the team title'; | |
} | |
return $title; | |
} | |
This file contains hidden or 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
define('DB_HOST', $_ENV{DATABASE_SERVER}); |
This file contains hidden or 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
define('WP_ALLOW_REPAIR', true); |
This file contains hidden or 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
define('FS_METHOD', 'direct'); |
This file contains hidden or 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
define(‘WP_DEBUG’, true); // enable debugging mode |
This file contains hidden or 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
define('WP_HOME', 'http://website.com'); | |
define('WP_SITEURL', 'http://website.com'); |