Skip to content

Commit

Permalink
removed footer navigation and improved theme info page
Browse files Browse the repository at this point in the history
  • Loading branch information
Netzberufler committed Jan 13, 2016
1 parent df5ecb7 commit 555623a
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 297 deletions.
41 changes: 14 additions & 27 deletions README.md
Expand Up @@ -5,7 +5,8 @@ Poseidon is distributed under the terms of the GNU GPL
Thanks for Downloading Poseidon
===================================

Thank you for downloading my theme.
Thank you for downloading the Poseidon WordPress theme.

If you have any questions that are beyond the scope of this help file,
please visit themezee.com. Thanks so much!

Expand All @@ -19,9 +20,8 @@ Table of Contents
* B) Installation
* C) Theme Options
* D) Theme Documentation
* E) Page Templates
* F) Theme License
* G) Licenses of bundled resources
* E) Theme License
* F) Licenses of bundled resources
-----------------------------------

===================================
Expand All @@ -30,10 +30,9 @@ A) Requirements

The theme has been tested on all major browsers including Firefox, Opera, Chrome,
Internet Explorer and Safari. Your browser should have JavaScript enabled to make this theme work!
For example the DropDown Navigation and the Content Slider need Javascript to work.

The theme works on the latest Wordpress version without any problems. Previous versions have not been tested
and are not supported. I suggest to update your wordpress installation, especially due to security flaws.
and are not supported. We suggest to update your wordpress installation, especially due to security flaws.

===================================
B) Installation
Expand All @@ -46,7 +45,7 @@ B) Installation
Upload the theme files to your wordpress theme folder wp-content/themes and activate the theme in
your wordpress admin panel. That's it!

To find out more about installing WordPress themes please also see http://themezee.com/docs/install-wordpress-themes/
To find out more about installing WordPress themes please also see https://themezee.com/docs/install-wordpress-themes/

===================================
C) Theme Options
Expand All @@ -60,29 +59,17 @@ D) Theme Documentation
===================================

Need any help to setup and configure this theme? We got you covered with an extensive theme documentation on our website.
http://themezee.com/docs/Poseidon-documentation/

===================================
E) Page Templates
===================================

I have included a few, nice page templates for advanced content presentation.

1. Fullwidth Template
This template shows a static page without the blog sidebar

2. Magazine Homepage Template
Displays a magazine-styled homepage with various posts.
https://themezee.com/docs/Poseidon-documentation/

===================================
F) Theme License
E) Theme License
===================================

Poseidon is released under the GNU general public license.
That means you can use this theme on all of your websites - for personal or commercial purposes!

===================================
G) Licenses of bundled resources
F) Licenses of bundled resources
===================================

1. Genericons Icon Font - http://genericons.com
Expand All @@ -102,16 +89,16 @@ G) Licenses of bundled resources
Copyright: 2015 WooThemes, http://www.woothemes.com

