included the plugin extra in "seccio ampla extra"
This commit is contained in:
parent
460dc9a972
commit
c03a5f4b94
|
@ -40,7 +40,7 @@ get_header(); ?>
|
|||
<?php else: ?>
|
||||
|
||||
<p class="no-data">
|
||||
<?php _e( 'Apologies, but no results were found.', 'hangar' ); ?>
|
||||
<?php //_e( 'Apologies, but no results were found.', 'hangar' ); ?>
|
||||
</p><!-- .no-data -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
@ -48,20 +48,14 @@ get_header(); ?>
|
|||
</div>
|
||||
<div id="content" class="indexall tags">
|
||||
<?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_tagged(); // put code here to show tags
|
||||
}
|
||||
else: ?>
|
||||
<p class="no-data">
|
||||
<?php //_e( 'Apologies, but no results were found.', 'hangar' ); ?>
|
||||
</p><!-- .no-data -->
|
||||
<?php endif;
|
||||
// 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><!-- .content -->
|
||||
</div>
|
||||
<!--end Main-->
|
||||
|
||||
|
|
Loading…
Reference in New Issue