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
unregister_sidebar( 'sidebar' ); |
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
genesis_unregister_layout( 'content-sidebar' ); | |
genesis_unregister_layout( 'sidebar-content' ); |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Redirect homepage on mobile | |
add_action( 'wp_head', 'wps_params', 10 ); | |
function wps_params() { | |
?> | |
<script> | |
if (window.location.pathname == '/' && jQuery(window).width() <= 480) { |
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
<p class="intro>....your text here.....</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
<h3>Genesis e-commerce Theme</h3> | |
<h4>Start earning money by selling your products online</h4> | |
<a href class="button">Purchase Theme</a> |
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
[recent_products per_page="5" columns="5"] |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Modify the Genesis read more link | |
add_filter( 'excerpt_more', 'wps_read_more_link'); | |
add_filter('get_the_content_more_link', 'wps_read_more_link'); | |
function wps_read_more_link() { | |
return '... <a class="more-link" href="' . get_permalink() . '">Continue Reading<span class="screen-reader-text">' . get_the_title() . '</span></a>'; |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Modify the Genesis content read more link | |
add_filter( 'get_the_content_more_link', 'wps_read_more_link' ); | |
add_filter( 'the_content_more_link', 'wps_read_more_link' ); | |
function wps_read_more_link($more) { | |
$read_more_title = sprintf( '<span class="screen-reader-text">%s %s</span>', __( 'about ', 'seasons' ), get_the_title() ); | |
return sprintf( ' ... <a href="%s" class="more-link">%s %s</a>', get_permalink(), __( 'Continue Reading', 'seasons' ), $read_more_title ); |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Add Accessibility support | |
add_theme_support( 'genesis-accessibility', array( '404-page', 'drop-down-menu', 'headings', 'rems', 'search-form', 'skip-links' ) ); |
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
<a href="https://www.wpstud.io/post-examples class="more-link">[Read more...] <span class="screen-reader-text">about Post examples</span></a> |