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
[wpvideo U0t5LnWv w=633] |
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
<embed type="application/x-shockwave-flash" | |
src="http://s0.videopress.com/player.swf?v=1.03" width="400" | |
height="300" wmode="direct" seamlesstabbing="true" | |
allowfullscreen="true" allowscriptaccess="always" overstretch="true" | |
flashvars="guid=U0t5LnWv&isDynamicSeeking=true"> | |
</embed> |
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
<div style="text-align: center;"> | |
<a href="http://s0.videopress.com/player.swf?guid=U0t5LnWv&v=1.03" | |
data-lightbox="width:640;height:480"> | |
<img title="Seasons screenshot" src="http://blackhillswebworks.com/wp-content/uploads/2012/01/seasons-screenshot.jpg" | |
alt="Seasons screenshot" width="400" height="286" /> | |
</a> | |
</div> |
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
<div style="text-align: center;"> | |
<a title="Seasons" href="#U0t5LnWv" data-lightbox=""> | |
<img title="Seasons" src="http://blackhillswebworks.com/wp-content/uploads/2012/01/seasons-screenshot.jpg" | |
alt="Seasons screenshot" width="400" height="286" /> | |
</a> | |
</div> | |
<div style="display: none;"> | |
<div id="U0t5LnWv" style="width: 633px; height: 475px; overflow: hidden;"> | |
[wpvideo U0t5LnWv w=633 h=475] |
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
'scope' => 'future', | |
'category' => 0, // this adds 'category' to the widget's function | |
'order' => 'ASC', |
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
<p> | |
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title'); ?>: </label> | |
<input type="text" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo $instance['title']; ?>" /> | |
</p> | |
<p><!-- this adds the category option to the widget's form --> | |
<label for="<?php echo $this->get_field_id('category'); ?>"><?php _e('Category ID','dbem'); ?>: </label> | |
<input type="text" id="<?php echo $this->get_field_id('category'); ?>" name="<?php echo $this->get_field_name('category'); ?>" size="3" value="<?php echo $instance['category']; ?>" /><br /> | |
<label for="<?php echo $this->get_field_id('category'); ?>"><?php _e('(separate multiple IDs by commas, or use "0" for all categories)','dbem'); ?> </label> | |
</p> | |
<p> |
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
include_once("widgets/em-events-by-category.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 | |
/** | |
* @author marcus | |
* modified by John Sundberg | |
* Standard events list widget | |
*/ | |
class EM_Widget_by_category extends WP_Widget {//changed | |
var $defaults; | |
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
/** Added the following to limit the number of post revisions */ | |
define('WP_POST_REVISIONS', 3); |
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
DELETE a,b,c | |
FROM wp_posts a | |
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) | |
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id) | |
WHERE a.post_type = 'revision' |