createdyanne
Forum Replies Created
-
Forum: Plugins
In reply to: [HTTP Headers] Header Settings Not ApplyingThis is marked Resolved, but no information on how it was resolved.
I’m new to this plugin and cannot get the settings to be reflected in the headers that are actually being loaded.
I’m using this plugin for tax calculations:
https://ww.wp.xz.cn/plugins/woocommerce-services/The path on my site for configuring taxes is this:
/wp-admin/admin.php?page=wc-settings&tab=tax§ionI don’t see anything labeled “View POS” panel. What am I missing?
FYI, just realized that a bit of debugging code was still in the snippet that I posted. Please remove the print_r.
Hello, for those who arrived here from Google or other search, the following snippet modification worked for me:
/** * Filter out current page on UAG Post Grid */ function filter_post_query( $query_args, $attributes) { // Modify $query_args values. $query_args['post__not_in'][] = get_the_ID(); return $query_args; print_r($query_args); } add_filter( 'uagb_post_query_args_grid', 'filter_post_query', 10, 2 );According to the debug message, $post__not_in looks for an array, so I added
[]after$query_args['post__not_in']. With this addition, the Post Grid displays the expected items.