HEX
Server: Apache
System: Linux hostingsrv80.dondominio.com 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64
User: (1021600)
PHP: 8.4.18
Disabled: system,passthru,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,exec,ini_alter,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,mail,eval
Upload Files
File: /hosting/www/puputfest.cat/public/wp-content/themes/bridge/templates/blog_masonry_gallery-loop.php
<?php 
$bridge_qode_options = bridge_qode_return_global_options();
$bridge_qode_blog_enable_social_share = "";
if(isset($bridge_qode_options['enable_social_share'])){
    $bridge_qode_blog_enable_social_share = $bridge_qode_options['enable_social_share'];
}

$bridge_qode_blog_hide_author = "";
if(isset($bridge_qode_options['blog_hide_author'])){
    $bridge_qode_blog_hide_author = $bridge_qode_options['blog_hide_author'];
}

$bridge_qode_post_format = get_post_format();
$bridge_qode_thumb_size = 'portfolio_masonry_regular';
$bridge_qode_thumb_size_temp = get_post_meta(get_the_ID(),"qode_post_style_masonry_gallery",true);
$bridge_qode_post_size_class = 'default';
switch ($bridge_qode_thumb_size_temp) {
	case 'large-height':
		$bridge_qode_thumb_size = 'portfolio_masonry_tall';
        $bridge_qode_post_size_class = $bridge_qode_thumb_size_temp;
		break;
	case 'large-width':
		$bridge_qode_thumb_size = 'portfolio_masonry_wide';
        $bridge_qode_post_size_class = $bridge_qode_thumb_size_temp;
		break;
	case 'large-width-height':
		$bridge_qode_thumb_size = 'portfolio_masonry_large';
        $bridge_qode_post_size_class = $bridge_qode_thumb_size_temp;
		break;
	default:
		$bridge_qode_thumb_size = 'portfolio_masonry_regular';
		break;
}

$bridge_qode_params = array(
    'blog_enable_social_share' => $bridge_qode_blog_enable_social_share,
    'blog_hide_author' => $bridge_qode_blog_hide_author,
    'thumb_size' => $bridge_qode_thumb_size
);

?>
<?php
	switch ($bridge_qode_post_format) {
		case "link":
?>
			<article id="post-<?php the_ID(); ?>" <?php post_class($bridge_qode_post_size_class); ?>>
                <?php bridge_qode_get_template_part('templates/blog-parts/masonry-gallery/link','',$bridge_qode_params); ?>
			</article>
<?php
		break;
		case "gallery":
?>
			<article id="post-<?php the_ID(); ?>" <?php post_class($bridge_qode_post_size_class); ?>>
                <div class="post_content_holder">
                    <?php bridge_qode_get_template_part('templates/blog-parts/masonry-gallery/gallery','',$bridge_qode_params); ?>
                    <?php bridge_qode_get_template_part('templates/blog-parts/masonry-gallery/text','',$bridge_qode_params); ?>
                </div>
			</article>
<?php
		break;
		case "quote":
?>
		<article id="post-<?php the_ID(); ?>" <?php post_class($bridge_qode_post_size_class); ?>>
            <?php bridge_qode_get_template_part('templates/blog-parts/masonry-gallery/quote','',$bridge_qode_params); ?>
		</article>
<?php
		break;
		default:
?>
		<article id="post-<?php the_ID(); ?>" <?php post_class($bridge_qode_post_size_class); ?>>
            <div class="post_content_holder">
                <?php bridge_qode_get_template_part('templates/blog-parts/masonry-gallery/image','',$bridge_qode_params); ?>
                <?php bridge_qode_get_template_part('templates/blog-parts/masonry-gallery/text','',$bridge_qode_params); ?>
            </div>
		</article>
<?php
}
?>