Syntax Error
-
This site working on wamp server.
İ cant see footer.Page template working but i see page bottom this codes
( ! ) Fatal error: Call to undefined function Formation_content_nav() in C:\wamp\www\wordpress\wp-content\themes\advertica-lite\template-servis.php on line 86 Call Stack # Time Memory Function Location 1 0.0010 134544 {main}( ) ..\index.php:0 2 0.0010 136480 require( 'C:\wamp\www\wordpress\wp-blog-header.php' ) ..\index.php:17 3 0.5010 12858696 require_once( 'C:\wamp\www\wordpress\wp-includes\template-loader.php' ) ..\wp-blog-header.php:16 4 0.5100 12985272 include( 'C:\wamp\www\wordpress\wp-content\themes\advertica-lite\template-servis.php' ) ..\template-loader.php:74_______________________________________________________________________
My page template codes
_______________________________________________________________________
<?php
/*
Template Name: Servisler
*/?>
<?php get_header(); ?>
<?php global $advertica_shortname; ?>
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?><div class=”bread-title-holder”>
<div class=”bread-title-bg-image full-bg-breadimage-fixed”></div>
<div class=”container”>
<div class=”row-fluid”>
<div class=”container_inner clearfix”>
<h1 class=”title”><?php the_title(); ?></h1>
<?php if ((class_exists(‘advertica_breadcrumb_class’))) {$advertica_breadcumb->custom_breadcrumb();} ?>
</div>
</div>
</div>
</div><div class=”page-content fullwidth-temp”>
<div class=”container post-wrap”>
<div class=”row-fluid”>
<div id=”content” class=”span12″>
<div class=”post” id=”post”>
<div class=”skepost”><?php
$temp = $wp_query; $wp_query= null;
$wp_query = new WP_Query(); $wp_query->query(‘showposts=4’ . ‘&paged=’.$paged);
while ($wp_query->have_posts()) : $wp_query->the_post(); ?><div class=”gridblock”>
<div class=”hentry”>
<div class=”blog-image”>
<?php
if ( has_post_thumbnail() ) {
$image_src = wp_get_attachment_image_src( get_post_thumbnail_id(),’featured’ );
echo ‘<img alt=”post” class=”imagerct” src=”‘ . $image_src[0] . ‘”>’;
}
?>
</div>
<h1 class=”entry-titls”>“><?php the_title(); ?></h1>
<div class=”entry-meta”><?php if ( ‘post’ == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ‘, ‘, ‘Formation’ ) );
if ( $categories_list && Formation_categorized_blog() ) :
?>
<span class=”cat-links”></span>
<?php endif; // End if categories ?><?php
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( ”, __( ‘, ‘, ‘Formation’ ) );
if ( $tags_list ) :
?><span class=”tag-links”>
</span>
<?php endif; // End if $tags_list ?>
<?php endif; // End if ‘post’ == get_post_type() ?>
</div><!– .entry-meta –>
<div class=”entry-content”>
<?php
global $more;
$more = 0;
?>
<?php the_excerpt(); ?><div class=”grid-more-link”>“>Devami</div>
</div><!– .entry-content –>
</div><!– .hentry –>
</div><?php endwhile; ?>
<?php Formation_content_nav( ‘nav-below’ ); ?></div><!– #content .site-content –>
</div><!– #primary .content-area –></div><!– #primary wrap –>
</div>
<!– skepost –>
</div>
<!– post –><?php endwhile; ?>
<?php else : ?>
<div class=”post”>
<h2></h2>
</div>
<?php endif; ?>
</div>
<!– content –>
</div>
</div>
<?php get_footer(); ?>
The topic ‘Syntax Error’ is closed to new replies.