How to add exculde tags from tag cloud function to theme options
-
hy i cam across a theme inuit types , well it has function which exculde pages from header in theme options panel , well i want it to be modified so that the tag cloud in my footer , so that i can exculde tags , in my footer using that kind of system , i have the code , dont know hw to edit it
function pages_exclude($options) { $options[] = array( "type" => "wraptop"); $pags = get_pages('sort_order=ASC'); foreach ($pags as $pag) { $options[] = array( "name" => "", "desc" => "", "label" => $pag->post_title, "id" => "pag_exclude_".$pag->ID, "std" => "", "type" => "checkbox"); } $options[] = array( "type" => "wrapbottom"); return $options; } // Custom Page List function get_inc_pages($label) { $include = ''; $counter = 0; $pagsx = get_pages('sort_order=ASC'); foreach ($pagsx as $pag) { $counter++; if ( get_option( $label.$pag->ID ) ) { if ( $counter <> 1 ) { $include .= ','; } $include .= $pag->ID; } } return $include; }
i want it to use it for tagcloud , since that is the only function that has exclude tags from tag cloud
- The topic ‘How to add exculde tags from tag cloud function to theme options’ is closed to new replies.