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

Shortcode in settings panel not work #9

Open
ghost opened this issue Sep 30, 2021 · 1 comment
Open

Shortcode in settings panel not work #9

ghost opened this issue Sep 30, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 30, 2021

As the title suggests, the "Add Shortcode" button in the textarea section of the "WPSF Modern" control panel does not work.

I think it would be a very useful function. Is it possible to give us an eye and maybe a fix?

A thousand thanks.

@ghost
Copy link
Author

ghost commented Oct 1, 2021

Found the problem and a simple work around.

In class WPSFramework_Shortcode_Manager inside the method shortcode_dialog() the second if statment

if ( true !== self::$is_btn_added ) {
    return;
}

cause the block of shortcode popup window in settings sections. Comment it or remove and work fine.

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

0 participants