• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Adding a text for logged-out users

Adding a text for logged-out users

  • Unknown's avatar
    darshkhetan · Member · Jan 24, 2019 at 6:21 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hello,
    I wish to add an HTML text that shall be visible only to users who are not logged-in to WordPress. I could find the use of [HIDE THIS] plugin for the purpose, but owing to the fact that I own a WordPress site with a premium plan, I am unable to use plugins.
    It would be great to know if there’s any other way around this problem by any chance.

    Thanking you.

    Regards,
    Darsh Khetan(@darshkhetan)

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    scifiknux · Member · Jan 24, 2019 at 6:35 am
    • Copy link Copy link

    Hi darshkhetanou

    I’m not sure if this will help, but you can customize the visibility of widgets. For instance, you can add a Text widget and adjust the Visibility to:

    Show if User is Logged Out

    The Lodestar theme seems to support Sidebar and Footer widget areas, so you may be limited to those areas unless you switch your theme.

    Cheers!

  • Unknown's avatar
    kokkieh · Staff · Jan 25, 2019 at 9:57 am
    • Copy link Copy link

    Hi there,

    There is no way to add content that only appears if someone is logged out or logged in to a WordPress.com site, except by using plugins on our Business Plan.


    @scifiknux
    ,

    Widget visibility settings controls whether or not a widget will load on a particular page on a site. It does not have any options to check whether someone is logged in or not when a page is viewed.

    Widgets

    Before making suggestions like this it would be good if you first reviewed the relevant documentation to see whether what you’re suggesting is actually possible, or at the very least try it yourself on a test site first.

    If you haven’t yet, please also take a look at our volunteer guidelines at https://en.support.wordpress.com/wordpress-com-volunteers/

  • Unknown's avatar
    scifiknux · Member · Jan 25, 2019 at 3:35 pm
    • Copy link Copy link

    My apologies.

    When I tested this on my own site, I was not aware that I had a plugin giving me access to additional widget visibility options. I’ll be sure to be more thorough in the future by using a test site.

    Thanks for the assist!

  • The topic ‘Adding a text for logged-out users’ is closed to new replies.

Tags

  • hide this
  • log-in
  • logged out users
  • premium plan
  • user based text
  • wordpress login

About this topic

  • In: Support
  • 3 participants
  • 3 replies
  • Last activity 7 years
  • Latest reply from darshkhetan

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions