/home/eigit/eurolab.mk/wp-content/themes/eurolab/burime-njerezor.php
<?php

/**
 * Template Name: burime njerezore
 * 
 */

get_header();
?>

<section class="welcome-section-brandet welcome-section-karriera">
     <?php
                                                    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
                                                        the_post_thumbnail( 'full', array( 'class'  => 'banner-photo' ) ); // show featured image
                                                    } 
                                                ?>
</section>
<section class="karriera-div">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <?php
                            if (have_posts()):
                            while (have_posts()) : the_post();
                            the_content();
                        endwhile;
                            else:
                            echo '<p>Sorry, no posts matched your criteria.</p>';
                            endif;
                            ?>
            </div>
        </div>
    </div>
</section>
<?php
                        global $post;
                        $args = array( 'posts_per_page'=>1234123123123123 , 'post_type'=> 'form', 'category_name' => 'burimet-njerezore' ,'orderby=ID&order=ASC' );
                                                            // ,'offset'=>1
                        $myposts = get_posts( $args );
//var_dump($myposts);
                        $counter=1;?>
<section class="karriera-posts aplikimi-posts">
    <div class="container">
        <div class="row">

            <div class="col-lg-6">
                <div class="aplikimi-box">
                    <?php foreach ( $myposts as $post ) : setup_postdata( $post );     ?>
                    <h4><a href="<?php print get_the_permalink();?>"><?php echo esc_html( get_the_title() );  ?></a></h4>
                    <?php  

                        $counter++;
                         endforeach; ?>
                </div>
            </div>

        </div>
    </div>
</section>

<?php  wp_reset_postdata(); ?>


<section class="karriera-posts">
    <div class="container">
        <div class="row">
            <div class="col-lg-4 col-md-6">
                <div class="press-div">
                    <div class="press-box">
                        <div class="press-image">
                            <a href="<?php echo esc_url( get_page_link( 64 ) ); ?>">
                                <img src="<?php echo get_template_directory_uri(); ?>/assets/images/pse-eurolab.png">
                            </a>
                        </div>
                        <h4><a href="<?php echo esc_url( get_page_link( 64 ) ); ?>">Зошто Eurolab?</a></h4>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-6">
                <div class="press-div">
                    <div class="press-box">
                        <div class="press-image">
                            <a href="<?php echo esc_url( get_page_link( 115 ) ); ?>">
                                <img src="<?php echo get_template_directory_uri(); ?>/assets/images/mundesipunsimi.png">
                            </a>
                        </div>
                        <h4><a href="<?php echo esc_url( get_page_link( 115 ) ); ?>">Можности за Вработување</a></h4>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-6">
                <div class="press-div">
                    <div class="press-box">
                        <div class="press-image">
                            <a href="<?php echo esc_url( get_page_link( 118 ) ); ?>">
                                <img src="<?php echo get_template_directory_uri(); ?>/assets/images/intership.png">
                            </a>
                        </div>
                        <h4><a href="<?php echo esc_url( get_page_link( 118 ) ); ?>">Практикантство</a></h4>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>



<?php get_footer(); ?>