Skip to content

Commit

Permalink
Starter
Browse files Browse the repository at this point in the history
  • Loading branch information
maqsudkarimov committed Oct 6, 2016
1 parent df93b9b commit 2675e45
Show file tree
Hide file tree
Showing 323 changed files with 20,778 additions and 0 deletions.
26 changes: 26 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package qwerty
*/
?>
<?php get_header(); ?>

<div class="container">
<div class="row">
<div class="col-sm-12">
<article>
<section>
<p>
<?php _e("Page not found", "qwerty"); ?>
</p>
</section>
</article>
</div>
</div>
</div>

<?php get_footer(); ?>
12 changes: 12 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php
/**
* The template for displaying archive pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package qwerty
*/
?>
<?php get_header(); ?>

<?php get_footer(); ?>
15 changes: 15 additions & 0 deletions comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* The template for displaying comments.
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package qwerty
*/
?>
<?php get_header(); ?>

<?php get_footer(); ?>
Binary file added fonts/glyphicons-halflings-regular.eot
Binary file not shown.
288 changes: 288 additions & 0 deletions fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/glyphicons-halflings-regular.ttf
Binary file not shown.
Binary file added fonts/glyphicons-halflings-regular.woff
Binary file not shown.
Binary file added fonts/glyphicons-halflings-regular.woff2
Binary file not shown.
21 changes: 21 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package qwerty
*/
?>

</div>

</div>

<?php wp_footer(); ?>

</body>

</html>
28 changes: 28 additions & 0 deletions front-page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/**
* The template for displaying front page.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package qwerty
*/
?>
<?php get_header(); ?>

<?php get_template_part( 'template-parts/template', 'slider' ); ?>

<?php get_template_part( 'template-parts/template', 'contact' ); ?>

<?php get_template_part( 'template-parts/template', 'blog' ); ?>

<?php get_template_part( 'template-parts/template', 'login' ); ?>

<?php get_template_part( 'template-parts/template', 'register' ); ?>

<?php get_template_part( 'template-parts/template', 'profile' ); ?>

<?php get_template_part( 'template-parts/template', 'sponsors' ); ?>

<?php get_footer(); ?>


91 changes: 91 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?php
/**
* qwerty functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package qwerty
*/

define( 'THEME_DIR', get_template_directory() );
define( 'THEME_URI', get_template_directory_uri() );

define( 'THEME_NAME', 'qwerty' );
define( 'THEME_VERSION', '1.0.0' );

define( 'LIBS_DIR', THEME_DIR . '/inc' );
define( 'LIBS_URI', THEME_URI . '/inc' );
define( 'LANG_DIR', THEME_DIR . '/languages' );

add_filter( 'widget_text', 'do_shortcode' );


/* ---------------------------------------------------------------------------
* Loads Theme Textdomain
* --------------------------------------------------------------------------- */
load_theme_textdomain( THEME_NAME, LANG_DIR );

/* ---------------------------------------------------------------------------
* Loads Theme Default Settings
* --------------------------------------------------------------------------- */
require_once( LIBS_DIR . '/config.php' );

/* ---------------------------------------------------------------------------
* Loads the Settings API
* --------------------------------------------------------------------------- */
require_once( LIBS_DIR . '/theme-settings.php' );

/* ---------------------------------------------------------------------------
* Loads Classes
* --------------------------------------------------------------------------- */
require_once( LIBS_DIR . '/classes/class-bootstrap-navwalker.php' );

require_once( LIBS_DIR . '/classes/class-cpt.php' );

require_once( LIBS_DIR . '/classes/meta-box/meta-box.php' );

if( qwerty_get_option( 'html_minify', 'Section-HTML-minify' ) == 'on' )
require_once( LIBS_DIR . '/classes/class-html-minify.php' );

/* ---------------------------------------------------------------------------
* Loads Custom Post Types
* --------------------------------------------------------------------------- */

//require_once( LIBS_DIR . '/post-type-example.php' );

require_once( LIBS_DIR . '/post-type/page.php' );

require_once( LIBS_DIR . '/post-type/post.php' );

require_once( LIBS_DIR . '/post-type/contact.php' );

require_once( LIBS_DIR . '/post-type/slider.php' );

require_once( LIBS_DIR . '/post-type/portfolio.php' );

require_once( LIBS_DIR . '/post-type/sponsors.php' );


/* ---------------------------------------------------------------------------
* Loads Theme Contact
* --------------------------------------------------------------------------- */
require_once( LIBS_DIR . '/theme-contact.php' );

/* ---------------------------------------------------------------------------
* Loads Theme Functions
* --------------------------------------------------------------------------- */
require_once( LIBS_DIR . '/theme-post_page-views.php' );

require_once( LIBS_DIR . '/theme-functions.php' );

require_once( LIBS_DIR . '/theme-admin.php' );

require_once( LIBS_DIR . '/theme-head.php' );

require_once( LIBS_DIR . '/theme-menu.php' );

require_once( LIBS_DIR . '/theme-widgets.php' );

require_once( LIBS_DIR . '/theme-member.php' );

require_once( LIBS_DIR . '/theme-demo.php' );
111 changes: 111 additions & 0 deletions header.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?php
/**
* The header for our theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package qwerty
*/
?>
<!DOCTYPE html>
<html>

<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">

<title><?php wp_title( '', true ); ?></title>
<meta name="description" content="<?php echo qwerty_description(); ?>">
<meta name="keywords" content="<?php echo qwerty_keywords(); ?>">

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<meta property="og:image" content="<?php echo qwerty_get_option( 'AppleTouchIcon144', 'Main' ); ?>">

<link rel="shortcut icon" href="<?php echo qwerty_get_option( 'Favicon', 'Main' ); ?>" type="image/x-icon">
<link rel="apple-touch-icon" href="<?php echo qwerty_get_option( 'AppleTouchIcon', 'Main' ); ?>">
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo qwerty_get_option( 'AppleTouchIcon72', 'Main' ); ?>">
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo qwerty_get_option( 'AppleTouchIcon144', 'Main' ); ?>">

<?php wp_head();?>

</head>

<body>

<div id="wrapper">

<nav id="nav" role="navigation" class="navbar navbar-default navbar-fixed-top">

<div class="container">

<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo home_url('/'); ?>">
<?php bloginfo('name'); ?>
</a>
</div>

<div class="collapse navbar-collapse" id="navbar">

<nav>
<?php
wp_nav_menu( array(
'menu' => '',
'container' => '',
'container_class' => '',
'container_id' => '',
'menu_class' => 'nav navbar-nav navbar-left',
'menu_id' => '',
'echo' => true,
'fallback_cb' => '',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul class="%2$s">%3$s</ul>',
'depth' => 2,
'walker' => new wp_bootstrap_navwalker(),
'theme_location' => 'primary-menu'
)
);
?>

<?php
wp_nav_menu( array(
'menu' => '',
'container' => '',
'container_class' => '',
'container_id' => '',
'menu_class' => 'nav navbar-nav navbar-right',
'menu_id' => '',
'echo' => true,
'fallback_cb' => '',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul class="%2$s">%3$s</ul>',
'depth' => 2,
'walker' => new wp_bootstrap_navwalker(),
'theme_location' => 'main-menu'
)
);
?>

</nav>

</div>

</div>

</nav>

<div class="pjax-container">
Binary file added images/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/favicon/apple-touch-icon-114x114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/favicon/apple-touch-icon-72x72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/favicon/favicon.ico
Binary file not shown.
Binary file added images/portfolio/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portfolio/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portfolio/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portfolio/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portfolio/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portfolio/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portfolio/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portfolio/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2675e45

Please sign in to comment.