How to display all albums
-
Hi there,
I want to echo the shortcode to display all the albums on a page using my template file. I am able to display one album by generating the shortcode but I want to show all the albums.
This is current code
`<?php echo do_shortcode(‘[Best_Wordpress_Gallery gallery_type=”album_compact_preview” theme_id=”1″ album_id=”1″ sort_by=”order” compuct_album_column_number=”4″ compuct_albums_per_page=”30″ compuct_album_title=”hover” compuct_album_thumb_width=”120″ compuct_album_thumb_height=”90″ compuct_album_image_column_number=”5″ compuct_album_images_per_page=”30″ compuct_album_image_title=”none” compuct_album_image_thumb_width=”180″ compuct_album_image_thumb_height=”90″ compuct_album_enable_page=”1″ popup_width=”800″ popup_height=”500″ popup_effect=”none” popup_interval=”5″ popup_enable_filmstrip=”1″ popup_filmstrip_height=”50″ popup_enable_ctrl_btn=”1″ popup_enable_fullscreen=”1″ popup_enable_comment=”1″ popup_enable_facebook=”1″ popup_enable_twitter=”1″ popup_enable_google=”1″ watermark_type=”none” watermark_link=”0″]’); ?>
`I thought maybe change
albums_id="all"
would work but it doesn’t. Please help.
- The topic ‘How to display all albums’ is closed to new replies.