Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit 332ffda5c357cfb37050ef351490918a8f22c11f 0 parents
@niutech authored
2  .gitignore
@@ -0,0 +1,2 @@
+/*.dropbox
+/desktop.ini
5 README
@@ -0,0 +1,5 @@
+WordPress Blank Theme by Jerzy G�owacki
+
+EN: This is the smallest and the simplest basic theme (framework) for WordPress 3, on which you can build your website or blog. Just copy the folder "blank" to /wp-content/themes/ and start modifying. It's originally in Polish, but it's easily translatable.
+
+PL: Jest to najmniejszy i najprostszy motyw bazowy (framework) dla WordPressa 3, na kt�rym mo�esz oprze� swoj� stron� lub blog. Po prostu skopiuj folder "blank" do /wp-content/themes/ i zacznij modyfikowa�. W oryginale jest po polsku, ale mo�e by� prosto przet�umaczony na inne j�zyki.
6 blank/footer.php
@@ -0,0 +1,6 @@
+ <div id="footer">
+ </div>
+</div>
+<?php wp_footer(); ?>
+</body>
+</html>
12 blank/functions.php
@@ -0,0 +1,12 @@
+<?php
+
+if ( function_exists('register_sidebars') )
+ register_sidebars(1);
+
+if ( function_exists('register_nav_menus') ) {
+ register_nav_menus(array('topmenu'=>'Menu górne'));
+}
+
+if ( function_exists('add_theme_support') ) {
+ add_theme_support('post-thumbnails');
+}
19 blank/header.php
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
+<head>
+ <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
+ <meta name="description" content="<?php bloginfo('description') ?>" />
+ <meta name="author" content="Jerzy Głowacki" />
+ <title><?php wp_title('-', true, 'right'); ?><?php bloginfo('name'); ?></title>
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
+ <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+<?php if ( is_singular() ) wp_enqueue_script('comment-reply'); ?>
+<?php wp_head(); ?>
+</head>
+<body <?php body_class(); ?>>
+<div id="wrapper">
+ <div id="header">
+ <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
+ <p><?php bloginfo('description'); ?></p>
+ <?php wp_nav_menu(array('theme_location'=>'topmenu')); ?>
+ </div>
27 blank/index.php
@@ -0,0 +1,27 @@
+<?php get_header(); ?>
+<?php get_sidebar(); ?>
+
+ <div id="container">
+ <?php if (have_posts()) : ?>
+ <?php while (have_posts()) : the_post(); ?>
+ <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
+ <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+ <?php the_time(); ?>
+ <?php the_author(); ?>
+ <?php the_content(__('Więcej &raquo;')); ?>
+ <?php wp_link_pages(array('before' => '<p><strong>'.__('Strony: ').'</strong>', 'after' => '</p>', 'next_or_number' => 'number')); ?>
+ <?php the_tags(__('Tagi: '), ', ', '<br />'); ?>
+ <?php _e('Kategorie: '); the_category(', '); ?><br />
+ <?php edit_post_link(__('Edytuj'), '', '<br />'); ?>
+ <?php comments_popup_link(__('Brak komentarzy &#187;'), __('1 komentarz &#187;'), __('% komentarzy &#187;')); ?>
+ </div>
+ <?php endwhile; ?>
+ <?php next_posts_link(__('&laquo; Poprzednie')); ?>
+ <?php previous_posts_link(__('Następne &raquo;')); ?>
+ <?php else : ?>
+ <h2><?php _e('Nie znaleziono'); ?></h2>
+ <p><?php _e('Przepraszamy, nic nie znaleziono!'); ?></p>
+ <?php endif; ?>
+ </div>
+
+<?php get_footer(); ?>
BIN  blank/screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 blank/sidebar.php
@@ -0,0 +1,7 @@
+<div id="sidebar">
+ <ul>
+<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
+ <?php wp_list_pages(); ?>
+<?php endif; ?>
+ </ul>
+</div>
111 blank/style.css
@@ -0,0 +1,111 @@
+/*
+Theme Name: Blank Theme
+Theme URI: https://github.com/niutech/wp-blank-theme
+Description: WordPress Blank Theme by Jerzy Głowacki
+Version: 1.0
+Author: Jerzy Głowacki
+Author URI: http://niute.ch
+*/
+
+body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, form, img {
+margin: 0;
+padding: 0;
+border: 0;
+}
+
+body {
+font-family: Verdana, Arial, Helvetica, sans-serif;
+font-size: 12px;
+color: #aaaaaa;
+background-color: #ffffff;
+}
+
+p { margin: 10px 0; }
+h1 { font-size: 24px; margin: 20px 0; }
+h2 { font-size: 18px; margin: 10px 0; }
+h3 { font-size: 14px; margin: 10px 0; }
+
+a, a:visited { color: #555; text-decoration: none; }
+a:hover { color: #aaa; text-decoration: underline; }
+
+#wrapper {
+margin:auto;
+width:1000px;
+}
+
+#sidebar {
+float:left;
+width:265px;
+}
+
+#sidebar li {
+list-style:none;
+}
+
+#container {
+float:left;
+width:735px;
+}
+
+.post {
+}
+
+.alignright {
+float: right;
+margin-left: 10px;
+}
+
+.alignleft {
+float: left;
+margin-right: 10px;
+}
+
+.aligncenter {
+display: block;
+margin: auto;
+}
+
+#footer {
+clear:both;
+width:1000px;
+}
+
+#menu-menu-gorne {
+text-align: center;
+}
+#menu-menu-gorne li {
+display: inline-block;
+position: relative;
+}
+#menu-menu-gorne a {
+display: block;
+display: inline-block;
+line-height: 40px;
+padding: 0 20px;
+}
+#menu-menu-gorne ul {
+display: none;
+float: left;
+left: 0;
+margin: 0;
+position: absolute;
+top: 39px;
+width: 240px;
+z-index: 999;
+text-align: left;
+}
+#menu-menu-gorne ul ul {
+left: 100%;
+top: 0;
+}
+#menu-menu-gorne ul a {
+background: #fff;
+height: auto;
+line-height: 20px;
+padding: 10px;
+width: 220px;
+}
+#menu-menu-gorne li:hover > ul {
+display: block;
+}
+
Please sign in to comment.
Something went wrong with that request. Please try again.