Title: Help with AJAX in this plugin
Last modified: April 30, 2018

---

# Help with AJAX in this plugin

 *  Resolved [dpendleton](https://wordpress.org/support/users/dpendleton/)
 * (@dpendleton)
 * [8 years ago](https://wordpress.org/support/topic/help-newb-with-code/)
 * Hi, I’ve tried to fix this issue myself, but am new to coding/php and haven’t
   managed to get it working. I’m using the SearchWP Live Ajax Search plugin (which
   is awesome, thank you!) and am trying to get it show the Category after the page
   title, rather than the post type.
 * I understand it’s the <?php $post_type = get_post_type_object( get_post_type());?
   > line I need to change (I think) and assume it’s get_category I would need to
   use? Just can’t figure out the syntax. Would appreciate any help!
 * Thanks
 * Dan

Viewing 1 replies (of 1 total)

 *  Thread Starter [dpendleton](https://wordpress.org/support/users/dpendleton/)
 * (@dpendleton)
 * [8 years ago](https://wordpress.org/support/topic/help-newb-with-code/#post-10242742)
 * Please ignore, got it! Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Help with AJAX in this plugin’ is closed to new replies.

 * ![](https://ps.w.org/searchwp-live-ajax-search/assets/icon-256x256.png?rev=3119393)
 * [SearchWP Live Ajax Search](https://wordpress.org/plugins/searchwp-live-ajax-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/searchwp-live-ajax-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/searchwp-live-ajax-search/)
 * [Active Topics](https://wordpress.org/support/plugin/searchwp-live-ajax-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/searchwp-live-ajax-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/searchwp-live-ajax-search/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [dpendleton](https://wordpress.org/support/users/dpendleton/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/help-newb-with-code/#post-10242742)
 * Status: resolved