Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit

Permalink
Bower has been updated. Some bugs has been solved.
Browse files Browse the repository at this point in the history
  • Loading branch information
erhankilic committed Sep 11, 2016
1 parent ee7744e commit 8f942fd
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 44 deletions.
21 changes: 16 additions & 5 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
{
"name": "İdea Yazılım",
"description": "İdea Yazılım Wordpress Tema",
"version": "1",
"homepage": "https://ideayazilim.net",
"name": "admin lte wordpress Theme",
"homepage": "https://github.com/erhankilic/AdminLteWpTheme",
"description": "Admin Lte Wordpress Theme",
"main": "",
"keywords": [
"wordpress",
"admin",
"lte",
"admin",
"adminlte"
],
"authors": [
"Erhan Kılıc"
],
"license": "MIT",
"dependencies": {
"AdminLTE": "admin-lte#~2.3.0"
"AdminLTE": "adminlte#^2.3.6"
}
}
14 changes: 13 additions & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@
<div class="control-sidebar-bg"></div>

</div><!-- ./wrapper -->

<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/dist/css/AdminLTE.min.css">
<!-- AdminLTE Skins -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/dist/css/skins/skin-purple.min.css">
<?php if (get_option('github_check') == 'true') : ?>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.min.css">
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/assets/github-activity-master/src/github-activity.css">
<?php endif; ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
<!-- Bootstrap 3.3.5 -->
<script src="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/bootstrap/js/bootstrap.min.js"></script>
<!-- FastClick -->
Expand Down
8 changes: 2 additions & 6 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,10 @@

/* Breadcrums Function */
function breadcrums() {
if (!is_home()) {
if (!is_home() && !is_category()) {
echo '<li><i class="fa fa-dashboard"></i> ';
bloginfo('name');
echo '</li><li class="active">';
if (is_category()) {
echo the_category('title_li=');
}
elseif (is_single()) {
echo '</li><li class="active">';if (is_single()) {
echo get_the_title();
}

Expand Down
28 changes: 7 additions & 21 deletions header.php
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<meta charset="<?php bloginfo('charset'); ?>"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php the_title(); ?></title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/dist/css/AdminLTE.min.css">
<!-- AdminLTE Skins -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/dist/css/skins/skin-purple.min.css">
<?php if (get_option('github_check') == 'true') : ?>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.min.css">
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/assets/github-activity-master/src/github-activity.css">
<?php endif; ?>

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
<!-- jQuery 2.1.4 -->
<script src="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/plugins/jQuery/jQuery-2.1.4.min.js"></script>

<?php wp_get_archives('type=monthly&format=link'); ?>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>"/>
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>"/>
Expand All @@ -38,6 +20,8 @@
<link rel="profile" href="http://gmpg.org/xfn/11"/>
<?php if (is_singular()) wp_enqueue_script('comment-reply'); ?>

<!-- jQuery 2.2.3 -->
<script src="<?php bloginfo('template_url'); ?>/vendor/AdminLTE/plugins/jQuery/jquery-2.2.3.min.js"></script>
<?php wp_head(); ?>
</head>
<body class="hold-transition skin-purple fixed sidebar-mini">
Expand Down Expand Up @@ -123,7 +107,7 @@ class="fa fa-linkedin"></i></a></li>
<form action="<?php bloginfo('url'); ?>" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="s" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<span class="input-group-btn">
<button type="submit" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
</span>
</div>
Expand All @@ -132,7 +116,9 @@ class="fa fa-linkedin"></i></a></li>
<!-- sidebar menu: : style can be found in sidebar.less -->
<?php wp_nav_menu(array('theme_location' => 'sidebar', 'menu_class' => 'sidebar-menu', 'walker' => new Sidebar_Nav_Menu())); ?>
<div class="ad">
<?php if(get_option('ad_menu') != '') { echo stripslashes(get_option('ad_menu')); } ?>
<?php if (get_option('ad_menu') != '') {
echo stripslashes(get_option('ad_menu'));
} ?>
</div>
</section>
<!-- /.sidebar -->
Expand Down
3 changes: 0 additions & 3 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<?php the_title(); ?>
</h1>
<ol class="breadcrumb">
<?php breadcrums() ?>
</ol>
Expand Down
13 changes: 5 additions & 8 deletions single.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<?php the_title(); ?>
</h1>
<ol class="breadcrumb">
<?php breadcrums() ?>
</ol>
Expand All @@ -26,11 +23,6 @@
<?php echo stripslashes(get_option('ad_header_mobile')); ?>
</div>
<?php endif; ?>
<div class="col-md-3 side-bar hidden-xs hidden-sm">

<?php dynamic_sidebar('Side Bar'); ?>

</div>
<!-- /.col -->
<div class="col-md-9">
<div class="box box-primary">
Expand Down Expand Up @@ -158,6 +150,11 @@
</div>
<!-- /.box -->
</div>
<div class="col-md-3 side-bar hidden-xs hidden-sm">

<?php dynamic_sidebar('Side Bar'); ?>

</div>
<?php if(get_option('ad_footer') != '') : ?>
<div class="col-md-12 hidden-xs hidden-sm ad">
<?php echo stripslashes(get_option('ad_footer')); ?>
Expand Down

0 comments on commit 8f942fd

Please sign in to comment.