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 | |
$__POST_display = array(); | |
$args = array( | |
'post_type' => '__POST', | |
'posts_per_page' => -1, | |
); | |
$loop = new WP_Query( $args ); | |
while ( $loop->have_posts() ) : $loop->the_post(); | |
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); | |
if (isset($image[0]) && $image[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
add_action('admin_menu', 'cwa_create_menu'); | |
function cwa_create_menu() { | |
add_menu_page( 'Map Settings', 'Map Settings', 'manage_options', 'cwa-map-settings', 'cwa_settings_page', 'dashicons-location-alt', 61); | |
} | |
add_action( 'admin_init', 'register_cwasettings' ); | |
function register_cwasettings() { | |
// register_setting( 'ew-settings-general', 'cwa_analytics_code' ); | |
register_setting( 'cwa-settings', 'map_center_lat' ); |
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
$animation-funciton: cubic-bezier(0.645, 0.045, 0.355, 1.000); |
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
//removes quick edit from custom post type list | |
function remove_quick_edit( $actions ) { | |
global $post; | |
if( $post->post_type == 'dogs' ) { | |
unset($actions['inline hide-if-no-js']); | |
} | |
return $actions; | |
} | |
if (is_admin()) { |
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
transition: all .2s ease-in-out; |
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
<h1>Headline 1 Text Example</h1> | |
<h2>Headline 2 Text Example</h2> | |
<h3>Headline 3 Text Example</h3> | |
<h4>Headline 4 Text Example</h4> | |
<h5>Headline 5 Text Example</h5> | |
<h6>Headline 6 Text Example</h6> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <strong>Sed lacinia rutrum</strong> finibus. Morbi convallis ut ante id faucibus. Vivamus dui augue, venenatis eget rhoncus in, ornare eget neque. Ut elementum convallis pellentesque. <a href="#" title="test link">Suspendisse a hendrerit</a> diam. Etiam orci velit, egestas vel luctus volutpat, scelerisque nec metus. <em>Interdum et malesuada</em> fames ac ante ipsum primis in faucibus. Nunc ultricies diam eu euismod tempor. Proin fringilla est eget neque mattis, id convallis neque placerat.</p> | |
<blockquote>Vivamus eget purus eu urna auctor feugiat. Donec libero libero, condimentum quis tincidunt ut, luctus vel augue. Praesent tellus nulla, dapibus ut sollicitudin sed, feugiat a nisl. Duis finibus elit elit, ac fringilla ante gravida eget. Ut quis lorem v |
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
position: relative; | |
top: 50%; | |
transform: translateY(-50%); |
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
.effect('highlight',{color:'#FF00FF'},1000); |
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
box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; |
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
.vertical-centered { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%) | |
} |