Title: Hadhops's Replies | WordPress.org

---

# Hadhops

  [  ](https://wordpress.org/support/users/hadhops/)

 *   [Profile](https://wordpress.org/support/users/hadhops/)
 *   [Topics Started](https://wordpress.org/support/users/hadhops/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hadhops/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hadhops/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hadhops/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hadhops/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hadhops/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/hadhops/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/hadhops/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Improved Save Button] About media](https://wordpress.org/support/topic/about-media/)
 *  [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/about-media/#post-9261001)
 * Hello,
 * I would like to request this feature also.
 * Thanks for the great plugin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Everything] How do you only search complete words?](https://wordpress.org/support/topic/how-do-you-only-search-complete-words/)
 *  [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/how-do-you-only-search-complete-words/#post-8727596)
 * Hello,
 * I would like this function also.
 * Thanks,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Start date only in Multi day event Widget](https://wordpress.org/support/topic/start-date-only-in-multi-day-event-widget/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/start-date-only-in-multi-day-event-widget/#post-6665568)
 * Works perfectly! Thanks a lot, for some reason I couldn’t find this in you excellent
   documentation?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] V1.10 Adding meta box to custom post type](https://wordpress.org/support/topic/v110-adding-meta-box-to-custom-post-type/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/v110-adding-meta-box-to-custom-post-type/#post-6429268)
 * That nailed it!
 * Thanks for the great plugin and support 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] V1.10 Adding meta box to custom post type](https://wordpress.org/support/topic/v110-adding-meta-box-to-custom-post-type/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/v110-adding-meta-box-to-custom-post-type/#post-6429231)
 * Oh sorry I forgot to post the error message –
 * Warning: call_user_func() expects parameter 1 to be a valid callback, function‘
   ps_custom_post_type_uploads’ not found or invalid function name in /Applications/
   MAMP/htdocs/applewood/wp-admin/includes/template.php on line 1074
 * Hope to hear back soon:)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TinyPNG - JPEG, PNG & WebP image compression] Error: Could not decode JSON](https://wordpress.org/support/topic/error-could-not-decode-json/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-could-not-decode-json/#post-6235605)
 * Thanks for getting back to me,
 * Unfortunately that has not changed anything, and weirdly the account section 
   says that I have used 200+ compressions when I haven’t actually done any… I tried
   to use it and it looked like it was working, except for every image it just returned‘
   0 compressions’.
 * Could it be a permissions thing? Should I contact my host?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Calendar - Accessible Event Manager] Excerpt length](https://wordpress.org/support/topic/excerpt-length-11/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years ago](https://wordpress.org/support/topic/excerpt-length-11/#post-6068886)
 * Great, worked perfectly!
 * Thanks for the support.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Add post category class](https://wordpress.org/support/topic/add-post-category-class/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/add-post-category-class/#post-5306857)
 * Cool, thanks again.
 * Your plugin support is fantastic!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Add post category class](https://wordpress.org/support/topic/add-post-category-class/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/add-post-category-class/#post-5306851)
 * Thank you,
 * All of the sorting options in the plugin are fantastic, so everything is functioning
   perfectly on load.
 * The reason I want the category name added as a class is so I can style the results
   based on their category.
 * Does that make a difference to your recommendation?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Add post category class](https://wordpress.org/support/topic/add-post-category-class/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/add-post-category-class/#post-5306847)
 * Thanks for that TC.K,
    I’ve had another try but still can’t get the category 
   name to appear as a class. Do you mind having a look at where I’m going wrong?
 * Thanks again!
 *     ```
       add_filter('uwpqsf_result_tempt', 'customize_output', '', 4);
       function customize_output($results , $arg, $id, $getdata ){
       	 // The Query
                   $apiclass = new uwpqsfprocess();
                    $query = new WP_Query( $arg );
       		ob_start();	$result = '';
       			// The Loop
   
       			if ( $query->have_posts() ) {
       			while ( $query->have_posts() ) {
       				$query->the_post();global $post; 
   
       									echo '<div class="client-box'; foreach(wp_get_object_terms() as $taxo) { echo 'category-'.$taxo->slug; }; echo '">';
                                       	echo '<span>'.get_the_post_thumbnail().'</span>';
       	                                echo '<h1 class="client-title">'.get_the_title().'</h1>';
       	                                echo '<h1 class="client-excerpt">'.get_the_excerpt().'</h1>';
       	                                echo '<h1>'.the_meta().'</h1>';
                                       	echo '</div>';
       			}
                               echo  $apiclass->ajax_pagination($arg['paged'],$query->max_num_pages, 4, $id, $getdata);
       		 } else {
       					 echo  'No clients fit these criteria';
       				}
       				/* Restore original Post Data */
       				wp_reset_postdata();
   
       		$results = ob_get_clean();
       			return $results;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] category descriptions](https://wordpress.org/support/topic/category-descriptions-5/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/category-descriptions-5/#post-5067935)
 * PERFECT! That works exactly the way I need.
 * Great plugin support. A++++
 * I’ll send a donation through your site.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] category descriptions](https://wordpress.org/support/topic/category-descriptions-5/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/category-descriptions-5/#post-5067933)
 * Hi TC.K,
    Unfortunately that is now only outputting the checkbox and the text‘
   Description:’ for each label. So the category name has disappeared and it’s not
   showing the actual description text.
 * Really appreciate you help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] category descriptions](https://wordpress.org/support/topic/category-descriptions-5/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/category-descriptions-5/#post-5067930)
 * Hello again,
 * Thanks for writing that code for me, unfortunately the category descriptions 
   are not displaying. I don’t see any change to the code rendered in the web inspector–
   is there a way I can check if the function is working? or do you mind having 
   another look over what you wrote to check it?
 * Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] category descriptions](https://wordpress.org/support/topic/category-descriptions-5/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/category-descriptions-5/#post-5067863)
 * Amazing:)
    Thanks for the great plugin support!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] category descriptions](https://wordpress.org/support/topic/category-descriptions-5/)
 *  Thread Starter [Hadhops](https://wordpress.org/support/users/hadhops/)
 * (@hadhops)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/category-descriptions-5/#post-5067835)
 * Thanks for the response, I’m using checkboxes to filter the site pages via category,
   and the plugin is working fantastic – I’d like to add the category descriptions
   to give the user a bit more info about their choice.
 * I’d like a list like this-
    ‘[checkbox] **Category title** Category description…’
 * Unfortunately for me my php skills are non existent, but i’m trying to learn –
   could you help me with adding the filter? So far I know it’s not this –
 * add_filter( ‘uwpqsf_cmf_field_checkbox’, ‘add_category_descriptions’ );
    function‘
   add_category_descriptions'($term) { $GLOBALS[‘category’] = $term->description?
   > }
 * Thanks!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/hadhops/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/hadhops/replies/page/2/?output_format=md)