This file contains hidden or 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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sodales est sit amet sem varius dapibus. In quis ipsum vestibulum, euismod massa ut, tempor quam. Maecenas purus arcu, maximus ac accumsan eu, mattis in eros. Integer a molestie dolor. Donec at luctus lacus. Fusce vel tristique sem. Suspendisse sed dolor purus. | |
<h2>Nam sodales libero eget dolor euismod pharetra. Phasellus ut tellus in lorem rhoncus dapibus.</h2> | |
<ul> | |
<li>Maecenas purus arcu, maximus ac accumsan eu, mattis in eros.</li> | |
<li>Integer a molestie dolor. Donec at luctus lacus. Fusce vel tristique sem.</li> | |
<li>Suspendisse sed dolor purus. Nam sodales libero eget dolor euismod pharetra.</li> | |
<li>Phasellus ut tellus in lorem rhoncus dapibus. Proin a varius ante.</li> | |
</ul> | |
<h3>Proin a varius ante.</h3> | |
tempor quam. Maecenas purus arcu, maximus ac accumsan eu, mattis in eros. Integer a molestie dolor. Donec at luctus lacus. Fusce vel tristique sem. Suspendisse sed dolor purus. |
This file contains hidden or 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
convert input.jpg -resize 300 output.jpg |
This file contains hidden or 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
//set up the loop, in this case we are looping through projects custom post type | |
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
$project_query = new WP_Query( array( | |
'post_type' => 'project', | |
'posts_per_page' => 2, | |
'paged' => $paged | |
) ); | |
?> |
This file contains hidden or 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
jQuery(document).ready(function($) { | |
var show_more_btn = $("#clickme"); | |
show_more_btn.click(function(event) { | |
event.preventDefault(); | |
$( "#toggle_text_box" ).toggle( "slow", function() { | |
// Animation complete. | |
// change btn text | |
if (show_more_btn.text() == 'Show More') { | |
show_more_btn.text('Show Less'); | |
} else { |
This file contains hidden or 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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sodales est sit amet sem varius dapibus. In quis ipsum vestibulum, euismod massa ut, tempor quam. Maecenas purus arcu, maximus ac accumsan eu, mattis in eros. Integer a molestie dolor. Donec at luctus lacus. Fusce vel tristique sem. Suspendisse sed dolor purus. | |
<h2>Nam sodales libero eget dolor euismod pharetra. Phasellus ut tellus in lorem rhoncus dapibus.</h2> | |
<ul> | |
<li>Maecenas purus arcu, maximus ac accumsan eu, mattis in eros.</li> | |
<li>Integer a molestie dolor. Donec at luctus lacus. Fusce vel tristique sem.</li> | |
<li>Suspendisse sed dolor purus. Nam sodales libero eget dolor euismod pharetra.</li> | |
<li>Phasellus ut tellus in lorem rhoncus dapibus. Proin a varius ante.</li> | |
</ul> | |
<h3>Proin a varius ante.</h3> | |
tempor quam. Maecenas purus arcu, maximus ac accumsan eu, mattis in eros. Integer a molestie dolor. Donec at luctus lacus. Fusce vel tristique sem. Suspendisse sed dolor purus. |
This file contains hidden or 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
wp core download | |
wp core config --dbname= --dbuser= --dbpass= --dbprefix= | |
wp core install --url= --title= --admin_user= --admin_password= --admin_email= |
This file contains hidden or 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 $pxs_term_id = get_queried_object()->term_id; ?> | |
<?php $term = get_term($pxs_term_id); ?> | |
<h3><?php echo $term->name;?></h3> |
This file contains hidden or 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
::-webkit-input-placeholder { /* Chrome/Opera/Safari */ | |
color: pink; | |
} | |
::-moz-placeholder { /* Firefox 19+ */ | |
color: pink; | |
} | |
:-ms-input-placeholder { /* IE 10+ */ | |
color: pink; | |
} | |
:-moz-placeholder { /* Firefox 18- */ |
OlderNewer