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
{ | |
zoom: 1; | |
filter: alpha(opacity=50); | |
opacity: 0.5; | |
} |
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 | |
if ( ! is_page_template( 'page-template-blank.php' ) ) : ?> | |
<footer id="main-footer"> | |
<?php get_sidebar( 'footer' ); ?> | |
<?php | |
if ( has_nav_menu( 'footer-menu' ) ) : ?> |
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
class checkbox_platform{ | |
public static function getPlatform(){ | |
$template_swplatform = array( | |
'Windows' => 'Windows', | |
'Mac' => 'Mac', | |
'Linux' => 'Linux', | |
'Unix' => 'Unix' | |
); | |
return $template_swplatform; |
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
class dropdown_category{ | |
public static function getCategory(){ | |
$template_swcategory = array( | |
' '=>"No Category", | |
'Antivirus and Security' => 'Antivirus and Security', | |
'Creativity' => 'Creativity', | |
'Database' => 'Database', | |
'Geographic Info Systems' => 'Geographic Info Systems', | |
'Graphing' => 'Graphing', |
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
require_once('functions.php'); | |
if ( is_active_sidebar( 'sidebar-1' ) ){ | |
$terms = get_the_terms( $post->ID, 'software_categories' ); | |
foreach ( $terms as $term ) { | |
$term_link = get_term_link( $term, 'software_categories' ); | |
echo "<a href='".$term_link."'>" . $term->name . "</a>, "; |
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 | |
/** | |
* Taxonomy Drop Down with hierarchical view using $terms | |
* http://wordpress.stackexchange.com/questions/73583/taxonomy-drop-down-with-hierarchical-view-using-terms | |
*/ | |
// Equipment Category Dropdown, thanks https://gist.github.com/2902509 | |
class Walker_SlugValueCategoryDropdown extends Walker_CategoryDropdown { | |
function start_el(&$output, $category, $depth, $args) { | |
$pad = str_repeat(' ', $depth * 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
<?php | |
/** | |
* Output Taxonomy Slugs | |
* http://wordpress.org/support/topic/output-taxonomy-slugs | |
*/ | |
// function my_dropdown($name, $taxonomy = 'category') { | |
// $defaults = array( | |
// 'taxonomy' => $taxonomy, | |
// 'id' => $name, | |
// 'name' => $name, |
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
// tell WordPress to load the Smoothness theme from Google CDN | |
$protocol = is_ssl() ? 'https' : 'http'; | |
$url = "$protocol://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css"; | |
wp_enqueue_style('jquery-ui-smoothness', $url, false, null); |
OlderNewer