Google Analytics lowercase filter for Campaign Term did not change my data. Why?

Universal Analytics sent a notification "Property XXXX is receiving hits with utm_term parameters of the same text but different letter cases" (e.g. MY term, my term, My Term) and proposed to set up a lowercase filter for Campaign Term, which I did.

lowercase filter Campaign Term

After one week, the Keyword column in Paid Keyword view keeps showing a couple of lines with mixed cases.

enter image description here

Moreover, if in the All Campaigns you select Keyword as a Primary Dimension it shows many more mixed cases words that came from some non-paid campaigns

enter image description here

I checked actual URLs in BigQuery. All these words that appear in the Keyword column do come as utm_term parameters.

Why did not Campaign Term lowercase filter change my data?

How add Filter by Tags and by categories to custom post type in Gutenberg block

I need to add Filter by Tags and by categories to custom post type in Gutenberg block. I have created a CPT called "newsfeed" and it is displayed correctly in the page editor as shown in the following image.

newsfeed

but does not have the options Filter by Categories and by Filter by Tags like in the post type "Posts".

What can I do to enable these options?

posts

This is the code I use to create the newsfeeds

function add_tags_categories_taxonomy_x5642() {     $  labels = array(         'name'              => _x( 'Feed Tags', 'taxonomy general name' ),         'singular_name'     => _x( 'Feed Tag', 'taxonomy singular name' ),         'search_items'      => __( 'Search Feed Tags' ),         'all_items'         => __( 'All Feed Tags' ),         'edit_item'         => __( 'Edit Feed Tag' ),          'update_item'       => __( 'Update Feed Tag' ),         'add_new_item'      => __( 'Add New Feed Tag' ),         'new_item_name'     => __( 'New Feed Tag' ),         'menu_name'         => __( 'Feed Tags' ),     );     $  args = array(         'labels' => $  labels,         'show_ui' => true,         'show_in_rest' => true,         'show_admin_column' => true,         'query_var' => true,     );     register_taxonomy('feeds_tags', 'newsfeed', $  args);          $  labels = array(         'name'              => _x( 'Feed Symbols', 'taxonomy general name' ),         'singular_name'     => _x( 'Feed Symbols', 'taxonomy singular name' ),         'search_items'      => __( 'Search Feed Symbols' ),         'all_items'         => __( 'All Feed Symbols' ),         'edit_item'         => __( 'Edit Feed Symbols' ),          'update_item'       => __( 'Update Feed Symbols' ),         'add_new_item'      => __( 'Add New Feed Symbols' ),         'new_item_name'     => __( 'New Feed Symbols' ),         'menu_name'         => __( 'Feed Symbols' ),     );     $  args = array(         'labels' => $  labels,         'show_ui' => true,         'show_in_rest' => true,         'show_admin_column' => true,         'query_var' => true,     );     register_taxonomy('feeds_symbols', 'newsfeed', $  args);      register_taxonomy_for_object_type('category','newsfeed'); } add_action('init', 'add_tags_categories_taxonomy_x5642');  function add_feed_post_type_x1234($  query) {     if ( is_home() && $  query->is_main_query() ) {         $  query->set('post_type', ['post', 'newsfeed']);     }     return $  query; } add_action('pre_get_posts', 'add_feed_post_type_x1234'); 

How to filter and get specific keys from JSON objects array

I have a JSONB field containing a value in this structure:

[     {         "type": "small",         "name": "Josh",         "greeting": "Hello buddy!",         "hobby": "billiards",         "place": "Barcelona"     },     {         "type": "big",         "name": "Aziz",         "greeting": "Hey man!",         "hobby": "tennis",         "place": "Montpellier"     } ] 

I want to include this output if type is equal to "big":

{     "greeting": "Hey man! How're you doing Aziz?",     "place": "Montpellier" } 
  1. In the first row, I combined two values into one with some additional words.
  2. I don’t want my whole output to be empty if there isn’t type value equal to "big". Instead, output values of type value equal to "small" as a fallback.
  3. If there is not a fallback with type equal to "small", then output an empty string or NULL value but without Nulling the whole query result. Or preferably, not include these keys if no value is present.

I know I can combine values into one by using CONCAT but don’t know how to build this query and integrate it. I can’t loop through the array and output the values of the object that matches my filter. Tried CASE but still wasn’t able to get the result I want.

I use PostgreSQL 13.

I want to add a search filter in my custom plugin backend

I am developing a plugin.in the backend i want a search filter ,which go through entire table and list the details.

