How to Make Advanced Customizations to Memberium Forms Shortcode Outputs

Memberium shortcode
This Article Applies to

Memberium offers many different shortcodes and chances are at some point you might have thought about customizing/changing the look of the shortcodes. While we do have many parameters to change labels and functionality, you might be looking to customize the layout and format of shortcodes that render forms and content on the front end of your site.

Most visual customizations can be done with CSS, but there are times where you need to modify the underlying HTML that’s being outputted by a Memberium shortcode.

In this article, let’s take a look at how to make advanced customizations to Memberium shortcodes that persist after Memberium updates. The advantage of using this method is that your customizations won’t be lost when Memberium is updated.


Before we go further, you’d need an FTP client like FileZilla to download and edit the file or you can directly edit the file using File Manager from cPanel (or web host control panel).

1. Create a “memberium/shortcodes” directory inside your theme directory.

2. Go to “memberium2/templates/shortcodes” directory and COPY the shortcode file that you want to edit into the new folder that you created in the theme directory. For example, let’s say you want to edit the login form. In this case, you’d copy the “memb_loginform” file to the theme directory.

We suggest not to copy all the shortcode template files and just copy the ones that you need to modify.

3. Now you can go ahead and make changes to the file that you’ve just copied in your theme directory. You can change the HTML (within reason), add CSS, add styles, etc. as long as you keep the hidden and present form fields fundamentally intact and valid. We can provide minimal support for custom templates.

We suggest NOT to modify the original file in “memberium2/templates/shortcodes”, as that will be overwritten with each Memberium update.

Please note that you cannot modify the actual functionality of the shortcode, but this will enable you to modify just the appearance of the form.

Once you’ve made the above changes, Memberium will check the template first in the theme directory, and prefer that copy over the template file in the plugin directory.

We at Memberium recommend creating and using a child theme so that theme updates don’t overwrite your newly customized shortcode template. The advantage of using a child theme is that the parent theme can be updated safely and the changes won’t be lost.

Hope this article will help you in customizing the appearance of Memberium shortcodes.

If you have any questions or face any problems, then you can always contact our support team by opening a support ticket.

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

Table of Contents

This Article Applies to

Keep Reading

Integrating LifterLMS with Keap using Memberium

Memberium’s integration with LifterLMS makes it easy to protect and sell courses through Infusionsoft. LifterLMS does have built-in course protection, but it’s lack of integration with Infusionsoft makes it impossible to sell the course and automatically grant access to it using Infusionsoft. That’s where Memberium comes in.

Read More »

A Guide to Using Shortcodes

This article covers the various concepts around Memberium Shortcodes: Conditional Shortcodes, How to Nest Shortcodes, Troubleshooting Shortcodes, Local Variables, Capturing Your Output for Later, and Formatting Your Output.

Read More »

Page and Content Restriction Strategies for Fun and Profit

Memberium provides several different tools and tactics to handle page access controls. We’ll list these different tools and tactics and discuss some strategies around how to use them. In this article we’ll talk about “Pages”, but most of the concepts can be used for Pages, Posts and custom post types. Some of the tactics we cover may or may not work depending on what your theme supports. We’ll try to call these out for you, but we can’t cover every possibility that plugins and themes may differ from stock WordPress. Your toolkit is divided into two groups, restrictions that happen at the page level, and restrictions that happen inside the content of the page.

Read More »

Want to get some fresh ideas on how you can improve your membership site or course?

Download our free ebook!

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at or Email us at