Dan
|
I am trying to use the functions without the shortcodes to modify the plugin so I can understand and use in future projects. When trying to use the functions only by adding the include_once($wppb_plugin.’front-end/wppb.login.php’); and the function wppb_front_end_login(); I get nothing that shows up on the template-page I made. Now is there something I need to initiate on a page that will allow the function to work like a init? I also notice that registration.php is expired as well on your plugin. I am decent at php but still a beginner. WordPress seems to complicate things I’m finding out.
|
Dan
|
It works when I use shortcodes on the page content in wordpress backend but not when I use the include file and function.
|
Gabriel Barina
|
Hello Dan,
basically what you would want to do is echo the content (or save in an object with ob_start() and then echo it at the end) like so $x = function_to_display_edit_profile(); just be careful, some of the functions use external functions (in the same php file), be sure to include the whole page.
Regarding the registration file, what do you mean it is expired?
Gabriel
|
Dan
|
Well the new version of wordpress just says that the include registration.php is depreciated. I deleted it out of the files needed to be deleted out of. I’m running Version 3.2.1.
|