Question regarding Askbug search box

Hello Jayanta, I think all you need is this: /** * Add all CPT to search query. */ function anspress_add_cpts_to_search( $query ) { // Check if search page. if( is_search() ) { // Get post types. $post_types = get_post_types( [ 'public' => true, 'exclude_from_search' => false ], 'objects' ); $searchable_cpt = array(); // Add available post types. if( $post_types ) { foreach( $post_types as $type) { $searchable_cpt[] = $type->name; } } $query->set( 'post_type', $searchable_cpt ); } return $query; } add_action( 'pre_get_posts', 'anspress_add_cpts_to_search' ); Note: this hook includes all CPT in search query. If you want only specific CPT then replace get_post_types with array of CPT.

Problems with Anspress 4 beta

Here is upload progress, just made a commit to Github.

Reputation Feed in 4.0

Yes there will be, some tasks remained on reputation page hence I have not committed reputation page. Will do in few days.

Problems with Anspress 4 beta

Adding images to Q or A puts them in the library but there are NO thumbails when viewing the Media Library (so they are kinda of useless). While Blog Post images are ok.

Problems with Anspress 4 beta

Permalinks ! I see some changes in Base Page permalink. Now it contains “index.php” for the Questions List page, Ask page, Categories page. Is that nornal ?

Problems with Anspress 4 beta

I think this is not needed twice. IMHO.

Problems with Anspress 4 beta

This is not a problem but rather a user experience improvement. During the upload of an image, there is nothing to inform the user this is happening. Especially when the image is large. Not sure if something could be done about this.

AnsPress 4.0 Beta Issues

Other issue is the categories. I upload an image, and after that I can not remove it. Also the Category Icon Class and Category Icon Color In previous version it let me customize color. Now I can not, When I write it and I press the button Update… It just does not update and delete the fields

AnsPress 4.0 Beta Issues

Thanks for reporting. This was due to missing minified JS. I already fixed it. Please download from here: Latest commit

Problems with Anspress 4 beta

In my browser debug i see:   GET http:// website. com/wp-content/plugins/anspress/assets/js/min/list.min.js   404 not found