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; ?> <?php endif; ?>
</div> </div>
<div id="content" class="indexall tags"> <div id="content" class="indexall extra">
<?php <?php
// Detect plugin. For use on Front End only. // Detect plugin. For use on Front End only.
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); include_once( ABSPATH . 'wp-admin/includes/plugin.php' );

View File

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

View File

@ -46,6 +46,7 @@ get_header(); ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
<div id="content" class="indexall fills"> <div id="content" class="indexall fills">
<!--ara els fills--> <!--ara els fills-->
<?php <?php
@ -82,7 +83,21 @@ get_header(); ?>
</p><!-- .no-data --> </p><!-- .no-data -->
<?php endif; ?> <?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> </div>
<!--end Main--> <!--end Main-->

View File

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

View File

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