• Resolved maniekdx

    (@maniekdx)


    Helo,

    I have here WordPress (6.1) with elementor pro (3.8.0) and the passster plugin (free 3.5.5.7) for protect my content with password on my site.

    My site well i created in the passster section with elementor and link per shortcode [passster password=”password” area=”8259″] but it will load only the content (plaintext) however not css styles on my site.

    This problem is since last update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @maniekdx,

    thanks for your report!

    You can quickly fix that by activating the “Reload after successful validation” setting in Passster -> Options -> General.

    Best regards,
    Patrick

    Thread Starter maniekdx

    (@maniekdx)

    Helo Patrick,

    that also does not work.

    nidhish89

    (@nidhish89)

    Try this:

    Fix (content-protector.php):
    Replace this:
    define( ‘PASSSTER_PATH’, untrailingslashit( plugin_dir_path( __FILE__ ) ) );
    define( ‘PASSSTER_URL’, untrailingslashit( plugin_dir_url( __FILE__ ) ) );

    With this:
    define( ‘PASSSTER_PATH’, plugin_dir_path( __FILE__ ) );
    define( ‘PASSSTER_URL’, plugin_dir_url( __FILE__ ) );

    Thread Starter maniekdx

    (@maniekdx)

    not work ??

    nidhish89

    (@nidhish89)

    Try this in the file: plugins/content-protector/content-protector.php

    Replace this:
    define( ‘PASSSTER_URL’, untrailingslashit( plugin_dir_url( __FILE__ ) ) );

    With this:
    $plugin_dir_url = untrailingslashit( plugin_dir_url( __FILE__ ) );
    $plugin_dir_url = preg_replace(“/^http:/i”, “https:”, $plugin_dir_url);
    define( ‘PASSSTER_URL’, $plugin_dir_url );

    Thread Starter maniekdx

    (@maniekdx)

    Critical error after change:

    define( ‘PASSSTER_PATH’, untrailingslashit( plugin_dir_path( __FILE__ ) ) );
    $plugin_dir_url = untrailingslashit( plugin_dir_url( __FILE__ ) );
    $plugin_dir_url = preg_replace(“/^http:/i”, “https:”, $plugin_dir_url);
    define( ‘PASSSTER_URL’, $plugin_dir_url );
    define( ‘PASSSTER_VERSION’, ‘3.5.5.8’ );

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Passster protect site not loading css styles’ is closed to new replies.