I changed the text by translating, but where does it take the —- signs before and after the text? They were not in the translation file.
But is there any way to add also a page with some text and login form?
Please make the login link redirect back to the my-posts page after login. It’s dumping users into the backend, which will only cause confusion and defeat the purpose of using the frontend in the first place. I made the change locally, but would love to have it be permanent. Thanks! 🙂
I only did a quick proof of concept and did not take the time to code it properly, but I went to frontier-post.php around line 102 in the code and added the redirect portion of the link. Something like this:
if ($frontier_show_login == "true" )
echo __("Please log in !", "frontier-post")." <a href=".wp_login_url()."?redirect_to=http%3A%2F%2FEXAMPLE.COM%2Fmy-posts%2F&reauth=1>".__("Login Page", "frontier-post")."</a> ";
_e("Please log in !", "frontier-post");
Of course, this should not be hardcoded. The base URL and page that the frontier shortcode resides at should be done programmically, I just didn’t take the time to do this. But you can see the gist of it at least.