Ive an array set up to filter through various categories, currently it is only displaying 10 a maximum of ten posts instead of all of them. Where have i gone wrong?
<div class="select-search">
<div class="ten columns beer-filter">
<form id="category-select" class="select-search" action="<?php echo esc_url( home_url( "https://wordpress.stackexchange.com/" ) ); ?>" method="get">
<?php
$args = array(
'show_option_none' => __( 'Filter By Beer Type:' ),
'show_count' => 1,
'orderby' => 'name',
'echo' => 0,
'child_of' => 2,
'exclude' => '',
);
?>
<?php $select = wp_dropdown_categories( $args ); ?>
<?php $replace = "<select$1 onchange="return this.form.submit()">"; ?>
<?php $select = preg_replace( '#<select([^>]*)>#', $replace, $select ); ?>
<?php echo $select; ?>
<noscript>
<input type="submit" value="View" />
</noscript>
</form>
</div>
<div class="two columns"><a href="http://beerinbelfast.com/beers/"><button class="filter-button">Reset</button></a></div>
</div>
Thanks