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
on run argv | |
set defaultTime to 1 | |
try | |
set myTime to item 1 of argv as number | |
on error | |
set myTime to defaultTime | |
end try | |
tell application "Usable Keychain Scripting" |
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 | |
// calling the header.php | |
get_header(); | |
// action hook for placing content above #container | |
thematic_abovecontainer(); | |
?> |
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
/* ROUNDED ACCENTS */ | |
/* these create rounded corners on the container */ | |
.container { | |
border-top-left-radius: 10px; | |
-moz-border-radius-topleft: 10px; | |
-webkit-border-top-left-radius: 10px; | |
border-top-right-radius: 10px; | |
-moz-border-radius-topright: 10px; | |
-webkit-border-top-right-radius: 10px; |
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
/* 4 IMAGE GALLERY example*/ | |
.gallery-item { | |
width: 25%; | |
} |
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
Your Name | |
Where I live, State, etc | |
<h2>Education</h2> | |
<ul> | |
<li>2006</li> | |
<li><ul><li>Some Dumb Artschool | MFA, Studio Art</li></ul></li> | |
<li>2001</li> |
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
//add to functions.php | |
// Make two columns: Render a block of text into two columns | |
function wpf_maketwocolumns($atts, $content = null) { | |
return '<div class="maketwocolumns">' . $content . '</div>'; | |
} | |
add_shortcode("maketwocolumns", "wpf_maketwocolumns"); |
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 | |
/* | |
Plugin Name: Relevant Taxonomies Widget | |
Plugin URI: http://github.com/slambert | |
Description: Displays a list of taxonomies related to the content of the post. And doesn't work. | |
Version: 0.1 | |
Author: Steve Lambert | |
Author URI: http://visitsteve.com | |
*/ |
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 | |
// customize admin footer text | |
function wpfolio_admin_footer() { | |
echo 'Thank you for creating with <a href="http://wordpress.org/" target="_blank">WordPress</a>. | <a href="http://codex.wordpress.org/" target="_blank">Documentation</a> | <a href="http://wordpress.org/support/forum/4" target="_blank">Feedback</a> | <a href="http://wpfolio.visitsteve.com/">Theme by WPFolio</a>'; | |
} | |
add_filter('admin_footer_text', 'wpfolio_admin_footer'); | |
// Thumbnail Function | |
function get_thumb ($post_ID){ |
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
///////////////////////////////////////////// | |
// Add custom jQuery plugins and functions // | |
///////////////////////////////////////////// | |
function aaathematic_scripts() { // name the function something unique to your theme | |
if ( !is_admin() ) { // instruction to only load if it is not the admin area | |
wp_enqueue_script('sample_js_file', get_bloginfo('stylesheet_directory') . '/js/aaathematic_scripts.js', array('jquery'), '20100329' ); | |
// the above line includes the name of the file, where the file is in relation to the stylesheet directory, specifying that you're using jQuery and a version number for your file | |
} |
OlderNewer