Title: Mohan Chevuri's Replies | WordPress.org

---

# Mohan Chevuri

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [New Release Mailing List?](https://wordpress.org/support/topic/new-release-mailing-list/)
 *  [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/new-release-mailing-list/#post-8721473)
 * There is a “release notification” join button on the WordPress download page.
 * [https://wordpress.org/download/](https://wordpress.org/download/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] !](https://wordpress.org/support/topic/0-352/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/0-352/#post-5643686)
 * Hello, at the moment only “<logged_in_user>” is supported. “Anonymous” is not.
   You can try “<all paths except>”, which basically flips the logic – that is, 
   if it is supposed to be visible, it removes it, and vice versa.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Where,I can't find .](https://wordpress.org/support/topic/wherei-cant-find-1/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/wherei-cant-find-1/#post-5102094)
 * Once you have both the plugins installed, Widget Logic box becomes Widget Logic
   by path box. So you can put “Widget Logic by Path” logic in “Widget Logic” box.
   There is no additional UI for this plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Show widget on single posts?](https://wordpress.org/support/topic/show-widget-on-single-posts/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/show-widget-on-single-posts/#post-5054559)
 * Thanks for posting your logic here.
 * You could also try the below one to make it show on all URLs starting with 20xx/
   anything. Which will match pretty much all blog posts.
 * `/20\d{2}\/.*/`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] This plugin not functional on 3.9.1?](https://wordpress.org/support/topic/this-plugin-not-functional-on-391/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/this-plugin-not-functional-on-391/#post-5093212)
 * It works normal on our 3.9.1 setups. I see another post about the same issue.
   Perhaps you don’t have widget logic plugin enabled? Which is required for this
   plugin. Either way please post here, to make sure it is not a bug or something
   else.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Where,I can't find .](https://wordpress.org/support/topic/wherei-cant-find-1/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/wherei-cant-find-1/#post-5102045)
 * Hello,
 * Do you have Widget Logic plugin installed? This plugin is an extension to Widget
   Logic and requires widget logic to be present to be usable.
 * [http://wordpress.org/plugins/widget-logic/](http://wordpress.org/plugins/widget-logic/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Feature Request: Per-widget toggle](https://wordpress.org/support/topic/feature-request-per-widget-toggle/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/feature-request-per-widget-toggle/#post-4698358)
 * Sorry, this plugin cannot handle the user interface piece of Widget Logic. It
   is only an add-on to Widget Logic (eval filter).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] The same for categories?](https://wordpress.org/support/topic/the-same-for-categories/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/the-same-for-categories/#post-4720304)
 * Sorry for the late response. I think this could be done using regular expressions
   in place of paths.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] How to show/hide on custom search URL only](https://wordpress.org/support/topic/how-to-showhide-on-custom-search-url-only/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/how-to-showhide-on-custom-search-url-only/#post-4918751)
 * Unfortunately that is not possible with the default usage of this plugin. But
   you can try with Widget Logic. This post might be helpful.
 * [http://wordpress.org/support/topic/feature-request-per-widget-toggle?replies=2#post-5609230](http://wordpress.org/support/topic/feature-request-per-widget-toggle?replies=2#post-5609230)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Feature Request: Per-widget toggle](https://wordpress.org/support/topic/feature-request-per-widget-toggle/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/feature-request-per-widget-toggle/#post-4698355)
 * Adding this line to your theme’s functions.php file will remove the link between
   Widget Logic and Widget Logic by Path.
 * `remove_filter( 'widget_logic_eval_override', array($widgetLogicByPath, 'evaluate'));`
 * Then Widget Logic can be used as usual, and if Widget Logic by Path is needed,
   it can be used in the following way.
 *     ```
       $wlp[] = "about/*";
       $wlp[] = "about/staff/*";
       $widgetLogicByPath->evaluate( implode("\n",$wlp) );
       ```
   
 * I did not get a chance to test this code, but it should work.
 * But keep in mind that one of the primary design goals behind this plugin was 
   to override eval and yet have the flexibility of Widget Logic with simplicity.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Showing / hiding a part of the widget](https://wordpress.org/support/topic/showing-hiding-a-part-of-the-widget/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/showing-hiding-a-part-of-the-widget/#post-4418477)
 * If you are still looking for a solution… I think you will need to build a custom
   widget/shortcode plugin to do that, or there might be a plugin in wp.org which
   has this type of functionality. WL by path only shows and hides widgets.
 * [http://codex.wordpress.org/Widgets_API](http://codex.wordpress.org/Widgets_API)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Filter by language](https://wordpress.org/support/topic/filter-by-language/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/filter-by-language/#post-4290006)
 * The translation plugin you are using might be removing the language code from
   the URL path. I’m not sure. You can try with version 0.1.1 of this plugin. It
   calculates the path differently.
 * [http://downloads.wordpress.org/plugin/widget-logic-by-path.0.1.1.zip](http://downloads.wordpress.org/plugin/widget-logic-by-path.0.1.1.zip)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] Buddypress URL's prepended with User/Member name](https://wordpress.org/support/topic/buddypress-urls-prepended-with-usermember-name/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/buddypress-urls-prepended-with-usermember-name/#post-4459277)
 * Try with regular expressions. It is the 3rd example on the plugin page. Here 
   is an example.
 * `/.*\/about\/staff\/.*/`
 * This will show the widget on domain.com/username/about/staff/*
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] implode arg needs array](https://wordpress.org/support/topic/implode-arg-needs-array/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/implode-arg-needs-array/#post-4464468)
 * I will release an update, but adding the below line should fix the warning.
 * In file “wp-content/plugins/widget-logic-by-path/widget_logic_by_path.php” add
   the below line right after the line “private function regex_check($values){“.
 * `$patterns = array();`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic by Path] implode arg needs array](https://wordpress.org/support/topic/implode-arg-needs-array/)
 *  Plugin Author [Mohan Chevuri](https://wordpress.org/support/users/mchev2/)
 * (@mchev2)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/implode-arg-needs-array/#post-4464438)
 * Thanks for catching it. PHP documentation has the below line.
 * > Note: [implode()](http://us1.php.net/function.implode) can, for historical 
   > reasons, accept its parameters in either order. For consistency with explode(),
   > however, it may be less confusing to use the documented order of arguments
 * That is why it is working without any issues on our setup. Which version of PHP
   do you have? As the note about _consistency_ says, I will think about changing
   the order in the next version.

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

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