What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-17 14:10:32
true not true acf
<?php if ( get_field( 'field_name' ) ): ?> This is displayed when the field_name is TRUE or has a value. <?php else: // field_name returned false ?> This is displayed when the field is FALSE, NULL or the field does not exist. <?php endi... Add solution -
Other 2022-02-13 19:10:03
keep incrimenting post offset in a custom query
<?php // the query $the_query = new WP_Query( $args ); ?> <?php if ( $the_query->have_posts() ) : ?> <!-- pagination here --> <!-- the loop --> &n... Add solution -
PHP 2021-10-07 03:50:03
cart-order
<?php /** * Review order table * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/review-order.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need... Add solution -
PHP 2021-09-16 10:01:02
php html template if conditions
<?php if( $condition ): ?> <a href="http://yahoo.com">This will only display if $condition is true</a> <?php elseif($anotherCondition) : ?> more html <?php else : ?> even more html <?php endif; ?> Add solution