Skip to content

Commit

Permalink
Merge pull request #139 from Piratenpartei/beta
Browse files Browse the repository at this point in the history
Macht Spaß, bis zum Verlust von ... arghhhhh!
  • Loading branch information
xwolfde authored May 31, 2017
2 parents 2a3301c + 823ae57 commit 19c0ebf
Show file tree
Hide file tree
Showing 63 changed files with 1,351 additions and 1,643 deletions.
6 changes: 3 additions & 3 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<?php if ( '' != get_the_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('uku-bigthumb'); ?></a>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('pirate-rogue-bigthumb'); ?></a>
</div><!-- end .entry-thumbnail -->
<?php endif; ?>

Expand All @@ -26,8 +26,8 @@
<div class="entry-content">
<div class="two-columns-one">
<header class="entry-header">
<h1 class="entry-title">404</h1>
</header><!--end .entry-header -->
<h1 class="entry-title">404</h1>
</header><!--end .entry-header -->
<p><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'pirate-rogue' ); ?>
<br>
<?php esc_html_e( 'It looks like nothing was found at this location. Maybe try another search term?', 'pirate-rogue' ); ?></p>
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


Preamble

The GNU General Public License is a free, copyleft license for
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ for the german pirate party as replacement for their prior wordpress theme.

## Theme autor

* xwolf
* http://www.xwolf.de
* xwolf (http://www.xwolf.de)

## Informations and download

* Theme home page: http://www.pirate-rogue.de
* Download: https://github.com/Piratenpartei/Pirate-Rogue/
** Clone: https://github.com/Piratenpartei/Pirate-Rogue.git
** Zip: https://github.com/Piratenpartei/Pirate-Rogue/archive/master.zip
* Download: https://github.com/Piratenpartei/Pirate-Rogue/
- Clone: https://github.com/Piratenpartei/Pirate-Rogue.git
- Zip: https://github.com/Piratenpartei/Pirate-Rogue/archive/master.zip
* Changelog: https://github.com/Piratenpartei/Pirate-Rogue/commits/master


Expand Down
10 changes: 5 additions & 5 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

get_header(); ?>

<div class="content-wrap">
<div class="content-wrap">

<div id="blog-wrap" class="blog-wrap cf">

<div id="primary" class="site-content cf" role="main">
<div id="primary" class="site-content cf" role="main">

<?php if ( have_posts() ) : ?>

Expand Down Expand Up @@ -48,11 +48,11 @@
endif;
?>

</div><!-- end #primary -->
</div><!-- end #primary -->

<?php get_sidebar(); ?>
<?php get_sidebar(); ?>

</div><!-- end .blog-wrap -->
</div><!-- end .content-wrap -->
</div><!-- end .content-wrap -->

<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<?php if ( have_comments() ) : ?>
<ol class="commentlist">
<?php
wp_list_comments( array( 'callback' => 'uku_comment' ) );
wp_list_comments( array( 'callback' => 'pirate_rogue_comment' ) );
?>
</ol><!-- end .comment-list -->

Expand Down
22 changes: 10 additions & 12 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
if (!isset($thumbfallbackid)) {
$thumbfallbackid =0;
} else {
$imagesrc = wp_get_attachment_image_src( $thumbfallbackid, 'uku-standard-blog' )[0];
$imagesrc = wp_get_attachment_image_src( $thumbfallbackid, 'pirate-rogue-standard-blog' )[0];
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?>>

<?php if ( '' !== get_the_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail fadein">
<a href="<?php the_permalink(); ?>"><span class="thumb-wrap"><?php the_post_thumbnail('uku-standard-blog'); ?></span></a>
<a href="<?php the_permalink(); ?>"><span class="thumb-wrap"><?php the_post_thumbnail('pirate-rogue-standard-blog'); ?></span></a>
</div><!-- end .entry-thumbnail -->
<?php elseif ( ! post_password_required() && $imagesrc != '') : ?>
<div class="entry-thumbnail fadein fallback">
<a href="<?php the_permalink(); ?>"><span class="thumb-wrap"><img src="<?php echo $imagesrc; ?>"></span></a>
<a href="<?php the_permalink(); ?>"><span class="thumb-wrap"><img src="<?php echo $imagesrc; ?>" alt=""></span></a>
</div><!-- end .entry-thumbnail -->
<?php endif; ?>

Expand Down Expand Up @@ -61,12 +61,10 @@
?>
</header><!-- end .entry-header -->

<?php if ( 'serif' !== get_theme_mod( 'uku_main_design' )) : ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php endif; ?>

</div><!-- .meta-main-wrap -->

</article><!-- end post -<?php the_ID(); ?> -->
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
</div>
</div><!-- .meta-main-wrap -->
</article><!-- end post -<?php the_ID(); ?> -->
Loading

0 comments on commit 19c0ebf

Please sign in to comment.