added call for extra display in case plugin is active

This commit is contained in:
jorge-vitrubio 2022-07-19 15:21:41 +02:00
parent f5189b19f1
commit 460dc9a972
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ get_header(); ?>
// 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-tags-selector/hangar-tags-and-pages.php' ) ) {
if ( is_plugin_active( 'hangar-wp-plugin/hangar-wp-plugin.php' ) ) {
//plugin is activated do
hangar_show_tagged(); // put code here to show tags
}