5. Ubuntu Font - https://www.google.com/fonts/specimen/Ubuntu
License: Distributed under the terms of the Apache License (http://www.apache.org/licenses/LICENSE-2.0.html)
Copyright: 2015 Christian Robertson
License: Distributed under the terms of the Ubuntu Font License (http://font.ubuntu.com/ufl/)
Copyright: 2015 Dalton Maag

6. Raleway Font - https://www.google.com/fonts/specimen/Hammersmith+One
6. Raleway Font - https://www.google.com/fonts/specimen/Raleway
License: Distributed under the terms of the SIL Open Font License (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
Copyright: 2015 Sorkin Type
Copyright: 2015 Matt McInerney, Pablo Impallari

7. Images from Pixabay - http://pixabay.com
License: Distributed under the terms of the CC0 License (https://creativecommons.org/publicdomain/zero/1.0/)
Copyright: 2015 Pixabay users werner22brigitte, sciencefreak, geralt
Copyright: 2015 Pixabay users: werner22brigitte, sciencefreak, geralt

Images used in screenshot.jpg:
Image 1: https://pixabay.com/en/fantasy-magic-mystic-fantastic-466759/
Expand Down
63 changes: 1 addition & 62 deletions changelog.txt
Expand Up @@ -2,70 +2,9 @@
Poseidon Changelog
===================================

Version 1.1.3
-----------------------------------
[added] setting to disable single post navigation

Version 1.1.2
-----------------------------------
[added] support for ThemeZee Related Posts plugin
[fixed] styling of archive descriptions

Version 1.1.1
-----------------------------------
[added] basic support for wooCommerce
[added] support for ThemeZee Breadcrumbs plugin
[added] custom header image settings
[added] theme links in theme options panel

Version 1.1.0
-----------------------------------
[added] social icon for newsletter and mailto links
[fixed] Javascript error on pages without sidebar

Version 1.0.9
-----------------------------------
[added] Post Slider page template
[changed] h2 post titles in post widgets to h1 for better SEO
[fixed] postmeta styling for widget bundle

Version 1.0.8
-----------------------------------
[fixed] styling of broken full width page template

Version 1.0.7
-----------------------------------
[added] escaping for translation strings for improved security

Version 1.0.6
-----------------------------------
[improved] structure of post meta functions for better re-usability
[added] postmeta setting to Magazine Posts Boxed widget
[added] postmeta setting to Magazine Posts Columns widget
[added] postmeta setting to Magazine Posts Grid widget

Version 1.0.5
-----------------------------------
[added] theme support for Widget Bundle Addon Plugin
[moved] content wrapper to header.php and footer.php

Version 1.0.4
-----------------------------------
[moved] register_widget functions to widgets_init action hook to fix widget translation
[added] readme.txt

Version 1.0.3
-----------------------------------
[improved] phrasing of all translatable text strings
[added] German language files

Version 1.0.2
-----------------------------------
[fixed] deprecating PHP4 style constructors notices in WordPress 4.3

Version 1.0.1
-----------------------------------
[fixed] Poseidon Magazine Posts Widgets causing some warnings on post edit screen
[added] Magazine Homepage page template

Version 1.0
-----------------------------------
Expand Down
2 changes: 1 addition & 1 deletion css/flexslider.css
Expand Up @@ -133,7 +133,7 @@ html[xmlns] .zeeflexslider .zeeslides {
text-shadow: 0 0 5px #000;
}

.entry-meta span:after {
.post-slider .zeeslide .entry-meta span:after {
color: #fff;
}

Expand Down
15 changes: 11 additions & 4 deletions css/theme-info.css
Expand Up @@ -114,18 +114,25 @@

/* Getting Started */
#getting-started {
margin: 1em 0;
margin: 2em 0;
}
#getting-started .section {
margin: 0.5em 0 2.5em;
margin: 2em 0 4em;
}
#getting-started .section .about {
color: #777777;
font-size: 1.2em;
line-height: 1.6em;
}
#getting-started img {
margin-top: 1em;

/* More Features */
#more-features .section {
margin: 1em 0 3em;
}
#more-features .section .about {
color: #777777;
font-size: 1.2em;
line-height: 1.6em;
}

/* Theme Author */
Expand Down
16 changes: 2 additions & 14 deletions footer.php
Expand Up @@ -18,22 +18,10 @@
<footer id="colophon" class="site-footer container clearfix" role="contentinfo">

<div id="footer-text" class="site-info">
<?php do_action('poseidon_footer_text'); ?>
<?php do_action( 'poseidon_footer_text' ); ?>
</div><!-- .site-info -->

<nav id="footer-links" class="footer-navigation navigation clearfix" role="navigation">
<?php
// Display Footer Navigation
wp_nav_menu( array(
'theme_location' => 'footer',
'container' => false,
'menu_class' => 'footer-navigation-menu',
'echo' => true,
'fallback_cb' => '',
'depth' => 1)
);
?>
</nav><!-- #footer-links -->
<?php do_action( 'poseidon_footer_menu' ); ?>

</footer><!-- #colophon -->

