Example #1
0
 * 
 */
?>

<?php 
if (mpp_have_galleries()) {
    ?>
	<div class='mpp-g mpp-item-list mpp-galleries-list'>

		<?php 
    while (mpp_have_galleries()) {
        mpp_the_gallery();
        ?>

			<div class="<?php 
        mpp_gallery_class(mpp_get_gallery_grid_column_class());
        ?>
" id="mpp-gallery-<?php 
        mpp_gallery_id();
        ?>
">
				
				<?php 
        do_action('mpp_before_gallery_entry');
        ?>
				
				<div class="mpp-item-meta mpp-gallery-meta mpp-gallery-meta-top">
						<?php 
        do_action('mpp_gallery_meta_top');
        ?>
				</div>
//$query = mpp_shortcode_get_gallery_data( 'gallery_list_query' );
if (empty($query)) {
    return;
}
if ($query->have_galleries()) {
    ?>
<div class="mpp-container mpp-shortcode-wrapper mpp-shortcode-gallery-wrapper">
	<div class="mpp-g mpp-item-list mpp-gallery-list mpp-shortcode-item-list mpp-shortcode-list-gallery"> 
    
    <?php 
    while ($query->have_galleries()) {
        $query->the_gallery();
        ?>
           
		<div class="<?php 
        mpp_gallery_class(mpp_get_grid_column_class($shortcode_column));
        ?>
" id="mpp-gallery-<?php 
        mpp_gallery_id();
        ?>
">
			

				<?php 
        do_action('mpp_before_gallery_shortcode_entry');
        ?>
				
				<div class="mpp-item-meta mpp-gallery-meta mpp-gallery-shortcode-item-meta mpp-gallery-meta-top mpp-gallery-shortcode-item-meta-top">
						<?php 
        do_action('mpp_gallery_shortcode_item_meta_top');
        ?>
Example #3
0
$query = mpp_widget_get_gallery_data('query');
?>

<?php 
if ($query->have_galleries()) {
    ?>
<div class="mpp-container mpp-widget-container mpp-gallery-widget-container">
	<div class='mpp-g mpp-item-list mpp-galleries-list'>

		<?php 
    while ($query->have_galleries()) {
        $query->the_gallery();
        ?>

			<div class="<?php 
        mpp_gallery_class('mpp-u-1-1');
        ?>
">
				
				<?php 
        do_action('mpp_before_gallery_widget_entry');
        ?>
				
				<div class="mpp-item-meta mpp-gallery-meta mpp-gallery-widget-item-meta mpp-gallery-meta-top mpp-gallery-widget-item-meta-top">
						<?php 
        do_action('mpp_gallery_widget_item_meta_top');
        ?>
				</div>
				
				<div class="mpp-item-entry mpp-gallery-entry">
					
Example #4
0
$query = mpp_shortcode_get_gallery_data('gallery_list_query');
if (empty($query)) {
    return;
}
if ($query->have_galleries()) {
    ?>
<div class="mpp-container mpp-shortcode-wrapper mpp-shortcode-gallery-wrapper">
	<div class="mpp-g mpp-item-list mpp-gallery-list mpp-shortcode-item-list mpp-shortcode-list-gallery"> 
    
    <?php 
    while ($query->have_galleries()) {
        $query->the_gallery();
        ?>
           
		<div class="<?php 
        mpp_gallery_class(mpp_get_grid_column_class(mpp_shortcode_get_gallery_data('column')));
        ?>
" id="mpp-gallery-<?php 
        mpp_gallery_id();
        ?>
">
			

				<?php 
        do_action('mpp_before_gallery_shortcode_entry');
        ?>
				
				<div class="mpp-item-meta mpp-gallery-meta mpp-gallery-shortcode-item-meta mpp-gallery-meta-top mpp-gallery-shortcode-item-meta-top">
						<?php 
        do_action('mpp_gallery_shortcode_item_meta_top');
        ?>