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
| //this goes in your functions.php file | |
| <?php //this line is only for the Gist syntax highlight, don't need to put it in your file | |
| function my_admin_styles() { | |
| wp_enqueue_style('admin_styles' , get_stylesheet_directory_uri().'/admin-style.css'); | |
| } | |
| add_action('admin_head', 'my_admin_styles'); |
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
| ; Default timeout for socket based streams (seconds) | |
| ; http://php.net/default-socket-timeout | |
| default_socket_timeout = 300 |
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
| /*Active tag description shortcode*/ | |
| add_shortcode('tag_desc', 'tag_desc_shortcode'); | |
| function tag_desc_shortcode( $atts, $content = null ) { | |
| $output .= '<span class="tag_description">'.$description = tag_description().'</span>'; | |
| return $output; | |
| } |