Expand Down
15 changes: 5 additions & 10 deletions functions.php
Expand Up @@ -38,13 +38,8 @@ function poseidon_setup() {
// Set detfault Post Thumbnail size
set_post_thumbnail_size( 840, 560, true );

// This theme uses wp_nav_menu() in one location.
register_nav_menus( array(
'primary' => esc_html__( 'Main Navigation', 'poseidon' ),
'secondary' => esc_html__( 'Top Navigation', 'poseidon' ),
'footer' => esc_html__( 'Footer Navigation', 'poseidon' ),
'social' => esc_html__( 'Social Icons', 'poseidon' ),
) );
// Register Navigation Menu
register_nav_menu( 'primary', esc_html__( 'Main Navigation', 'poseidon' ) );

// Switch default core markup for search form, comment form, and comments to output valid HTML5.
add_theme_support( 'html5', array(
Expand All @@ -57,8 +52,8 @@ function poseidon_setup() {
// Set up the WordPress core custom header feature.
add_theme_support('custom-header', apply_filters( 'poseidon_custom_header_args', array(
'header-text' => false,
'width' => 1190,
'height' => 250,
'width' => 1920,
'height' => 480,
'flex-height' => true
) ) );

Expand Down Expand Up @@ -169,7 +164,7 @@ function poseidon_google_fonts_url() {
function poseidon_add_image_sizes() {

// Add Custom Header Image Size
add_image_size( 'poseidon-header-image', 2500, 500, true );
add_image_size( 'poseidon-header-image', 1920, 480, true );

// Add different thumbnail sizes for widgets and post layouts
add_image_size( 'poseidon-thumbnail-small', 120, 80, true );
Expand Down
7 changes: 3 additions & 4 deletions header.php
Expand Up @@ -7,9 +7,6 @@
* @package Poseidon
*/

// Get Theme Options from Database
$theme_options = poseidon_theme_options();

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>

Expand All @@ -28,13 +25,15 @@

<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'poseidon' ); ?></a>

<?php do_action( 'poseidon_header_bar' ); ?>

<header id="masthead" class="site-header clearfix" role="banner">

<div class="header-main container clearfix">

<div id="logo" class="site-branding clearfix">

<?php do_action('poseidon_site_title'); ?>
<?php do_action( 'poseidon_site_title' ); ?>

</div><!-- .site-branding -->

Expand Down
Binary file modified images/default-slider-image.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 37 additions & 1 deletion inc/theme-info.php
Expand Up @@ -87,7 +87,29 @@ function poseidon_theme_info_page() {
<a href="<?php echo admin_url( 'customize.php' ); ?>" class="button button-primary"><?php esc_html_e( 'Customize Theme', 'poseidon' ); ?></a>
</p>
</div>

</div>

<div class="column column-half clearfix">

<img src="<?php echo get_template_directory_uri(); ?>/screenshot.jpg" />

</div>

</div>

</div>

<hr>

<div id="more-features">

<h3><?php esc_html_e( 'Get more features', 'poseidon' ); ?></h3>

<div class="columns-wrapper clearfix">

<div class="column column-half clearfix">

<div class="section">
<h4><?php esc_html_e( 'Pro Version', 'poseidon' ); ?></h4>

Expand All @@ -105,7 +127,21 @@ function poseidon_theme_info_page() {

<div class="column column-half clearfix">

<img src="<?php echo get_template_directory_uri(); ?>/screenshot.jpg" />
<div class="section">
<h4><?php esc_html_e( 'ThemeZee Plugins', 'poseidon' ); ?></h4>

<p class="about">
<?php esc_html_e( 'Extend the functionality of your WordPress website with our customized plugins.', 'poseidon' ); ?>
</p>
<p>
<a href="<?php echo esc_url( poseidon_theme_links( 'plugins' ) . '?utm_source=theme-info&utm_medium=button&utm_campaign=poseidon&utm_content=plugins' ); ?>" target="_blank" class="button button-secondary">
<?php esc_html_e( 'Browse Plugins', 'poseidon' ); ?>
</a>
<a href="<?php echo admin_url( 'plugin-install.php?tab=search&type=author&s=themezee' ); ?>" class="button button-primary">
<?php esc_html_e( 'Install now', 'poseidon' ); ?>
</a>
</p>
</div>

</div>

Expand Down

0 comments on commit 555623a

Please sign in to comment.