Help creating custom page, link log-in page, to show backend content within site
-
I hope I can explain this correctly, and I feel like I’m just missing something very simple. I have a page that displays on the backend for users, under the CubePoints plugin. The page just displays how users have used their points. Kind of like a transaction log. This page is called ‘my_points.php’ in the plugin’s modules folder.
Is there a way to to create a new page under Theme My Login > Pages and have it display the ‘my_points.php’ on the front end of the site? I tried looking at the shortcode on the website, but nothing seemed to do the trick for me.
I believe the section I should be following is the below, but I guess I’m missing where to put that last bit of php.
Using your own template
Let’s say you created a specific registration form named my-register-form.php. In order to use that template, you would just define the register_template attribute within the Theme My Login instance.
Using shortcode
[theme-my-login register_template=”my-register-form.php”]
Using template tag
<?php theme_my_login( array( 'register_form' => 'my-register-form.php' ) ); ?>
- The topic ‘Help creating custom page, link log-in page, to show backend content within site’ is closed to new replies.