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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
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
if ( ! function_exists( 'prefix_post_format_icon' ) ) : | |
/** | |
* Prints HTML with meta information for the current post format using Font Awesome. | |
*/ | |
function prefix_post_format_icon(){ | |
$icon_string = '<span class="format-icon"><i class="fa %1$s"></i></span>'; | |
if(is_sticky()){ | |
$format_icon_class = 'fa-thumb-tack'; | |
}else{ | |
switch (get_post_format()) { |
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
if ( ! function_exists( 'prefix_display_header_img' ) ) : | |
/** | |
* Displays header_image as header background | |
* Change 'prefix' to your theme's prefix | |
* It's ready to be used with _s class '.site-header' | |
* @see prefix_display_header_img(). | |
*/ | |
function prefix_display_header_img(){ | |
if ( get_header_image() ){ | |
$image = esc_url(get_header_image()); |