- Ionic Blog - http://blog.ionic.io/
- Nic Raboy - https://blog.nraboy.com
- Jastin James - http://digitaldrummerj.me
- Raymond Camden - http://www.raymondcamden.com
- Simon Reimler - https://devdactic.com
- Andrew McGivery - http://mcgivery.com
- Ashteya Biharisingh - http://www.gonehybrid.com
- Joshua Morony - http://www.joshmorony.com
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 | |
/** | |
* Registers and loads font awesome | |
* CSS files using a CDN. | |
* | |
* @link http://www.bootstrapcdn.com/#tab_fontawesome | |
* @author FAT Media | |
*/ | |
add_action( 'wp_enqueue_scripts', 'prefix_enqueue_awesome' ); | |
/** |
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 | |
//* Remove content/sidebar layout | |
genesis_unregister_layout( 'content-sidebar' ); | |
//* Remove sidebar/content layout | |
genesis_unregister_layout( 'sidebar-content' ); | |
//* Remove content/sidebar/sidebar layout |
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
// Bring back the missing editor for Posts page | |
add_action( 'edit_form_after_title', 'rgc_posts_page_edit_form' ); | |
function rgc_posts_page_edit_form( $post ) { | |
$posts_page = get_option( 'page_for_posts' ); | |
if ( $posts_page === $post->ID ) { | |
add_post_type_support( 'page', 'editor' ); | |
} |
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 tag! | |
// Required Scripts and Styles | |
add_action( 'wp_enqueue_scripts', 'leaven_load_scripts', 15 ); | |
function leaven_load_scripts() { | |
// Responsive Navigation | |
wp_enqueue_style( 'fontawesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', array(), '4.3.0' ); |
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 | |
/** | |
* | |
* Infinite Scroll | |
* | |
* @since 1.0.0 | |
* | |
* @author Lauren Gray | |
* @author Bill Erickson |
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_comment_form_args', 'url_filtered' ); | |
add_filter( 'comment_form_default_fields', 'url_filtered' ); | |
function url_filtered( $fields ) { | |
if ( isset( $fields['url'] ) ) | |
unset( $fields['url'] ); | |
if ( isset( $fields['fields']['url'] ) ) | |
unset( $fields['fields']['url'] ); | |
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
// Bring back the missing editor for Posts page | |
add_action( 'edit_form_after_title', 'rgc_posts_page_edit_form' ); | |
function rgc_posts_page_edit_form( $post ) { | |
$posts_page = get_option( 'page_for_posts' ); | |
if ( $posts_page === $post->ID ) { | |
add_post_type_support( 'page', 'editor' ); | |
} |
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 | |
/* | |
Add back Schema.org/blogPosting microdata to post entries. | |
Replace all instances of "themedemo" with something unique to your site. | |
User input is required in the last function. Be sure to fill these fields in with your own information. | |
Instances where you need to fill in information will be marked with a comment that indicates so. | |
*/ |
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 | |
/* | |
################### READ ME ################################# | |
You must create a proxy file that retrieves your import file from FTP and then returns it. | |
You will then call that file with the 'Download from URL' option in WP All Import. | |
This is an example of such a proxy file. This is provided in the hopes it is useful, but without any support. | |
############################################################### | |
Instructions: | |
* Copy the code below to a new php file in the root of your WP site | |
* Update the FTP server details |
OlderNewer