Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wordpress Shortcodes #45

Open
GoodbyeMatrix-Github opened this issue Mar 4, 2022 · 6 comments
Open

Wordpress Shortcodes #45

GoodbyeMatrix-Github opened this issue Mar 4, 2022 · 6 comments

Comments

@GoodbyeMatrix-Github
Copy link

Dear Team,

It would be great if you can implement shortcodes in WordPress, so we can add locks using other WP-Editors than Gutenberg, because it is very limiting!

I found that some people use the Gutenberg Reusable Block to get a shortcode to be use in other editors. I have installed the Reusable Block Version 1.0.2. and it is not generating/showing any plugin. Here is what I found: https://gutenberghub.com/how-to-display-gutenberg-blocks-in-other-page-builders/

Thank you in advance!

@julien51
Copy link
Member

julien51 commented Feb 27, 2023

@SolomonFoskaay Are you interested in this one?

If so please go ahead. Lets introduce a new shortcode which takes one single argument: a valid paywall config object.

@SolomonFoskaay
Copy link
Contributor

@julien51 Okay noted and what bounty price is attached to this, please?

@julien51
Copy link
Member

Lets make it $300 as well

@SolomonFoskaay
Copy link
Contributor

@julien51 already working on this issue. Here is a sneak peek for you to check and confirm if this is the expected Wordpress shortcode feature.

For the existing Block lock feature (working on the full post/page feature once approved) extended to work with non-Gutenberge editors. For now, have tested it on "Classic Editor" and "Elementor". See below:

Elementor:

Editor:
Selection_076

UI:
Selection_077

Classic Editor:

Editor:
Selection_078

UI:
Selection_079

@SolomonFoskaay
Copy link
Contributor

@julien51 I now have the wordpress shortcode for the full post/page lock feature too. Kindly see post samples below:

Elementor

Editor:
Selection_082

UI (the full post page Unlock button not well aligned because of how Elementor renders the page when the actual page content is hidden to effect styling - you will notice its well aligned in the Classic editor UI below- this is not from my code but from the Elementor itself):
Selection_083

Classic Editor

Editor:
Selection_080

UI (Unlock button well aligned in the classic editor UI without any additional styling added to it):
Selection_081

@SolomonFoskaay
Copy link
Contributor

@julien51 I will refactor my current implementation for this feature following your refactored code pattern for merged issue #4 and send you PR before the week runs out.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants