My php is as follows, i'm not entirely sure i have the code in the right place but the fcg is where i want it on screen.
site is http://www.sme298.webactivate.ie
- Code: Select all
<?php
/*
Template Name: Vanity_home
*/
?>
<?php get_header(); ?>
<div class="art-content-layout">
<div class="art-content-layout-row">
<div class="art-layout-cell art-content">
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
<?php
get_sidebar('top');
global $post;
if (have_posts()){
while (have_posts())
{
the_post();
art_post_wrapper(
array(
'id' => art_get_post_id(),
'class' => art_get_post_class(),
//'thumbnail' => art_get_post_thumbnail(),
'title' => art_get_meta_option($post->ID, 'art_show_page_title') ? get_the_title() : '',
'before' => art_get_metadata_icons('edit', 'header'),
'content' => art_get_content(), // 'content' => 'My post content',
)
);
comments_template();
}
// previous_post_link | next_post_link
// art_pagination(array('next_link' => art_get_previous_post_link('« %link'),'prev_link' => art_get_next_post_link('%link »')));
} else {
art_post_wrapper(
array(
'title' => __('Not Found', THEME_NS),
'content' => '<p class="center">'
.__( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', THEME_NS)
. '</p>' . "\r\n" . art_get_search()
)
);
}
get_sidebar('bottom');
?>
<div class="cleared"></div>
</div>
<div class="art-layout-cell art-sidebar1">
<div class="art-layout-glare">
<div class="art-layout-glare-image"></div>
</div>
<?php get_sidebar('default'); ?>
<div class="cleared"></div>
</div>
</div>
</div>
<div class="cleared"></div>
<?php get_footer();









