Skip to content

Commit

Permalink
Merge branch 'release/v1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMayerhofer committed Jan 31, 2019
2 parents 44a8b50 + 6f9dfa9 commit f864858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pillar-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Post Pillar Pages
* Description: Use posts as pillar pages and create a Custom Post Type for every pillar page.
* Version: 1.0.0
* Version: 1.0.1
* Author: Simon Mayerhofer
* Author URI: https://mayerhofer.it
* Plugin URI: https://github.com/SimonMayerhofer/wp-post-pillar-pages/
Expand Down Expand Up @@ -143,7 +143,7 @@ public function add_to_main_query( $query ) {
$slugs = [];

foreach ( $pillar_pages as $page ) {
$slugs[] = $page->post_name;
$slugs[] = 'pillar-page-' . $page->ID;
}

if ( $query->is_home() && $query->is_main_query() ) {
Expand Down

0 comments on commit f864858

Please sign in to comment.