@ 2013-07-07T14:10:29Z <div class="sidebar" id="">
<a href="<?php echo get_settings('home'); ?>"><img src="<?php bloginfo('template_directory'); ?>/_/img/logo.svg"></a>
<nav>
<!--
<ul><?php
$args = array(
'orderby' => 'none',
'order' => 'ASC',
'hide_empty' => 0,
'use_desc_for_title' => 0,
'hierarchical' => 1,
'title_li' => '',
'taxonomy' => 'project_category',
);
wp_list_categories($args); ?>
</ul>
-->
<?php //$current_term = get_query_var( 'term' ); echo $term;
?>
<ul class="projectmenu">
<?php
$custom_terms = get_terms('project_category', 'hide_empty=0');
$c = '0';
foreach($custom_terms as $custom_term) {
wp_reset_query();
$args = array('post_type' => 'project',
'tax_query' => array(
array(
'taxonomy' => 'project_category',
'field' => 'slug',
'terms' => $custom_term->slug,
),
),
);
$loop = new WP_Query($args);
if($loop->have_posts()) {
$c++;
/*
?>
<li><label for="<?php echo 'menu_'.$c.'';?>"><span><?php echo''.$custom_term->name.''; ?></span></label>
<input type="radio" name="category" id="<?php echo 'menu_'.$c.'';?>" value="your value" <?php if(isset($_POST['category'])) echo "checked='checked'"; ?> />
<?php
*/
echo '
<li><label for="menu_'.$c.'"><span>'.$custom_term->name.'</span></label>
<input type="radio" name="category" id="menu_'.$c.'" />
';
?>
<ul class="submenu">
<?php
while($loop->have_posts()) : $loop->the_post();
echo '<li><a href="'.get_permalink().'">'.get_the_title().'</a></li>';
endwhile;
?>
</ul>
<?php
}
} // endif
// } //endif
?>
</li>
</ul>
<!--
<ul>
<li><a href="#">Fotografie</a></li>
<ul class="submenu">
<li><a href="#">long time no see</a></li>
<li><a href="#">on the rocks</a></li>
<li><a href="#">quite simple</a></li>
<li><a href="#">perfect day</a></li>
</ul>
</ul>
-->
<?php wp_nav_menu(array('menu' => 'Hauptnavigation'));?>
</nav>
</div>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 <div class="sidebar" id="">
<a href="
Fatal error: Uncaught Error: Call to undefined function get_settings() in /in/FNjkG:2
Stack trace:
#0 {main}
thrown in /in/FNjkG on line 2
Process exited with code 255 . Output for 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 <div class="sidebar" id="">
<a href="
Fatal error: Call to undefined function get_settings() in /in/FNjkG on line 2
Process exited with code 255 . Output for 4.4.5 - 4.4.9 <div class="sidebar" id="">
<a href="
Fatal error: Call to undefined function: get_settings() in /in/FNjkG on line 2
Process exited with code 255 . Output for 4.3.2 - 4.3.11 , 4.4.0 - 4.4.4 <div class="sidebar" id="">
<a href="
Fatal error: Call to undefined function: get_settings() in /in/FNjkG on line 2
Process exited with code 255 . Output for 4.3.0 - 4.3.1 <div class="sidebar" id="">
<a href="
Fatal error: Call to undefined function: get_settings() in /in/FNjkG on line 2
preferences:dark mode live preview
280.85 ms | 401 KiB | 460 Q