Beispiel #1
0
function ompf_append_portfolio_content($content)
{
    if (isset($GLOBALS['post']) && $GLOBALS['post']->ID) {
        $portfolio_display = get_post_meta($GLOBALS['post']->ID, 'ompf_portfolio_display', true);
        if ($portfolio_display) {
            $content .= ompf_the_content();
        }
    }
    return $content;
}
}
?>
	<?php 
om_tpl_page_title($post->ID, the_title('', '', false));
?>
	
	<div class="content">
		<div class="container">
			<div class="container-inner">
				
				<div class="content-column-content">
                	<?php 
the_post();
the_content();
if (function_exists('ompf_the_content')) {
    echo ompf_the_content();
} else {
    echo '<p><i><b style="color:red">' . __('Please install and activate Olevmedia Portfolio plugin to display the portfolio content.', 'om_theme') . '</b></i></p>';
}
?>

				</div>
				
				<?php 
//get_sidebar();
?>
				
				<div class="clear"></div>
				
			</div>
		</div>