| Server IP : 213.136.93.164 / Your IP : 216.73.216.20 Web Server : Apache System : Linux m14200.contabo.net 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64 User : ki692510 ( 1047) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/ki692510/www/wp-content/themes/bifrost/ |
Upload File : |
<?php
/**
* Portfolio Single
*/
get_header();
get_template_part('templates/hero/standard');
/**
* Breadcrumb
*/
$bifrost_page_breadcrumb = bifrost_inherit_option('general_breadcrumb', 'breadcrumbs_portfolio_item_visibility', '2');
bifrost_breadcrumbs($bifrost_page_breadcrumb, get_theme_mod('breadcrumbs_separator'));
if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if (get_field('portfolio_item_type') != '3') : ?>
<div class="container">
<div class="p-portfolio-single h-large-top-padding h-large-bottom-padding">
<?php
// Portfolio Item Type
if (get_field('portfolio_item_type') == '1') {
get_template_part('templates/portfolio-item/type/side');
} elseif (get_field('portfolio_item_type') == '2') {
get_template_part('templates/portfolio-item/type/vertical');
}
?>
</div>
</div>
<?php endif; ?>
<?php get_field('portfolio_item_type') == '3' ? the_content() : '' ?>
<?php endwhile;
endif;
/**
* Related
*/
$bifrost_related_template = get_field('related_posts') == '2' ? get_field('related_posts_template') : get_theme_mod('portfolio_item_related_template');
if (bifrost_inherit_option('related_posts', 'portfolio_item_related', '2') == '1' && $bifrost_related_template) {
echo bifrost_get_custom_template($bifrost_related_template);
}
// Item Navigation
get_template_part('templates/portfolio-item/navigation');
get_footer();