Browsing Tag


Meta Query filter custom input field types

Haven’t really seen any tutorials that include Meta_query array that shows how to get input field values on submit from users to filter results within

Fantastic Elasticsearch: Filter to modify mapping

I’m having trouble using the elasticsearch_indexer_map_field filter packaged with Fantastic Elasticsearch plugin. Docs found here I tried: function FESmapping_edit($mapping, $field){ $mapping['market'] = "not_analyzed"; return $mapping;

When adding media, can I filter the HTML generated from "Insert From URL" before it hits the editor?

function test_function( $html ) { return $html . 'TEST!'; } add_filter( 'post_thumbnail_html', 'test_function', 21 ); add_filter( 'image_send_to_editor', 'test_function', 21 ); add_filter( 'media_send_to_editor', 'test_function', 21 );

Apply the_content filter, but prevent other hooked actions

I have a plugin that displays some content onto the front end of the site after applying the_content filter to the block of text. I

Events Manager filter by custom attribute

I have a problem with the events manager plugin. I want to filter with a custom attribute. The code is as below: EM_Events::output(array ( 'order'

the_content and the_title filter not working for custom post type created with custom post ui plugin

My code is working fine on normal posts and pages but it is not working on custom posts. I could not find the answer. I’ve

Add Class to a div using a filter?

is it possible to add a dynamic class to a div using a filter in the functions.php? I know it’s possible for the body-tag -

WordPress: Getting URL link for archive based on custom field filter

I am trying to provide a link on a wordpress post that will lead the user to an archive view with other posts with the

Can’t use $1 in basename wordpress filter

Ok this is hard to explain in the heading. But I’ve made this function in my functions.php Where i add a title tag to all

Removing filter dropdown in posts table (in this case Yoast SEO)

I don’t need Yoast SEO meta box for one post type so I removed it with remove_meta_box(). Removed unneeded columns in post table by unsetting

How to add a filter to get_the_author_meta?

I need to filter calls to get_the_author_meta() where the field is “display name”. i.e. make all calls to get_the_author_meta('display_name', $p->uid) return “John” without modifying calls

Woocommerce Price Filter problem

I have a problem with the price filter widget, seems not wqorking properly regarding the max price. The min price is ok ( 3 )

woocommerce price filter max price

I have a problem with the price filter widget, seems not wqorking properly regarding the max price. The min price is ok ( 3 )

wordpress attachments plugin missing upload filter

I have installed attachments plugin on my site For some reason when i hit the upload button the filter is missing (attached image) How is

Back to Top 134692 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising