Skip to content

Commit

Permalink
Added tags filter
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-goncalves-unp committed Aug 28, 2024
1 parent 14bb20c commit 6b43008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/iotcat_elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function __construct($name, $singular_name, $post_type, $default_metadata = arra
add_action('init',array($this,'create_post_type'));
add_action('wp_head', array($this,'add_page_header'));
add_action('template_redirect', array($this,'process_redirect'),10,0);
//add_action('pre_get_posts', array($this,'pre_get_posts'),10,1);
add_action('pre_get_posts', array($this,'pre_get_posts'),10,1);
add_filter( "get_default_comment_status", array($this,'get_default_comment_status'), 10, 3 );

$this->icon = 'dashicons-list-view';
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Plugin Name: IoT Catalogue Integration
* Description: Display in WordPress content from IoT Catalogue
* Version: 1.10.0
* Version: 1.10.1
* Author: UNPARALLEL Innovation, Lda
* Author URI: https://www.unparallel.pt
*/
Expand Down

0 comments on commit 6b43008

Please sign in to comment.