• Resolved aceall

    (@aceall)


    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

    2. Very ugly output code (blank space):

    View post on imgur.com

    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

    (@aceall)

    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

    (@aceall)

    Final conclusion:

    Classic editor – working good
    Gutenberg – missing <p> = causing problems depending on theme used

    Thread Starter aceall

    (@aceall)

    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

    (@andrewza)

    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

    Thank you for understanding.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode ugly output’ is closed to new replies.