Search Filter showing only 10 results

0

Hello,

I'm developing a website in Wordpress, with a purchased template and I'm having a difficulty that I believe to be a doubt about Wordpress and not about the theme. The website shows several establishments and when I do a search, it should show me all the establishments, but in this case show me only 10 and, in case I want to see more, I need to press the button LOADING MORE ESTABLISHMENTS, something I would not like to do and , as it shows 4 establishments at a time, ends up breaking the layout, always with 2 empty places in the third row (As I show in the pictures below).

Iwouldliketoshowalltheestablishments,IbelieveIneedtoshowforwordpressIwanttobringeveryone,ieaposts_per_page=-1,howevertheformthatshowstheestablishmentsisviashortcode,followbelow:

<?phpglobal$wp_query;$shortcode='[jobsshow_tags="true" orderby="rand"]';
    echo do_shortcode(  $shortcode );
?>

In shortcode I have already tried to insert the posts_per_page but it was not possible, it still seems that there is a selection somewhere else, but in the same code it was possible to change orderby.

I would like to know if there is anything else I can do so that in shortcode or otherwise, I can show all the establishments without needing to show a fixed number.

Follow the link on the page I'm talking about: link

Thank you in advance.

    
asked by anonymous 29.08.2017 / 19:42

1 answer

0

Can be changed in Settings > Read.

    
02.09.2017 / 20:37