Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ language: php

# Declare versions of PHP to use. Use one decimal max.
php:
# aliased to a recent 7.0.x version
- "7.0"
# aliased to a recent 5.6.x version
- "5.6"
# aliased to a recent 5.5.x version
# "5.5"
- "5.5"
# aliased to a recent 5.4.x version
- "5.4"
# aliased to a recent 5.3.x version
Expand All @@ -26,6 +30,10 @@ env:
# @link https://github.com/WordPress/WordPress
# WP_VERSION=master WP_MULTISITE=0
# WP_VERSION=master WP_MULTISITE=1
# WordPress 4.6
# @link https://github.com/WordPress/WordPress/tree/4.6-branch
# WP_VERSION=4.6 WP_MULTISITE=0
- WP_VERSION=4.6 WP_MULTISITE=1
# WordPress 4.5
# @link https://github.com/WordPress/WordPress/tree/4.5-branch
# WP_VERSION=4.5 WP_MULTISITE=0
Expand All @@ -41,7 +49,11 @@ env:
matrix:
allow_failures:
- php: "5.4"
- env: WP_VERSION=4.5 WP_MULTISITE=1
- php: "5.5"
- php: "5.6"
- php: "7.0"
- env: "WP_VERSION=4.5 WP_MULTISITE=1"
- env: "WP_VERSION=4.6 WP_MULTISITE=1"
fast_finish: true

# Use this to prepare the system to install prerequisites or dependencies.
Expand Down
2 changes: 1 addition & 1 deletion additionalPosts-biblio.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</script>


<?php } // Removes button end. ?>
<?php } // End if(). ?>



Expand Down
4 changes: 2 additions & 2 deletions additionalPosts-cat.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
$("#another").hide();
</script>
<?php }
// Removes button end.
// End if().
?>

<?php if ( $the_query->have_posts() ) : ?>
Expand All @@ -86,7 +86,7 @@

<?php if ( get_post_type( get_the_ID() ) == 'bibliotech' ) { ?>

<?php } //get_post_type( get_the_ID() ) == 'bibliotech' ?>
<?php } // End if(). ?>

<?php wp_reset_query(); // Restore global post data stomped by the_post(). ?>

Expand Down
2 changes: 1 addition & 1 deletion additionalPosts-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function set_search( $q ) {
if ( 'search' == $query_split[0] ) {
$search_args['s'] = urldecode( $query_split[1] );
}
} // foreach
} // End foreach().

$the_query = new WP_Query( $search_args );
// The set_search() function is defined above.
Expand Down
2 changes: 1 addition & 1 deletion category.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<?php if ( get_post_type( get_the_ID() ) == 'bibliotech' ) { ?>

<?php } //get_post_type( get_the_ID() ) == 'bibliotech' ?>
<?php } // End if(). ?>

<?php wp_reset_query(); // Restore global post data stomped by the_post(). ?>

Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ function biblio_taxonomy() {
// Hook into the 'init' action.
add_action( 'init', 'biblio_taxonomy', 0 );

}
} // End if().

/**
* Registers news sidebar
Expand Down
2 changes: 1 addition & 1 deletion inc/events.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@
</span>

</div>
<?php } ?>
<?php } // End if(). ?>
<!--EVENT -->
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<?php
if ( $i > 6 ) {
get_template_part( 'inc/more-posts' );
} //$i > 6
} // End if().
?>

</div>
Expand Down
2 changes: 1 addition & 1 deletion page-biblio-archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
?>
<p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php
}
} // End if().
?>

</div><!-- news-content -->
Expand Down
2 changes: 1 addition & 1 deletion page-bibliotech.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<?php wp_reset_query(); ?>

<?php } //isset( $sticky[0] ) ?>
<?php } // End if(). ?>

<?php endwhile; ?>

Expand Down
2 changes: 1 addition & 1 deletion single.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
</span>

</div>
<?php } ?>
<?php } // End if(). ?>

<!--=================image=================== -->
<?php if ( get_field( 'image' ) ) { ?>
Expand Down
4 changes: 2 additions & 2 deletions test-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</div>
<?php wp_reset_postdata(); ?>
<?php wp_reset_query(); ?>
<?php } ?>
<?php } // End if(). ?>
<?php endwhile; ?>
<?php endif; ?>

Expand Down Expand Up @@ -261,7 +261,7 @@
</p>
</div>

<?php } ?>
<?php } // End if(). ?>

<div class="category-post <?php if ( get_post_type( get_the_ID() ) == 'bibliotech' ) { echo 'Bibliotech';} ?>">

Expand Down