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
//* Create a field for link | |
<p> | |
<label for="<?php echo esc_attr( $this->get_field_id( 'view_all_link' ) ); ?>"> | |
<?php _e( 'View All Links:', 'featured-custom-post-type-widget-for-genesis' ); ?> | |
</label> | |
<input type="text" id="<?php echo esc_attr( $this->get_field_id( 'view_all_link' ) ); ?>" | |
name="<?php echo esc_attr( $this->get_field_name( 'view_all_link' ) ); ?>" | |
value="<?php echo esc_url( $instance['view_all_link'] ); ?>" | |
class="widefat view-all-posts" /> | |
</p> |
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
//* Create a field for subtitle | |
<p> | |
<label for="<?php echo esc_attr( $this->get_field_id( 'subtitle' ) ); ?>"> | |
<?php _e( 'Subtitle:', 'featured-custom-post-type-widget-for-genesis' ); ?> | |
</label> | |
<input type="text" id="<?php echo esc_attr( $this->get_field_id( 'subtitle' ) ); ?>" | |
name="<?php echo esc_attr( $this->get_field_name( 'subtitle' ) ); ?>" | |
value="<?php echo esc_attr( $instance['subtitle'] ); ?>" | |
class="widefat" /> | |
</p> |
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
.epaper-blocker, .epaperBlockerWrap {display:none;} |
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
.feather { | |
width: 60px; | |
height: 60px; | |
fill: transparent; | |
stroke: #333333; | |
stroke-width: .65px; | |
} |
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
<i data-feather="circle"></i> |
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
<script src="https://unpkg.com/feather-icons"></script> | |
<script> | |
feather.replace() | |
</script> |
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
//* STEP #1: ADD EXCERPT SUPPORT TO PAGES | |
add_post_type_support( 'page', 'excerpt' ); | |
//* Output Excerpt on Pages | |
add_action( 'genesis_meta', 'lwp_page_description_meta' ); | |
//* STEP #2: REPLACE DEFAULT ENTRY HEADER WITH EXCERPT | |
function lwp_page_description_meta() { | |
//* If it's a singular page, apply page description |
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
<i class="fa fa-check fa-3x"></i> | |
<i class="fa fa-check fa-6x"></i> | |
<i class="fa fa-angle-double-down fa-8x"></i> | |
<i class="fa fa-angle-double-down fa-10x"></i> |
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
wp_enqueue_style( 'line-awesome', '//maxst.icons8.com/vue-static/landings/line-awesome/font-awesome-line-awesome/css/all.min.css' ); |
NewerOlder