A checklist of items to check when launching a website or application. Some items may be optional.
- Git Repo Setup
- Spelling, Grammer, Punctuation
- Forms
- Site Speed
- Multi-browser compatibility
# Add filter for listing details | |
add_filter( 'wp_listings_property_details', 'custom_wp_listings_details'); | |
function custom_wp_listings_details() { | |
$property_details_columns = array( | |
'col1' => array( | |
__( 'Price:', 'wp_listings' ) => '_listing_price', | |
__( 'Address:', 'wp_listings' ) => '_listing_address', | |
__( 'City:', 'wp_listings' ) => '_listing_city', | |
__( 'State:', 'wp_listings' ) => '_listing_state', |
<?php | |
/* | |
* | |
* Template Name: IDX Broker | |
* | |
* This template is for displaying the IDX info from | |
* IDXBroker.com in your Genesis child theme. | |
*/ | |
add_action( 'genesis_before_content', 'wsm_idx_open_tag' ); |
<?php | |
// Remove all evidence of WP Engine from the Dashboard, unless the logged in user is "wpengine" | |
$user = wp_get_current_user(); | |
if ( $user->user_login != 'wpengine' ) { | |
add_action( 'admin_init', 'jpry_remove_menu_pages' ); | |
add_action( 'admin_bar_menu', 'jpry_remove_admin_bar_links', 999 ); | |
} | |
/** |
if ($http_referer ~* "semalt\.com") { | |
return 444; | |
} |
.gform_wrapper { | |
ul { | |
@extend .list-unstyled; | |
} | |
li { | |
@extend .form-group; | |
} |
<?php | |
/** Replace the standard loop with our custom Locations loop */ | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); | |
add_action( 'genesis_loop', 'wpseo_locations_archive_loop' ); | |
function wpseo_locations_archive_loop() { | |
echo '<h1>Locations</h1>'; | |
echo '<div class="entry-content"><p>Your intro text here.</p></div>'; | |
$args = array( |
$photon_removed = remove_filter( 'image_downsize', array( Jetpack_Photon::instance(), 'filter_image_downsize' ) ); | |
// Call wp_get_attachment_image(), wp_get_attachment_image_src(), or anything else that ultimately calls image_downsize() | |
if ( $photon_removed ) | |
add_filter( 'image_downsize', array( Jetpack_Photon::instance(), 'filter_image_downsize' ), 10, 3 ); |