Title: CodeMonkey613's Replies | WordPress.org

---

# CodeMonkey613

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Arrrgh… help, please!](https://wordpress.org/support/topic/arrrgh-help-please/)
 *  Thread Starter [CodeMonkey613](https://wordpress.org/support/users/codemonkey613/)
 * (@codemonkey613)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/arrrgh-help-please/#post-5125608)
 * Awesome, that helped a lot, thanks! Turns out that because I was using the query
   variable $search, pods was automatically using that to query the post_title, 
   resulting in a SQL statement of “product_gender like ‘%male%’ AND post_title 
   like ‘%male%'”. So I was getting 0 results because there is no point at which
   gender AND title both have the keyword.
 * So I just needed to change the variable from $search to $keywords so that pods
   would stop writing the $where statement automatically.
 * I also notice pods handles “post_status IN (‘publish’)” by itself, so I was needlessly
   adding that a second time.
 * Thanks so much! Took 4 hours but can finally relax lol 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Arrrgh… help, please!](https://wordpress.org/support/topic/arrrgh-help-please/)
 *  Thread Starter [CodeMonkey613](https://wordpress.org/support/users/codemonkey613/)
 * (@codemonkey613)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/arrrgh-help-please/#post-5125589)
 * Hi pglewis, this case it doesn’t seem to help adding “meta_value”. It no longer
   throws the error, but it returns 0 results. Could it be because the field is 
   a “Relationship / Simple (custom defined list)”?
 * I’ve got it filtering the “post_title” using keywords correctly. But it won’t
   recognize the contents of this “product_gender” field.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Arrrgh… help, please!](https://wordpress.org/support/topic/arrrgh-help-please/)
 *  Thread Starter [CodeMonkey613](https://wordpress.org/support/users/codemonkey613/)
 * (@codemonkey613)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/arrrgh-help-please/#post-5125584)
 * Hi pglewis, thank you for the quick response. I tried ABS() before and couldn’t
   get it working. Upon your suggestion, I tried CAST() and got an error. But with
   minor modification I got it working:
 *     ```
       CAST(product_price.meta_value AS DECIMAL)
       ```
   
 * Do you maybe have suggestion for my “second problem” too? Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Menu Editor] [Plugin: Admin Menu Editor] [Bug] Settings reset when deploying](https://wordpress.org/support/topic/plugin-admin-menu-editor-bug-settings-reset-when-deploying/)
 *  Thread Starter [CodeMonkey613](https://wordpress.org/support/users/codemonkey613/)
 * (@codemonkey613)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-admin-menu-editor-bug-settings-reset-when-deploying/#post-3110235)
 * Hmm, interesting. I looked at “ws_menu_editor” and each occurrence of the domain
   has a s: variable with the count of the string/url length. So if I don’t search/
   replace these domain matches in “ws_menu_editor”, and I just copy/paste it in
   the new database, and then I open “Admin Menu Editor” – will that update all 
   the links with new domain automatically?
 * I’m not changing any links myself, all I ever use is the hide and order feature.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-LESS] [Plugin: WP-LESS] BETTER TIP: for those with problems get the plugin to work](https://wordpress.org/support/topic/plugin-wp-less-better-tip-for-those-with-problems-get-the-plugin-to-work/)
 *  [CodeMonkey613](https://wordpress.org/support/users/codemonkey613/)
 * (@codemonkey613)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-less-better-tip-for-those-with-problems-get-the-plugin-to-work/#post-1755941)
 * schwipps, that’s not how you use wp_enqueue_style. It doesn’t output the URL,
   it outputs the enter <link> tag. Don’t forget to add wp_head() in your theme’s
   <head></head> section.

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