The My Private Site Selective Content extension allows you to hide, show, and obscurify page content through the use of a privacy shortcode. You can also selectively hide widgets and sidebars.

Shortcode options

  • Hide-if makes selected content disappear from the page based on access level
  • Scramble-if scrambles selected content based on access level (this is not a cryptographically-secure scramble)
  • Truncate-if chops text to a specified number of words based on access level
  • Lorem-if converts text to lorem-ipsum filler text based on access level
  • Lorem-if can also generate a specified number of words of lorem-ipsum text
  • Format fixers are options to each shortcode that helps account for any disruption in page formatting

Sidebar and widget options

  • Apply access-level checks and selectively hide any specified widget
  • Apply access-level checks and selectively hide entire sidebars
  • Replace widgets (for example, show one widget when logged in and a different one when logged out)

Access levels checked

  • logged-in
  • logged-out
  • is-editor
  • not-editor
  • is-admin
  • not-admin

Video Tutorials

Watch this 25-minute in-depth video tutorial below for details on how to use this extension: