Skip to content
This repository was archived by the owner on Jan 28, 2019. It is now read-only.

Commit 7170479

Browse files
Merge pull request #48 from Codeinwp/development
Fixed issues with type number options not visible in Mozilla
2 parents 481b5a3 + f1d317d commit 7170479

12 files changed

Lines changed: 148 additions & 213 deletions

File tree

header.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727

2828
<header id="masthead" class="site-header container clearfix" role="banner">
2929
<div class="site-branding clearfix">
30-
<?php if ( get_theme_mod( 'site_logo' ) && get_theme_mod( 'logo_style', 'hide-title' ) == 'hide-title' ) : // Show only logo ?>
30+
<?php if ( get_theme_mod( 'site_logo' ) && get_theme_mod( 'logo_style', 'hide-title' ) == 'hide-title' ) : // Show only logo ?>
3131
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ); ?>"><img class="site-logo" src="<?php echo esc_url( get_theme_mod( 'site_logo' ) ); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a>
32-
<?php elseif ( get_theme_mod( 'logo_style', 'hide-title' ) == 'show-title' ) : // Show logo, site-title, site-description ?>
32+
<?php elseif ( get_theme_mod( 'logo_style', 'hide-title' ) == 'show-title' ) : // Show logo, site-title, site-description ?>
3333
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ); ?>"><img class="site-logo show-title" src="<?php echo esc_url( get_theme_mod( 'site_logo' ) ); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a>
3434
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
3535
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
36-
<?php else : // Show only site title and description ?>
36+
<?php else : // Show only site title and description ?>
3737
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
3838
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
39-
<?php endif; ?>
39+
<?php endif; ?>
4040
</div>
4141
<nav id="site-navigation" class="main-navigation" role="navigation">
4242
<?php wp_nav_menu( array(

image.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
<div class="entry-meta">
1919
<?php flymag_posted_on(); ?>
2020
<span class="image-parent">
21-
<?php
22-
$metadata = wp_get_attachment_metadata();
23-
/* translators: %1$s is post url, %2$s is post title */
24-
printf( __( '<i class="fa fa-pencil"></i> Image posted in: <a href="%1$s" title="Return to %2$s" rel="gallery">%2$s</a>', 'flymag' ),
25-
get_permalink( $post->post_parent ),
26-
get_the_title( $post->post_parent )
27-
);
28-
?>
29-
</span>
21+
<?php
22+
$metadata = wp_get_attachment_metadata();
23+
/* translators: %1$s is post url, %2$s is post title */
24+
printf( __( '<i class="fa fa-pencil"></i> Image posted in: <a href="%1$s" title="Return to %2$s" rel="gallery">%2$s</a>', 'flymag' ),
25+
get_permalink( $post->post_parent ),
26+
get_the_title( $post->post_parent )
27+
);
28+
?>
29+
</span>
3030
</div>
3131
</header>
3232

inc/customizer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ public function render_content() {
143143
'min' => 50,
144144
'max' => 600,
145145
'step' => 5,
146-
'style' => 'margin-bottom: 15px; padding: 15px;',
147146
),
148147
) );
149148
// Logo style
@@ -178,7 +177,6 @@ public function render_content() {
178177
'min' => 0,
179178
'max' => 350,
180179
'step' => 5,
181-
'style' => 'padding: 15px;',
182180
),
183181
) );
184182

inc/extras.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function flymag_wp_title( $title, $sep ) {
6161

6262
// Add a page number if necessary:
6363
if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
64-
/* translators: %s is page number */
64+
/* translators: %s is page number */
6565
$title .= " $sep " . sprintf( __( 'Page %s', 'flymag' ), max( $paged, $page ) );
6666
}
6767

0 commit comments

Comments
 (0)