Title: Content Reveal plugin not working with https://
Last modified: August 30, 2016

---

# Content Reveal plugin not working with https://

 *  Resolved [rgscherer](https://wordpress.org/support/users/rgscherer/)
 * (@rgscherer)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/content-reveal-plugin-not-working-with-https/)
 * The current version of the plugin (line 35 of simple-content-reveal.php) does
   not enqueue the script **swap-display.min.js** when https:// is used.
 * Original: `wp_enqueue_script( 'swap_display',` WP_PLUGIN_URL . ‘/’ . str_replace(
   basename( __FILE__ ), ”, plugin_basename( __FILE__ ) ) . ‘js/swap-display.min.
   js’);`
 * Corrected: `wp_enqueue_script( 'swap_display', plugin_dir_url( __FILE__ ) . '
   js/swap-display.min.js' );`
 * For example see [http://www.psa.org.au/education/qualifications](http://www.psa.org.au/education/qualifications)
 * [https://wordpress.org/plugins/simple-content-reveal/](https://wordpress.org/plugins/simple-content-reveal/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/content-reveal-plugin-not-working-with-https/#post-6718325)
 * Yes, you’re quite right. I already recognised that I wasn’t doing this across
   my plugins generally and was going to correct them as I re-published each. However,
   as this is causing you an issue now, I’ll get this fixed and release a minor 
   update in the next few days.
 * David.
 *  Thread Starter [rgscherer](https://wordpress.org/support/users/rgscherer/)
 * (@rgscherer)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/content-reveal-plugin-not-working-with-https/#post-6718392)
 * Many thanks, dartiss. Look forward to the update.
 * I must thank our Information Services Manager, Steven, for tracking down the 
   problem.
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/content-reveal-plugin-not-working-with-https/#post-6718501)
 * 2.2.1 should now fix this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Content Reveal plugin not working with https://’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-content-reveal_ddcec4.svg)
 * [Content Reveal](https://wordpress.org/plugins/simple-content-reveal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-content-reveal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-content-reveal/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-content-reveal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-content-reveal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-content-reveal/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Artiss](https://wordpress.org/support/users/dartiss/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/content-reveal-plugin-not-working-with-https/#post-6718501)
 * Status: resolved