fbpx
chat white
Support / Forum

Exclude with Shortcode

So I have Ampz to set to display on articles but for an extra custom component, I have a shortcode set so I can display the share buttons.

Now when I exclude menu items or articles it still displays.

After do some looking at the code, I found this line
if (in_array(strval($currentMenuId), $excludeMenuIds) && $noActiveShortcodes) {
which does not pass as '$noActiveShortcodes' is false. This make it always add the shortcode to the page. I sure there is the same for articles and categories parts also.

I think this needs to be fixed so even if a shortcode exists but not shown on the page it should be excluding correctly.
Responses (5)
Sorry, but you are not allowed to view the replies here.
Your Reply

Website Navigation