WordPress.org

Support

Support » Plugins and Hacks » WordPress-to-lead for Salesforce CRM » [Resolved] [Plugin: WordPress-to-lead for Salesforce CRM] CSS for sidebar is used even if shortcode not in side

[Resolved] [Plugin: WordPress-to-lead for Salesforce CRM] CSS for sidebar is used even if shortcode not in side

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m having the same issue…

    Same issue here. Any solutions yet?

    Nope, I never did resolve this. 🙁

    Hi, I am having this issue too.

    did anyone manage to get a resolution or feedback from the developers?

    You can correct it by altering the following in the plugin:

    --- a/wp-content/plugins/salesforce-wordpress-to-lead/salesforce.php
    +++ b/wp-content/plugins/salesforce-wordpress-to-lead/salesforce.php
    @@ -801,7 +801,7 @@ function salesforce_form_shortcode($atts) {
    
            extract( shortcode_atts( array(
                    'form' => '1',
    -               'sidebar' => 'false',
    +               'sidebar' => false,
            ), $atts ) );
    
            $form = (int) $form;

    Alternatively, I believe you can add sidebar="false" to the shortcode.

    thanks Brett, I am not sure where to put this? I have looked but no joy. I am not a programmer but can cut and paste. Do you have the full code you can send and I can just overwrite the old with the new maybe?

    The patch format just says to remove the line indicated by the ‘-‘ and replace it with the line marked with the ‘+’.

    That is, search for 'false' in the salesforce.php (including quotes), and remove the quotes around it. The surrounding text should look the same as above.

    Plugin Author Nick Ciske

    @nickciske

    Added to the fix list for the next version.

    Thanks for the patch!

    Plugin Author Nick Ciske

    @nickciske

    Fixed in 2.0.1

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] [Plugin: WordPress-to-lead for Salesforce CRM] CSS for sidebar is used even if shortcode not in side’ is closed to new replies.
Skip to toolbar