Mohan Chevuri
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic by Path] Is there a is_front_page option?<home>corresponds to is_front_page().Forum: Plugins
In reply to: [Widget Logic by Path] Subpages not working?That looks normal for me. Please test with the below examples.
If the widget needs to be on “http://www.example.com/path1/path2/” the logic should be
path1/path2/If the widget needs to be on “http://www.example.com/path1/” the logic should be
path1/If the widget needs to be on “http://www.example.com/path1/” and “http://www.example.com/path1/path2/” the logic should be
path1/ path1/path2/If the widget needs to be on “http://www.example.com/path1/” and “everything under path1” the logic should be
path1/*Also notice the trailing slash at the end of the example URLs.
Forum: Plugins
In reply to: [Widget Logic by Path] Filter by languageThese examples might help. Logic needs to go into Widget Logic field for each widget. One logic per line.
Show widget on “www.domain.com/es/about/”
es/about/Show widget on “www.domain.com/es/” and “everything under es/”
es/*Show widget on “www.domain.com/es/about/” and “everything under es/about/”
es/about/*Forum: Plugins
In reply to: [Widget Logic by Path] Subpages not working?Please try with the latest version of this plugin.
Forum: Plugins
In reply to: [Widget Logic by Path] You should add these tags…Thanks! I added <blog> in v0.2.1. <home> is tied into is_front_page for backward compatibility.
Forum: Plugins
In reply to: [BU Navigation] Adding link to navigationThank you!
Forum: Plugins
In reply to: [Widget Logic by Path] Warning: preg_match(): Unknown modifier '*'It looks like for one of the widgets the “widget logic by path” logic starts with a “/”. If it starts with that, it is considered as a regular expression. If you can find that, replace it with something relevant based on the example 1 and 2 on the plugin page. Example 3 is for regular expressions.
Try this:
Check “Regex” checkbox, and change “/cra” to “(?i)/cra”.
Forum: Plugins
In reply to: [Widget Logic by Path] Tarket by a portion of the url?I like the idea of regex, along with *. I will look into it when I have free time.
Francesco Canovi – Containing “waterpark” will be possible after regex is supported.
We came across an instance to add borders for some selected items in the list, when sitemap is used as content. Removing class makes sense. What do you think about replacing it with class=”sitemap_class1 sitemap_class2…”?
Btw, this is a simple yet powerful shortcode.
Thank you
MohanForum: Plugins
In reply to: [BU Navigation] Adding link to navigationActually, this commit seems to be fixing the issue.
https://github.com/bu-ist/bu-navigation/commit/1f592982208f7e6be3484aef3db129368e8d84c3
Forum: Plugins
In reply to: [BU Navigation] Adding link to navigationSetting ‘BU_NAVIGATION_LINK_POST_TYPE’ to ‘link’ seems to be fixing this. Not sure what the implications will be by doing this. It was set to ‘bu_link’ originally. Thoughts?
define( 'BU_NAVIGATION_LINK_POST_TYPE', 'link' );It looks like this issue is linked to line 523 in admin/manager.php
Forum: Fixing WordPress
In reply to: Appearance>Menus Menu Tabs missingThanks for posting the solution. It helped us.
Cheers,
MohanI was able to reproduce the issue. It is a bug. I released an update. Please use that.
That is a good scenario. Currently it is not possible to do that, unless you don’t use wildcard. In which case you can only put the URLs on which it needs to be displayed. I will keep this scenario in mind for a future update.