function get_start_page($start_page)
 {
     global $delimiter;
     //start page parents
     $get_start_page = get_page($start_page);
     if ($get_start_page->post_parent) {
         page_parents($get_start_page->post_parent, '');
     }
     //start page
     if ($start_page && !get_query_var('lang')) {
         echo $delimiter . "<a href=\"" . get_permalink($start_page) . "\" title=\"" . get_the_title($start_page) . "\" >" . get_the_title($start_page) . "</a>";
     }
 }
Exemple #2
0
<?php

global $themeple_config;
$themeple_config['multi_entry_page'] = false;
$themeple_config['current_sidebar'] = themeple_get_option('single_post_sidebar_pos');
$spancontent = 12;
if ($themeple_config['current_sidebar'] == 'fullsize') {
    $spancontent = 12;
} else {
    $spancontent = 9;
}
get_header();
$themeple_config['current_view'] = 'blog';
$highlight = themeple_post_meta(themeple_get_option('blogpage'), 'page_highlight');
$title = get_the_title(themeple_get_option('blogpage'));
$page_parents = page_parents();
$blog_style = themeple_get_option('blog_style');
$subtitle = themeple_post_meta(themeple_get_option('blogpage'), 'page_header_desc');
$id = themeple_get_option('blogpage');
?>

    
   
    <!-- Page Head -->
    
   
   <?php 
if (themeple_post_meta($id, 'page_header_bool') == 'yes') {
    $extra_class = '';
    $extra_style = '';
    if (themeple_post_meta($id, 'header_type') == 'image') {