Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • It has to do with the order the script files are called

    photospace/jquery.galleriffic.js?ver=3.0.4
    photospace/jquery.opacityrollover.js?ver=3.0.4

    should be called last after all other scripts you are using

    it is a problem with your theme not placing <?php wp_head(); ?> right before the end of the header

    its a problem with poorly made themes – which is 90% of the ones out there

    this worked for me

    function exclude_post_categories($excl='', $spacer=' '){
       $categories = get_the_category($post->ID);
          if(!empty($categories)){
          	$exclude=$excl;
          	$exclude = explode(",", $exclude);
    		$thecount = count(get_the_category()) - count($exclude);
          	foreach ($categories as $cat) {
          		$html = '';
          		if(!in_array($cat->cat_ID, $exclude)) {
    				$html .= '<a href="' . get_category_link($cat->cat_ID) . '" ';
    				$html .= 'title="' . $cat->cat_name . '">' . $cat->cat_name . '</a>';
    				if($thecount>1){
    					$html .= $spacer;
    				}
    			$thecount--;
          		echo $html;
          		}
    	      }
          }
    }

    Format like
    <?php exclude_post_categories('1,5',', '); ?>

Viewing 2 replies - 1 through 2 (of 2 total)