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
add_filter( 'genesis_nav_items', 'nd_twitter_tweak', 10, 2 ); | |
add_filter( 'wp_nav_menu_items', 'nd_twitter_tweak', 10, 2 ); | |
/** | |
* Change Twitter link in Genesis Primary Navigation Extras to open in new window | |
* @author Nick Davis (adpated from Bill Erickson code in the link below) | |
* @author Bill Erickson | |
* @link https://gist.github.com/esanctuary/5320863 | |
* @link http://www.billerickson.net/genesis-wordpress-nav-menu-content/ | |
* | |
* @param string $menu |
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 | |
// Call Ajax | |
add_action( 'wp_ajax_ajax_action', 'esanctuary_sidebar_cookie'); // ajax for logged in users | |
add_action( 'wp_ajax_nopriv_ajax_action', 'esanctuary_sidebar_cookie' ); // ajax for not logged in users |
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 | |
/* | |
* Create New Admin Account in WordPress via FTP | |
* @link: http://stephanis.info/2011/08/11/create-new-admin-account-in-wordpress-via-ftp/ | |
* | |
*/ | |
function add_admin_acct(){ | |
$login = 'myacct1'; |
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
#301 Redirect Entire Directory | |
RedirectMatch 301 ^/blog/wp-content/uploads/(.*) http://www.domain.com/wp-content/uploads/$1 |
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
#301 Redirect Local Images to Live | |
RedirectMatch 301 ^/wp-content/uploads/(.*) http://livewebsite.com/wp-content/uploads/$1 |
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
<div class="pricing-table"> | |
<div class="pricing-column one-third first"> | |
<div class="pricing-content"> | |
<h4>Start Right</h4> | |
<p>A wonderful piece of kit.</p> | |
<ul> | |
<li>Two Pens</li> | |
<li>A Ruler</li> | |
<li>A Notepad & more</li> | |
</ul> |
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
<ul class="featured"> | |
<li>Saves you time</li> | |
<li>Makes you feel part of the community</li> | |
<li>Saves you money</li> | |
</ul> |
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
<iframe src="//player.vimeo.com/video/40548631?title=0&byline=0&portrait=0" width="960" height="540" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> |
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>We look forward to hearing from you. Really.</p> | |
<div class="one-half first"> | |
<p class="address">1 Happy Lane, | |
Timbuctoo, | |
01345 Swaziland</p> | |
</div> | |
<div class="one-half"> | |
<p class="email">[email protected]</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
<p>It’s simple.<br/> | |
Launch a startup<br/>with Kickstart.</p> | |
<p class="featured-link"><a href="#">Click here to start kickstarting</a></p> |
OlderNewer