forked from owen0o0/WebStack
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
13 changed files
with
359 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?php | ||
if ( ! defined( 'ABSPATH' ) ) { exit; } | ||
get_header(); ?> | ||
|
||
|
||
<?php | ||
$categories= get_categories(array( | ||
'taxonomy' => 'favorites', | ||
'meta_key' => '_term_order', | ||
'orderby' => 'meta_value_num', | ||
'order' => 'desc', | ||
'hide_empty' => 0, | ||
) | ||
); | ||
include( 'templates/header-nav.php' ); | ||
?> | ||
<div class="main-content"> | ||
<nav class="navbar user-info-navbar" role="navigation"> | ||
<div class="navbar-content"> | ||
<ul class="user-info-menu left-links list-inline list-unstyled"> | ||
<li class="hidden-xs"> | ||
<a href="#" data-toggle="sidebar"> | ||
<i class="fa fa-bars"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<div id="he-plugin-simple"></div> | ||
<script>WIDGET = {CONFIG: {"modules": "12034","background": 5,"tmpColor": "aaa","tmpSize": 16,"cityColor": "aaa","citySize": 16,"aqiSize": 16,"weatherIconSize": 24,"alertIconSize": 18,"padding": "30px 10px 30px 10px","shadow": "1","language": "auto","borderRadius": 5,"fixed": "false","vertical": "middle","horizontal": "left","key": "a922adf8928b4ac1ae7a31ae7375e191"}}</script> | ||
<script src="https://widget.heweather.net/simple/static/js/he-simple-common.js?v=1.1"></script> | ||
</li> | ||
</ul> | ||
</div> | ||
<a href="https://github.com/owen0o0/WebStack" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a> | ||
</nav> | ||
<?php | ||
if(io_get_option('is_search')){include('search-tool.php'); } | ||
else{?> | ||
<div class="no-search"></div> | ||
<?php } ?> | ||
<h4 class="text-gray"><i class="icon-io-tag" style="margin-right: 27px;" id="<?php single_cat_title() ?>"></i><?php single_cat_title() ?></h4> | ||
<div class="row"> | ||
<?php if ( have_posts() ) : ?> | ||
<?php while ( have_posts() ) : the_post(); | ||
$link_url = get_post_meta($post->ID, '_sites_link', true); | ||
$default_ico = get_template_directory_uri() .'/images/favicon.png'; | ||
if(current_user_can('level_10') || get_post_meta($post->ID, '_visible', true)!="true"): | ||
?> | ||
<div class="xe-card <?php echo io_get_option('columns') ?> <?php echo get_post_meta($post->ID, '_wechat_qr', true)? 'wechat':''?>"> | ||
<?php include( 'templates/site-card.php' ); ?> | ||
</div> | ||
<?php endif; endwhile; endif;?> | ||
</div> | ||
<br /> | ||
|
||
分页功能 | ||
|
||
<?php get_footer(); ?> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.