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
<p>This is your body copy text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent ut feugiat urna, eu mollis sapien. Morbi vestibulum auctor nulla, lacinia malesuada massa ultricies at. Nunc eu felis id diam gravida adipiscing. Mauris accumsan, erat viverra pellentesque eleifend, tortor elit porttitor risus, id gravida nunc nibh vitae odio. <a href="http://#">This is linked text.</a> Aliquam commodo tempor est, sit amet sollicitudin ante scelerisque quis. <b>Bold text.</b> Pellentesque vitae turpis quis mi luctus imperdiet. Donec enim ante, euismod in lacinia id, venenatis non felis. Donec bibendum dapibus eleifend. <i>Text in italics.</i> Integer iaculis, metus sed euismod malesuada, nisl metus gravida orci, non faucibus nibh mauris quis libero. | |
</p> | |
<h1>This is heading 1</h1> | |
<h2>This is heading 2</h2> | |
<h3>This is heading 3</h3> | |
<h4>This is heading 4</h4> | |
<h5>This is heading 5</h5> | |
<h6>This is heading 6</h6> |
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
//Keep formatting tags when pulling posts with a content limit into a widget area, archive, or template | |
add_filter('get_the_content_limit_allowedtags', 'get_the_content_limit_custom_allowedtags'); | |
function get_the_content_limit_custom_allowedtags() | |
{ | |
return '<b>,<br>,<em>,<h1>,<h2>,<h3>,<h4>,<h5>,<h6>,<p>'; //add whatever comma seperated tags you want to this string | |
} |
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
// Paste this code in the body of a wordpress page or post. | |
<html><meta http-equiv="refresh" content="0;url=http://example.com/" /></html> |
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
<head> | |
<style type="text/css"> | |
Your Custom Styles Will Go Here | |
</style> | |
</head> |
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
<head> | |
<style type="text/css"> | |
.site-container { | |
float: none; | |
margin: 0 auto; | |
width: 100% !important; | |
max-width: 100% !important; | |
} | |
.single-landing_page .content { | |
background: none !important; |
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 support for custom flexible header | |
add_theme_support( 'custom-header', array( | |
'flex-width' => true, | |
'width' => 260, | |
'flex-height' => true, | |
'height' => 100, | |
'header-selector' => '.site-title a', | |
'header-text' => false | |
) ); |
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
/* | |
Enews Plugin | |
-----------------------------------------------------------------*/ | |
.home-cta .enews p { | |
width: 50%; | |
float: left; | |
clear: none; | |
font-size: 28px; | |
margin-right: 4%; |
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
//* Customize footer | |
remove_action( 'genesis_footer', 'genesis_do_footer' ); | |
add_action( 'genesis_footer', 'hello_pro_custom_footer' ); | |
function hello_pro_custom_footer() { | |
?> | |
<p>Copyright ©2016 · <a href="https://thebrandid.com/product/hello-wordpress-theme/">Hello</a>, a <a href="http://www.studiopress.com/">Genesis Framework</a> <a href="http://wordpress.org/">WordPress</a> theme from <a target="_blank" href="https://thebrandid.com">brandiD</a></p> | |
<?php | |
} |
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
//* Sticky Navigation for Header Right Menu | |
add_action( 'wp_enqueue_scripts', 'hello_pro_add_sticky_nav_script' ); | |
function hello_pro_add_sticky_nav_script() { | |
global $wp_registered_sidebars; | |
if ( isset( $wp_registered_sidebars['header-right'] ) ) { | |
wp_enqueue_script( 'sticky-nav-script', get_stylesheet_directory_uri() . '/js/sticky-nav.js', array('jquery'), '1.0.0' ); | |
} | |
} |
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
.rpwe_widget { | |
margin-bottom: 30px; | |
} | |
.rpwe-li { | |
width: 33.3%; | |
float: left; | |
} | |
.rpwe-title { |