Forums

Is there a way to add words to my post that are not visible to reader? (6 posts)

  1. weiler14
    Member
    Posted 2 years ago #

    is there a way to add words to my post that are not visible to reader??

  2. weiler14
    Member
    Posted 2 years ago #

    thoughts?

  3. weiler14
    Member
    Posted 2 years ago #

    bump

  4. @mercime
    Member
    Posted 2 years ago #

    is there a way to add words to my post that are not visible to reader??

    The question is why you would want to do that in the first place.
    Having said that, you could create a custom field in post's panel e.g. texthide and add the text you want to hide. Then call that custom field in the template in between
    <!-- <?php the code to call custom field texthide ?>-->
    For custom fields info - go to http://codex.wordpress.org/Custom_Fields

  5. weiler14
    Member
    Posted 2 years ago #

    so which php template do i need to edit?

  6. iridiax
    Member
    Posted 2 years ago #

    The question is why you would want to do that in the first place.

    If the text is for search engines but not visitors to see, then be aware that search engines don't index comment text and they are aware of the various text hiding methods and can penalize or even de-index your site for it.

    Added: Text in comments is safe and won't be penalized by search engines.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.