fix url generation 

for (_as_plugin || _is_plugin) - @todo ( ! _as_plugin && ! _is_plugin )

I do not have a theme with redux integration - need to set that up. Or a free one I can download somewhere?

FIX for #1566