Exemplo n.º 1
0
<?php

get_header();
?>

<?php 
$has_sidebar = ss_framework_check_page_layout($single_project = true);
?>

<?php 
$page_title = ss_framework_get_custom_field('ss_page_title', of_get_option('ss_portfolio_parent')) ? ss_framework_get_custom_field('ss_page_title', of_get_option('ss_portfolio_parent')) : get_the_title(of_get_option('ss_portfolio_parent'));
?>

<section id="content" class="clearfix <?php 
echo ss_framework_check_sidebar_position($single_project = true);
?>
">

	<div class="container">

		<header class="page-header">

			<h1 class="page-title align-left"><?php 
echo $page_title;
?>
</h1>
			
			<a href="<?php 
echo get_permalink(of_get_option('ss_portfolio_parent'));
?>
" class="button no-bg medium align-right">
Exemplo n.º 2
0
<?php

get_header();
?>

<?php 
$has_sidebar = ss_framework_check_page_layout();
?>

<?php 
$page_title = ss_framework_get_custom_field('ss_page_title') ? ss_framework_get_custom_field('ss_page_title') : get_the_title();
?>

<section id="content" class="clearfix <?php 
echo ss_framework_check_sidebar_position();
?>
">

	<div class="container">

		<?php 
/*if ( !is_front_page() && ss_framework_get_custom_field('ss_disable_page_header') != '1' ): ?>

			<header class="page-header clearfix">

				<h1 class="page-title"><?php echo $page_title ?></h1>

				<?php if( ss_framework_get_custom_field('ss_page_description') ): ?>

					<hr />
<?php

get_header();
?>

<?php 
$has_sidebar = ss_framework_check_page_layout($single_project = null, $portfolio_category = true);
?>

<?php 
global $wp_query;
$category = $wp_query->get_queried_object();
?>

<section id="content" class="clearfix <?php 
echo ss_framework_check_sidebar_position($single_project = null, $portfolio_category = true);
?>
">

	<div class="container">

		<header class="page-header">
				
			<h1 class="page-title"><?php 
printf(__('Portfolio Category: %s', 'ss_framework'), $category->name);
?>
</h1>
			
			<?php 
do_action('ss_framework_portfolio_filter');
?>