Skip to content

Instantly share code, notes, and snippets.

@lindseyriel
lindseyriel / Genesis After Post Signature
Created May 1, 2015 18:17
Genesis After Post Signature
// Add Signature Image after single post
add_action('genesis_entry_footer', 'custom_include_signature', 1);
function custom_include_signature() {
if(is_single()) { ?>
<img src=" Url Here" alt="Signature" />
<?php }}
.error404 {
background: #fff url(your image url here) top center fixed no-repeat;
background-size: cover;
}
update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );
You're a Travel Blogger, and with that comes many questions from those who follow you possibly looking for travel advice, or who may simply be curious about your travel specifics. Either way, you likely answer the same questions repeatedly. I've incorporated a simple, and clean styled FAQ page to help keep things efficient. You can even add a button into your answers if you'd like your readers to click over to a specific page, the button is also styled within this theme and can easily be added anywhere on your site.
<blockquote>
<h3>A Question Here</h3>
Your answer here, your answer here. These can be easily recreated with a blockquote built into this theme. Check the setup tutorials for more details.
<a href="#" class="button"> button</a>
</blockquote>
<blockquote>
<h3>A Question Here</h3>
@lindseyriel
lindseyriel / gist:597e113c0b49ce288149f5c3b722cd71
Created July 26, 2017 19:22
Change the Plane on Travel Pretty Theme
.subscribe .enews:before {
color: #a0d9ca;
content: "\f072";
font-family: FontAwesome;
font-weight: normal;
font-size: 30px;
font-style: normal;
display: inline-block;
padding-right: 30px;
text-decoration: inherit;
@lindseyriel
lindseyriel / gist:d517a5a1fdd8e47c906bbc99e15ca9de
Last active February 4, 2018 02:44
Travel Pretty Theme Airplane Icon
.subscribe .enews:before {
color: #a0d9ca;
content: "\f1d9";
font-family: FontAwesome;
font-weight: normal;
font-size: 30px;
font-style: normal;
display: inline-block;
padding-right: 30px;
@lindseyriel
lindseyriel / gist:bb4b9986551b4269f6bc1629f02506ca
Created August 13, 2017 15:46
Travel Pretty User Profile Widget
<img src="https://prettydarncute.com/demos/travelpretty/wp-content/uploads/2017/07/HeyTherePic.jpg" />
<img class="alignleft" src="https://prettydarncute.com/demos/travelpretty/wp-content/uploads/2017/07/HeyThere1.jpg" width="75" />I'm so glad you're here! This theme has been a labor of love for over a year, something I've put so much thought into in hopes it makes your life easier and a bit more fun. The graphics above are templates included with this theme, just a couple of the little extras I've added to help you personalize your presence on the web.<img class="alignright" src="https://prettydarncute.com/demos/travelpretty/wp-content/uploads/2017/07/xoLindsey1.jpg" width="100" />
@lindseyriel
lindseyriel / gist:005e1289acee8be42fa8ccf2b8ed8696
Created February 17, 2018 22:22
Resolve Fun Theme WooCommerce Pagination Issue
+$( 'nav' ).before( '<button class="menu-toggle" role="button" aria-pressed="false"></button>' ); // Add toggles to menus