Vote count:
0
I'm using Nextgen-Gallery to show gallery in my WP website.
inside a gallery page the blue section shows the gallery pictures, and the red section suppose to show the album which contains the galleries.
after a long research on google I couldn't find anyway to that (most answers was old and doesn't work with the latest version), so I thought maybe the following trick would do the job:
I created a new page and I added the shortcode [album id=2 template=extend] which works fine on that page, BUT when I try to include this page in the red section of "a gallery page" it shows the shortcode text instead of showing the galleries.
<div class="col-md-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title">Albums</h3>
</div>
<div class="panel-body">
<?php
$post = get_post(107); <--Here
echo $post->post_content;
?>
</div>
</div>
</div>
How can I show the galleries inside the red section?
asked 37 secs ago
Aucun commentaire:
Enregistrer un commentaire