- http://drawsketch.about.com/od/learntodraw/Beginner_Drawing_Lessons_Learn_To_Draw.htm
- http://www.thriveart.com/
- http://www.drawspace.com/
- http://www.toadhollowstudio.com/index.html
- http://www.fivepencilmethod.com/tutorials/
- http://www.universalclass.com/i/course/how-to-draw.htm https://www.udemy.com/courses/search?q=draw
- http://www.klinecreative.com/free-online-art-lessons.htm
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 | |
/* | |
* Functionality to set up custom shortcode correctly. | |
* | |
* This function is attached to the 'the_content' filter hook. | |
*/ | |
add_filter( 'the_content', 'run_bbcodes', 7 ); | |
function run_bbcodes( $content ) { |
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 | |
/** | |
* Plugin Name: Snippets Shortcode | |
* Plugin URI: http://wordpress.stackexchange.com/q/116044/12615 | |
* Description: Add code snippets as a Custom Post Type. Display in regular posts and pages using a Shortcode. Rendered with Google Prettify in frontend. | |
* Version: 1.0 | |
* Author: Rodolfo Buaiz | |
* Author URI: http://brasofilo.com | |
* License: GPLv2 or later | |
* |
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
<!-- Published Date --> | |
<span class="posted-on"><time class="entry-date published" datetime="<?php the_time('c'); ?>" pubdate title="Published on <?php the_time('d M, Y \a\t H:i:s T'); ?>"><?php the_time('d M Y'); ?></time></span> | |
<!-- Last Modified Date --> | |
<span class="modified-on"><time class="updated" datetime="<?php the_modified_time('c'); ?>" title="Last updated on <?php the_modified_time('d M, Y \a\t H:i:s T'); ?>"><?php the_modified_time('j F, Y'); ?></time></span> | |
<!-- Post Author (Anchor) --> |
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 | |
/* Register custom post types on the 'init' hook. */ | |
add_action( 'init', 'my_register_post_types' ); | |
/** | |
* Registers post types needed by the plugin. | |
* | |
* @since 0.1.0 | |
* @access public |
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 | |
/* | |
* How to use `get_post_type_object` function | |
* http://wordpress.stackexchange.com/q/6731 | |
*/ | |
if( !in_array( $post->post_type, array( 'post', 'page' ) ) ) { | |
// if( 'post' != get_post_type() || 'page' != get_post_type() ) { |
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 | |
/* | |
* Always input date in ISO 8601 format (YYYY-MM-DDThh:mm:ss.sTZD) to | |
* allow for conversion to a different format before display. | |
* | |
* e.g. 1997-07-16T19:20:30.45+01:00, 1997-07-16 | |
* | |
* http://www.w3.org/TR/NOTE-datetime | |
* http://php.net/manual/en/function.date.php |
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 | |
function h5bs_enqueue_scripts() { | |
wp_enqueue_script( 'typekit', '//use.typekit.net/xxxxxxx.js' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'h5bs_enqueue_scripts' ); | |
function h5bs_typekit_inline() { |