Pesky image arrows would stay lined up so I decided to make them with just css. Added some hover animation just for fun!
A Pen by Trisha Salas on CodePen.
<?php | |
/** | |
* HTML Template for Order Meal Selection | |
* | |
* @package woocommerce-cote | |
*/ | |
function cote_meals( $meal_type, $section_title, $section_image ) { | |
$meals = get_post_meta( get_the_ID(), $meal_type, true ); |
<?php | |
class Multisite_Directory_Settings { | |
function __construct() { | |
add_action( 'admin_menu', array( $this, 'ms_dir_add_admin_menu' ) ); | |
add_action( 'admin_init', array( $this, 'ms_dir_settings_init' ) ); | |
} |
<?php if ( $phone || $email ) : ?> | |
<div class="top-info"> | |
<div class="contact" itemscope itemtype="http://schema.org/Organization"> | |
<a href="tel:<?php echo $phone; ?>" itemprop="telephone" class="telephone"><?php echo $phone; ?></a> | |
<a href="mailto:<?php echo antispambot( $email ); ?>" itemprop="email" class="email"><?php echo antispambot( $email ); ?></a> | |
</div><!-- contact --> | |
</div><!-- top-info --> | |
<?php endif;?> |
jQuery(document).ready(function($) { | |
//Customer Info | |
$( "#field_1_1 h2.gsection_title" ).click(function() { | |
$( "#field_1_2" ).toggle( "slow", function() { | |
}); | |
}); | |
//Interior Inspection | |
$( "#field_1_13 h2.gsection_title" ).click(function() { |
<?php | |
/********************************* | |
|||| MAGIC.SCRIPT |||| | |
|||| XX |||| | |
|||| ----------------- |||| | |
|||| for migrating |||| | |
|||| multisite posts |||| | |
|||| into a single site |||| | |
**********************************/ | |
<?php | |
/********************************* | |
|||| MAGIC.SCRIPT |||| | |
|||| XX |||| | |
|||| ----------------- |||| | |
|||| for migrating |||| | |
|||| multisite posts |||| | |
|||| into a single site |||| | |
**********************************/ |
#Count Number of Tables | |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'dbName'; | |
#or | |
USE databasename; SHOW TABLES; SELECT FOUND_ROWS(); |
Pesky image arrows would stay lined up so I decided to make them with just css. Added some hover animation just for fun!
A Pen by Trisha Salas on CodePen.
<?php | |
$url = get_post_meta( $post->ID, '_project-url', true ); | |
if ($url != '') { | |
$link = sprintf( __( '%s', 'wpp-portfolio' ), esc_url( $url ) );?> | |
<p><?php echo $link;?></p> | |
<?php } | |
?> |