• Resolved Creatium

    (@creatium)


    Hi,

    Is there a way to customize the template for Login and other pages that use PHP functions to display them?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @creatium

    Thank you for using Paid Memberships Pro.

    You are able to follow this guide to create custom page templates for Paid Memberships Pro pages – https://www.paidmembershipspro.com/documentation/templates/

    Thread Starter Creatium

    (@creatium)

    Well that doesn’t really work, does it?

    I mean the template file for Login page is this:

    <?php
    	echo pmpro_shortcode_login('');
    ?>

    How am I supposed to edit this, documentation does not say.

    Plugin Author Andrew Lima

    (@andrewza)

    What would you like to customize on the login page exactly?

    Thread Starter Creatium

    (@creatium)

    For example to change the class of login button, inputs, add additional links (ok, this I can do in the template file). Maybe adding placeholders to inputs instead of labels.

    Of course, I found a way around all this. Just curious of there is a way to edit those pages.

    • This reply was modified 3 years, 10 months ago by Creatium.
    Plugin Author Andrew Lima

    (@andrewza)

    For the login page, if you want a custom template you would need to copy the shortcode function and callback that the shortcode makes use of, rename it and adjust it like that.

    We are currently working on improving our CSS classes and how they are handled to make it easier to filter. This should be released in the near future.

    Thread Starter Creatium

    (@creatium)

    Great, thanks! I have another question, but I will post it as a separate for easier archiving.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customize login page’ is closed to new replies.