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: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<p class="no-data">
|
<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 -->
|
</p><!-- .no-data -->
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -48,20 +48,14 @@ get_header(); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="content" class="indexall tags">
|
<div id="content" class="indexall tags">
|
||||||
<?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' );
|
||||||
// check for plugin using plugin name
|
// check for plugin using plugin name
|
||||||
if ( is_plugin_active( 'hangar-wp-plugin/hangar-wp-plugin.php' ) ) {
|
if ( is_plugin_active( 'hangar-wp-plugin/hangar-wp-plugin.php' ) ) {
|
||||||
//plugin is activated do
|
//plugin is activated do
|
||||||
hangar_show_tagged(); // put code here to show tags
|
hangar_show_extra_content();
|
||||||
}
|
}
|
||||||
else: ?>
|
|
||||||
<p class="no-data">
|
|
||||||
<?php //_e( 'Apologies, but no results were found.', 'hangar' ); ?>
|
|
||||||
</p><!-- .no-data -->
|
|
||||||
<?php endif;
|
|
||||||
?>
|
?>
|
||||||
</div><!-- .content -->
|
|
||||||
</div>
|
</div>
|
||||||
<!--end Main-->
|
<!--end Main-->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue