Title: raytri's Replies | WordPress.org

---

# raytri

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

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

 Search replies:

## Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Event Manager datepicker is broken](https://wordpress.org/support/topic/event-manager-datepicker-is-broken/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/event-manager-datepicker-is-broken/#post-13654537)
 * Resolving the conflict with the theme fixed the problem. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Event Manager datepicker is broken](https://wordpress.org/support/topic/event-manager-datepicker-is-broken/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/event-manager-datepicker-is-broken/#post-13654378)
 * I ran WP Safe Mode with only the Events Manager plugin active, and the problem
   still occurred.
 * Update: I hadn’t switched themes in safe mode. When I run it with Twenty Twenty
   theme, it works fine. So there must be a conflict with the theme. I will investigate
   further.
    -  This reply was modified 5 years, 7 months ago by [raytri](https://wordpress.org/support/users/raytri/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Can’t manually add bookings](https://wordpress.org/support/topic/cant-manually-add-bookings/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/cant-manually-add-bookings/#post-8224045)
 * Ah, bummer. Thanks for answering that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Change name of default ticket?](https://wordpress.org/support/topic/change-name-of-default-ticket/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/change-name-of-default-ticket/#post-8210077)
 * Thanks! That did it.
 * This is why a list of filter and action hooks would be handy…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Basic info on plugin’s hook, filters and objects?](https://wordpress.org/support/topic/basic-info-on-plugins-hook-filters-and-objects/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/basic-info-on-plugins-hook-filters-and-objects/#post-8208523)
 * Thanks, I should have seen that. Also figured out how to do a custom placeholder,
   so that helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Can't change "week starts on"](https://wordpress.org/support/topic/cant-change-week-starts-on/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [10 years ago](https://wordpress.org/support/topic/cant-change-week-starts-on/#post-7498212)
 * Never mind. I just realized your article references general blog settings, not
   Event Calendar settings. I’m a doofus.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Role Scoper (Obsolete - Please install PublishPress Permissions)] Latest update hiding child categories on admin pages](https://wordpress.org/support/topic/latest-update-hiding-child-categories-on-admin-pages/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/latest-update-hiding-child-categories-on-admin-pages/#post-6611861)
 * Specifically, in the “Access Types” section, if I check “Editing and Administering
   Content (admin)”, my child categories disappear from view. If I uncheck that 
   box, I can see them again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Posts Widget] custom field is a date… can I add date format?](https://wordpress.org/support/topic/custom-field-is-a-date-can-i-add-date-format/)
 *  [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-field-is-a-date-can-i-add-date-format/#post-5870713)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Show location EXCEPT for one location?](https://wordpress.org/support/topic/show-location-except-for-one-location/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-location-except-for-one-location/#post-6543922)
 * Never mind. I figured out how to do it with a custom conditional placeholder.
   Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP_Query with custom post type and default categories](https://wordpress.org/support/topic/wp_query-with-custom-post-type-and-default-categories/)
 *  Thread Starter [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wp_query-with-custom-post-type-and-default-categories/#post-6480606)
 * Thanks! That did it. Didn’t know the array construct was necessary for such a
   seemingly straightforward query.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced TinyMCE Configuration] How do you add custom CSS classes](https://wordpress.org/support/topic/how-do-you-add-custom-css-classes/)
 *  [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/how-do-you-add-custom-css-classes/#post-4868385)
 * Okay, I figured out what the problem was. When using style_formats, you apparently
   have to specify a selector — there’s no default “apply to everything”.
 * So the following worked for me:
 *     ```
       [
       {title: 'Dashed border', selector:'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,img,table', classes: 'green-border'}
       ]
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced TinyMCE Configuration] How do you add custom CSS classes](https://wordpress.org/support/topic/how-do-you-add-custom-css-classes/)
 *  [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/how-do-you-add-custom-css-classes/#post-4868324)
 * I’d like to second this question. Since upgrading to WordPress 3.9, I can’t get**
   style_formats** to work. I do the following:
 * Option name:
    `style_formats`
 * Value:
 *     ```
       [
       {title: 'Dashed border', classes: 'green-border'}
       ]
       ```
   
 * The “Dashed border” text shows up in the “Formats” dropdown, but it doesn’t apply
   the “green-border” class to selected elements.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Everything] [Plugin: Search Everything] wp_nav_menu broken on search results](https://wordpress.org/support/topic/plugin-search-everything-wp_nav_menu-broken-on-search-results/)
 *  [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-search-everything-wp_nav_menu-broken-on-search-results/#post-2028953)
 * I’ve got good news: the developer got involved, and a fix should be out in an
   upcoming update.
 * Meanwhile, we came up with a better fix than the one above.
 * Instead of this line:
 * `if ( $GLOBALS['wp_query'] !== $wp_query )`
 * Use this:
 * `if(!$wp_query -> is_search())`
 * This makes the fix work for every sort of search, not just the main Search Everything
   query.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Everything] [Plugin: Search Everything] wp_nav_menu broken on search results](https://wordpress.org/support/topic/plugin-search-everything-wp_nav_menu-broken-on-search-results/)
 *  [raytri](https://wordpress.org/support/users/raytri/)
 * (@raytri)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-search-everything-wp_nav_menu-broken-on-search-results/#post-2028950)
 * I figured out how to fix it, but you’ll have to edit the “search-everything.php”
   plugin file to do so.
 * On line 257, replace this:
 * `add_filter('posts_search', array(&$this, 'se_search_where'));`
 * with this:
 * `add_filter('posts_search', array(&$this, 'se_search_where'),10,2);`
 * Then, on line 341, replace the following code at the top of the se_search_where
   function:
 *     ```
       function se_search_where($where)
   
       	{
   
       		global $wp_query, $wpdb;
       ```
   
 * with this:
 *     ```
       function se_search_where($where, $wp_query)
   
       	{
   
       		  if ( $GLOBALS['wp_query'] !== $wp_query )
           return $search;
       ```
   
 * What this does is say, “If this isn’t the same query created by Search Everything,
   don’t add the Search Everything “where” clause to the query.”

Viewing 14 replies - 1 through 14 (of 14 total)