[Plugin: Front-End Users] Views, WordPress url, Site url
-
So I ran into a bit of a snag with this plugin and I thought I’d share my solution. I changed my site url (leaving wp core files in another directory) and my custom views were met with 404 errors.
I did some digging into FEU’s files and in lib > front_end_users.php I changed the last line of the function “get_view_url” from:
return site_url().’/’.$this->settings[‘url_path’].’/’.$view[‘url’];
to:
return home_url().’/’.$this->settings[‘url_path’].’/’.$view[‘url’];
I thought I’d share in case anyone else runs into this OR to see if anyone has a different solution.
Great plugin tombenner!
- The topic ‘[Plugin: Front-End Users] Views, WordPress url, Site url’ is closed to new replies.