Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: talleres
- */
- ?>
- <?php
- // calling the header.php
- get_header();
- // action hook for placing content above #container
- thematic_abovecontainer();
- ?>
- <div id="container">
- <?php thematic_abovecontent(); ?>
- <div id="content">
- <?php
- the_post();
- thematic_abovepost();
- ?>
- <div id="post-<?php the_ID();
- echo '" ';
- if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
- post_class();
- echo '>';
- } else {
- echo 'class="';
- thematic_post_class();
- echo '">';
- }
- // creating the post header
- thematic_postheader();
- ?>
- <div class="entry-content">
- <?php
- the_content();
- // action hook for the 404 content
- /* here starts my modification. I have commented thematic_archives() and instead I display the posts for "talleres" */
- //thematic_archives();
- query_posts( 'post_type=talleres-meditacion');
- the_post();
- // displays the page title
- //thematic_page_title();
- rewind_posts();
- // create the navigation above the content
- thematic_navigation_above();
- // action hook creating the archive loop
- thematic_archiveloop();
- // create the navigation below the content
- thematic_navigation_below();
- /* here ends the modification */
- edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>');
- ?>
- </div><!-- .entry-content -->
- </div><!-- #post -->
- <?php
- thematic_belowpost();
- // calling the comments template
- // calling the comments template
- if (THEMATIC_COMPATIBLE_COMMENT_HANDLING) {
- if ( get_post_custom_values('comments') ) {
- // Add a key/value of "comments" to enable comments on pages!
- thematic_comments_template();
- }
- } else {
- thematic_comments_template();
- }
- ?>
- </div><!-- #content -->
- <?php thematic_belowcontent(); ?>
- </div><!-- #container -->
- <?php
- // action hook for placing content below #container
- thematic_belowcontainer();
- // calling the standard sidebar
- thematic_sidebar();
- // calling footer.php
- get_footer();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement