-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8207501
commit cf9e1bd
Showing
3 changed files
with
124 additions
and
102 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,54 @@ | ||
|
||
|
||
<div class="search-and-find"> | ||
<form action="<?php bloginfo('url'); ?>" method="get"> | ||
<input type="text" name="s" id="search" value="<?php the_search_query(); ?>" | ||
class="input-search" placeholder="<?php _e( 'Search and Enter...','siforum' ); ?>" /> | ||
</form> | ||
</div> | ||
<div class="search-and-find"> | ||
<form action="<?php bloginfo( 'url' ); ?>" method="get"> | ||
<input type="text" name="s" id="search" value="<?php the_search_query(); ?>" class="input-search" | ||
placeholder="<?php _e( 'Search and Enter...', 'siforum' ); ?>" /> | ||
</form> | ||
</div> | ||
|
||
|
||
|
||
<ul class="cat-list"> | ||
|
||
<ul class="cat-list"> | ||
|
||
<li class="cat-list-home"> | ||
<a href="<?php bloginfo('url'); ?>"> | ||
<span style="color:white" class="dashicons dashicons-admin-comments"></span><?php _e( 'All Discussions','siforum' ); ?> | ||
</a> | ||
</li> | ||
|
||
<li class="cat-list-home"> | ||
<a href="<?php bloginfo( 'url' ); ?>"> | ||
<span style="color:white" | ||
class="dashicons dashicons-admin-comments"></span><?php _e( 'All Discussions', 'siforum' ); ?> | ||
</a> | ||
</li> | ||
|
||
|
||
<?php $taxonomies = get_terms( array( 'taxonomy' => 'category', 'hide_empty' => false, 'exlude' => array(19,19) ) ); | ||
foreach( $taxonomies as $c ) { ?> | ||
|
||
<li> | ||
<a href="<?php echo get_term_link( $c ); ?>"> | ||
<span style="color:<?php echo get_term_meta($c->term_id, 'color_code', true); ?>" class="dashicons <?php echo get_term_meta($c->term_id, 'icon_slug', true); ?>"></span><?php echo $c->name; ?> | ||
</a> | ||
</li> | ||
|
||
<?php } ?> | ||
<?php | ||
$taxonomies = get_terms( | ||
array( | ||
'taxonomy' => 'category', | ||
'hide_empty' => false, | ||
'exlude' => array( | ||
19, | ||
19, | ||
), | ||
) | ||
); | ||
foreach ( $taxonomies as $c ) { | ||
?> | ||
|
||
<li> | ||
<a href="<?php echo get_term_link( $c ); ?>"> | ||
<?php | ||
$dash = 'dashicons'; | ||
$fontawesome = get_theme_mod( 'siforum_fontawesome_select' ); | ||
if ( ! empty( $fontawesome ) && 'yes' === $fontawesome ) { | ||
$dash = ''; | ||
} | ||
?> | ||
<span style="color:<?php echo get_term_meta( $c->term_id, 'color_code', true ); ?>" | ||
class="<?php echo $dash; ?> <?php echo get_term_meta( $c->term_id, 'icon_slug', true ); ?>"></span><?php echo $c->name; ?> | ||
</a> | ||
</li> | ||
|
||
<?php } ?> | ||
|
||
</ul> | ||
|
||
|
||
|
||
</ul> |