Compare commits

...

2 Commits

Author SHA1 Message Date
jorge 8559a6c9da version bump 2022-09-16 14:40:16 +02:00
jorge 139b7bd7b8 disabled templates not needed 2022-09-16 14:38:31 +02:00
3 changed files with 1 additions and 126 deletions

View File

@ -1,62 +0,0 @@
<?php
/**
* Template Name: Seccions extras
*
* Seccions de pàgines índex amb contingut i fills, però el contingut presentat com un índex
* @link http://themehybrid.com/themes/hybrid/page-templates/categories
*
* @package Hangar
* @subpackage Template
*/
get_header(); ?>
<!-- index pàgina pare-->
<div id="main">
<div id="content" class="indexall">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class("boxentry"); ?>>
<div class="entry-content">
<h2 class="box index"><?php the_title(); ?></h2>
<?php if ( has_post_thumbnail() ) : // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail('thumbnail'); ?>
<p class="excerptbox"><?php echo get_the_excerpt(); ?></p>
<?php else : ?>
<div class="contentcurt">
<?php //echo get_the_content_with_formatting(); ?>
<?php the_content(); ?>
</div>
<?php endif; ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', 'hangar' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
</div><!-- post .hentry -->
<?php $pare = get_the_ID(); endwhile; ?>
<?php else: ?>
<p class="no-data">
<?php //_e( 'Apologies, but no results were found.', 'hangar' ); ?>
</p><!-- .no-data -->
<?php endif; ?>
</div>
<div id="content" class="indexall extra">
<?php
// Detect plugin. For use on Front End only.
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
// check for plugin using plugin name
if ( is_plugin_active( 'hangar-wp-plugin/hangar-wp-plugin.php' ) ) {
//plugin is activated do
hangar_show_extra_content();
}
?>
</div>
<!--end Main-->
<?php get_footer(); ?>

View File

@ -1,63 +0,0 @@
<?php
/**
* Template Name: Seccions ample extras
*
* Seccions de pàgines índex amb contingut i fills, però el contingut presentat com un índex
* @link http://themehybrid.com/themes/hybrid/page-templates/categories
*
* @package Hangar
* @subpackage Template
*/
get_header(); ?>
<!-- index pàgina pare-->
<div id="main">
<div id="content" class="indexall wide">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class("boxentry"); ?>>
<div class="entry-content">
<h2 class="box index"><?php the_title(); ?></h2>
<?php if ( has_post_thumbnail() ) : // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail(); ?>
<p class="excerptbox"><?php echo get_the_excerpt(); ?></p>
<?php else : ?>
<div class="contentcurt">
<?php //echo get_the_content_with_formatting(); ?>
<?php the_content(); ?>
</div>
<?php endif; ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', 'hangar' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->
</div><!-- post .boxentry -->
<?php $pare = get_the_ID(); endwhile; ?>
<?php else: ?>
<p class="no-data">
<?php //_e( 'Apologies, but no results were found.', 'hangar' ); ?>
</p><!-- .no-data -->
<?php endif; ?>
</div> <!-- end indexall wide -->
<div id="content" class="indexall extra">
<?php
// Detect plugin. For use on Front End only.
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
// check for plugin using plugin name
if ( is_plugin_active( 'hangar-wp-plugin/hangar-wp-plugin.php' ) ) {
//plugin is activated do
hangar_show_extra_content();
}
?>
</div><!-- end indexall extra -->
<?php get_footer(); ?>

View File

@ -3,7 +3,7 @@ Theme Name: Hangar, basat en Ari
Theme URI: http://wordpress.org/
Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades.
Author: Enfusion team & vitrubio.net
Version: 3.0
Version: 3.5
License: GNU General Public License
License URI: license.txt
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu