HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/ERijn/knijft.eu/wwwroot/wp-content/themes/diverso/portfolio-big_image.php
                <div id="portfolio-bigimage">         

                    <?php
                        global $paged, $yiw_portfolio;
    
                        $post_type = yiw_get_portfolio_post_type();
                        
                        $args = array(
                            'post_type' => $post_type,
                            'posts_per_page' => empty( $yiw_portfolio[$post_type]['items'] ) ? -1 : $yiw_portfolio[$post_type]['items'],
                            'paged' => $paged
                        );
                        
                        if ( is_tax() )   
                            $args = wp_parse_args( $args, $wp_query->query );

                        $portfolio = new WP_Query( $args );
                        $i = 1;
                        while( $portfolio->have_posts() ) : $portfolio->the_post();  
                            global $more;
                            $more = 0;
                    ?>     

                    <div <?php post_class( 'work group' ) ?>>
                        <?php   
                            if( $thumb = get_post_meta(get_the_ID(), '_portfolio_video', true) )
                            {
                                $class = 'video';       
                                list( $type, $id ) = explode( ':', yiw_video_type_by_url( $thumb ) );
                                if ( $type == 'vimeo' )
                                    $thumb .= '?width=500&height=284';
                                elseif ( $type == 'youtube' )        
                                    $thumb .= '?width=500&height=314';
                            }
                            else
                            {
                                $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
                                $thumb = $thumb[0];
                                $class = 'img';
                            }
                            
                            $date_format  = yiw_get_option('portfolio_date_format','F j, Y');
                            $skills_label = get_post_meta(get_the_ID(), '_portfolio_skills_label', true) ? get_post_meta(get_the_ID(), '_portfolio_skills_label', true) : __('Skills');
                            $skills       = get_post_meta(get_the_ID(), '_portfolio_skills', true);
                            $date_label   = get_post_meta(get_the_ID(), '_portfolio_date_label', true) ? get_post_meta(get_the_ID(), '_portfolio_date_label', true) : __('Date');
                        ?>

                        <?php if( has_post_thumbnail() ) : ?>
                        <div class="work-thumbnail">
                            <a class="thumb <?php echo $class ?>" href="<?php echo $thumb ?>" rel="prettyPhoto[movies]"><?php the_post_thumbnail('blog_big_thumb') ?></a>
                            
                            
                            <div class="work-skillsdate">
                                <?php if( $skills ): ?><p class="skills"><span class="label"><?php echo $skills_label ?>:</span> <?php echo $skills ?></p><?php endif ?>
                                <p class="workdate"><span class="label"><?php echo $date_label ?>: </span><?php echo the_date($date_format) ?></p>
                            </div>
                        </div>

                        <?php endif ?>  

                        <div class="work-description">
                            <h3><?php the_title() ?></h3>
                            <?php echo yiw_content(25, $yiw_portfolio[$post_type]['read_more'] ) ?>
                        </div>
                        <div class="clear"></div>
                    </div>                         
                    <?php endwhile ?>        

                </div>                          

                <?php if(function_exists('yiw_pagination')) : yiw_pagination( $portfolio->max_num_pages ); else : ?> 
                    <div class="navigation">
                        <div class="alignleft"><?php next_posts_link(__('Next &raquo;', 'yiw')) ?></div>
                        <div class="alignright"><?php previous_posts_link(__('&laquo; Back', 'yiw')) ?></div>
                    </div>
                <?php endif; ?>  

                <div class="clear"></div>