-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
48 lines (45 loc) · 1.68 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/*
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package WordPress
* @subpackage Informe
* @since Twenty Ten 1.0
*/
// debug_wp_request();
$breadcrumbtrail_handler = sprintf('informea_%s_breadcrumbtrail', $post->post_name);
if(function_exists($breadcrumbtrail_handler)) {
add_action('breadcrumbtrail', $breadcrumbtrail_handler);
}
get_header(); ?>
<div id="container" style="width: 100% !important;">
<br/>
<div id="content" role="main">
<?php if (have_posts()) {
while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="border: none !important;">
<?php if (is_front_page()) { ?>
<h2><?php the_title(); ?></h2>
<?php } else { ?>
<h1><?php the_title(); ?></h1>
<?php } ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<div class="page-link">' . __('Pages:', 'twentyten'), 'after' => '</div>')); ?>
<?php edit_post_link(__('Edit', 'twentyten'), '<span class="edit-link">', '</span>'); ?>
</div>
<!-- .entry-content -->
</div><!-- #post-## -->
<?php endwhile;
} ?>
<div class="clear"></div>
</div>
<!-- #content -->
</div><!-- #container -->
<?php get_footer(); ?>