Title: Shortcode ugly output
Last modified: May 29, 2020

---

# Shortcode ugly output

 *  Resolved [aceall](https://wordpress.org/support/users/aceall/)
 * (@aceall)
 * [6 years ago](https://wordpress.org/support/topic/shortcode-ugly-output/)
 * Hello,
 * New user here. Here are the shortcodes that I want to use:
 * [membership]Will show up for all members.[/membership]
    [membership level=”0″]
   Will show up for non-members and non-logged in site visitors. [pmpro_checkout_button
   level=”1″ text=”Upgrade to Gold Membership”][/membership]
 * Two problems:
 * 1. Aligned left because of missing <p>
 * > [View post on imgur.com](https://imgur.com/bbCDqbo)
 * 2. Very ugly output code (blank space):
 * > [View post on imgur.com](https://imgur.com/WgesQdW)
 * Can I expect some updates regarding it?
 * I didn’t expect such a basic problems from this very popular plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [aceall](https://wordpress.org/support/users/aceall/)
 * (@aceall)
 * [6 years ago](https://wordpress.org/support/topic/shortcode-ugly-output/#post-12914465)
 * Some new info, I believe it is problem with wodrepss/gutenberg, with additional
   testings I experienced all possible scenarios:
 * – shortcodes not working
    – [membership level=”0″] visible to memebers – [membership]
   and [membership level=”0″] visible at the same time to members – [membership]
   aligned left, [membership level=”0″] aligned correctly
 * I am running this on localhost with EasyPHP. I believe the plugin is not the 
   problem here. Need to test the same thing on regular hosting.
 *  Thread Starter [aceall](https://wordpress.org/support/users/aceall/)
 * (@aceall)
 * [6 years ago](https://wordpress.org/support/topic/shortcode-ugly-output/#post-12915220)
 * Final conclusion:
 * Classic editor – working good
    Gutenberg – missing <p> = causing problems depending
   on theme used
 *  Thread Starter [aceall](https://wordpress.org/support/users/aceall/)
 * (@aceall)
 * [6 years ago](https://wordpress.org/support/topic/shortcode-ugly-output/#post-12915452)
 * Paid Memberships Pro shortcode with Gutenberg:
 * For anybody that want a perfect shortcode render in html you should check “Disable
   the visual editor when writing” in your user profile. Also here is the code example
   that works good (every use of enter/return) is important and can change the render
   of html code):
 * [membership]Will show up for all members.[/membership][membership level=”0″]Will
   show up for all non-members:
    [pmpro_checkout_button level=”1″ text=”Membership”][/
   membership]
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/shortcode-ugly-output/#post-12921354)
 * Hi there,
 * Thank you for using Paid Memberships Pro.
 * Would you mind nesting the checkout button inside the “Require Membership” Block
   of the new editor if you are using the Block Editor.
 * You may post any bugs to our Github Repository here – [https://github.com/strangerstudios/paid-memberships-pro](https://github.com/strangerstudios/paid-memberships-pro)
 * Thank you for understanding.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shortcode ugly output’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [code](https://wordpress.org/support/topic-tag/code/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/shortcode-ugly-output/#post-12921354)
 * Status: resolved