I have simply created a form ,attaching the code here.

 public function SearchSection(){      echo '<p class="search-bx">     <form action="" id="searchForm" method="get">     <label class="searchbar_st" for="#">Search :</label>     <input type="search" id="sbr_search" name="s" value="">         <input type="submit" id="search_submit" class="button" value="Search"></p>         </form>';                 global $  wpdb;          $  table_custom = $  wpdb->prefix . 'my_custom_table';                    //-----------------------------         $  output = '';          if(isset($  _POST['searchForm'])) {           $  search = $  _POST['searchForm'];           $  search = preg_replace("#[^0-9a-z]i#","", $  search);                  $  query = mysqli_query("SELECT * FROM 'my_custom_table' WHERE town LIKE '%$  search%'") or die ("Could not search");           $  count = mysqli_num_rows($  query);                      if($  count == 0){             $  output = "There was no search results!";                  }else{                    while ($  row = mysqli_fetch_array($  query)) {                        $  id = $  row['customers_id'];                 $  Name = $  row['customers_name'];                 $  items = $  row['product_items'];                 $  period = $  row['billing_period'];                 $  amount = $  row['billing_total'];                    $  next = $  row['next_payment_date'];                 $  previous = $  row['previous_payment_date'];                 $  billing_link = $  row['billing_link'];                         echo "<tr>";                          echo "<td><a href=".$  billing_link."> ". $  id ."</a></td>";                 echo "<td>". $  Name ."</td>";                 echo "<td >". $  items ."</td>";                 echo "<td>".$  currency. $  amount.' / '.$  period."</td>";                 echo "<td>". $  next ."</td>";                 echo "<td>". $  previous ."</td>";                 echo "</tr>";                     }             }             else{                 echo "<tr><td cols=an='5'>No records found</td></tr>";             } 

And the code is not correct.Could anybody point me in the right direction.

Google Analytics GA4 – How to filter data based on Event parameter values

I am very new to GA4 and have been working with Universal analytics for the past 2 years. Now custom events are tracked in my GA4 property along with Event parameters and custom dimensions. But where can I filter an Event using the event parameter data ? Like in Universal Analytics we have an advanced option on the right corner on top of the result table, where we can filter based on "Category/ Action/ Label or dimensions". How can I do the same in GA4 ?

Below is the the filtering options used in UA :

enter image description here

WP Job Manager – connect filter to an existing widget-field

I’m using WP Job Manager in combination with ListingEasy (theme).

I have made an extra search filter, based on a new custom form field. However, now I want to refer to an existing field, named: working_time_text__day. It is already displayed in a widget on the listing-page, however I’m not sure how to connect to those fields.

Hereby the code with which I created the filter:

/**  * This code gets your posted field and modifies the job search query  */ add_filter( 'job_manager_get_listings', 'filter_by_salary_field_query_args', 10, 2 );  function filter_by_salary_field_query_args( $  query_args, $  args ) {     if ( isset( $  _POST['form_data'] ) ) {         parse_str( $  _POST['form_data'], $  form_data );          // If this is set, we are filtering by salary         if ( ! empty( $  form_data['filter_by_salary'] ) ) {             $  selected_range = sanitize_text_field( $  form_data['filter_by_salary'] );             switch ( $  selected_range ) {                 case 'vrijdag' :                     $  query_args['meta_query'][] = array(                         'key'     => '_job_salary',                         'value'   => 'vrijdag',                         'compare' => '==',                     );                 break;                 case 'zaterdag' :                     $  query_args['meta_query'][] = array(                         'key'     => '_job_salary',                         'value'   => 'zaterdag',                         'compare' => '==',                     );                 break;                 case 'zondag' :                     $  query_args['meta_query'][] = array(                         'key'     => '_job_salary',                         'value'   => 'zondag',                         'compare' => '==',                     );                 break;                 case 'maandag' :                     $  query_args['meta_query'][] = array(                         'key'     => '_job_salary',                         'value'   => 'maandag',                         'compare' => '==',                     );                 break;             }              // This will show the 'reset' link             add_filter( 'job_manager_get_listings_custom_filter', '__return_true' );         }     }     return $  query_args; } 

In the picture below the script of the side-widget. I want my filter to search on the working_time_text__day, instead of the salary custom field.

enter image description here

To which value I should change the ‘key’ in the query_args?

View users by filter

I’m trying to display a list of members on my site in a way that looks similar to what this site does: https://cgli.net/members

With all these user filters (by country, groups, area…), is there a WordPress plugin that does this?