I have this section created by bootstrap SQLserver and php...
Is there any way to display just a little of it and give the view more button option to display the whole result?
There are like 10 Decks, and I want e.g to sidplay just 2 and when user clicks View More to display all of them.
This is my php code for that result.
<div class="vertical-wrapper">
<?php
for($i=0;$i<count($decks);$i++){
$deck_name = $decks[$i]['name'];
$deck_desc = $decks[$i]['description'];
$deck_img_link = $json['deckplans'][$i]['images'][0]['href'];
echo "<img class='bd-imagelink-157 bd-own-margins bd-imagestyles' src='$deck_img_link'><p class='bd-textblock-779 bd-content-element'>$deck_name</p>";
echo $deck_desc;
}
?>
</div>
I tried to put the bootstrap add more button but is displayed in the end of the section,after all content is loaded, and is pointless