removed seccio extra template. added extra field to seccio. changed class tags to extra

This commit is contained in:
jorge 2022-09-12 14:45:38 +02:00
parent 0411d8ab58
commit 4b78ed9753
5 changed files with 38 additions and 9 deletions

View File

@ -46,7 +46,7 @@ get_header(); ?>
<?php endif; ?>
</div>
<div id="content" class="indexall tags">
<div id="content" class="indexall extra">
<?php
// Detect plugin. For use on Front End only.
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );

View File

@ -46,7 +46,8 @@ get_header(); ?>
<?php endif; ?>
</div> <!-- end indexall wide -->
<div id="content" class="indexall tags">
<div id="content" class="indexall extra">
<?php
// Detect plugin. For use on Front End only.
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
@ -57,6 +58,6 @@ get_header(); ?>
}
?>
</div><!-- end indexall tags -->
</div><!-- end indexall extra -->
<?php get_footer(); ?>

View File

@ -45,9 +45,10 @@ get_header(); ?>
<?php endif; ?>
</div>
<div id="content" class="indexall fills">
<!--ara els fills-->
</div>
<div id="content" class="indexall fills">
<!--ara els fills-->
<?php
$indexseccions = new WP_Query();
$indexseccions->query('posts_per_page=-1&post_type=page&orderby=menu_order&order=asc&post_parent=' . $pare );
@ -82,7 +83,21 @@ get_header(); ?>
</p><!-- .no-data -->
<?php endif; ?>
</div><!-- .content -->
</div><!-- .content indexall fills-->
<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 -->
</div>
<!--end Main-->

View File

@ -95,4 +95,17 @@ get_header(); ?>
</div><!-- #content .indexall -->
<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

@ -57,7 +57,7 @@
</div>
<!--end Content-->
<div id="content" class="indexall tags">
<div id="content" class="indexall extra">
<?php
// Detect plugin. For use on Front End only.
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
@ -68,7 +68,7 @@
}
?>
</div><!-- end indexall tags -->
</div><!-- end indexall extra -->
<?php //get_sidebar('secondary'); ?>