So from the point of view of your website Facebook is just like any other visitor. Either the content is hidden for everyone or it isn’t for everyone.
Even if you’d try to detect Facebook and show them something different this punches a huge hole into your password-protection and makes it pretty much pointless as it is quite trivial for any random visitor to appear as if they where Facebook.
Related Posts:
- Why is wp_kses not keeping style attributes as expected?
- Order tags, but not alphabetically
- WordPress: Can I add categories/tags to all sites in my network at once?
- How to Get Next or Previous Post in a Specific Tag?
- How do I display a tag cloud under my post that only shows tags from that post?
- Display list of most used tags in the last 30 days
- Check if current page has given tag ID
- how do I get the tag name from tag id?
- Do tags have dates?
- Stop wordpress from removing HTML attributes
- What is the difference between terms and tags?
- Stop WordPress From Removing HTML Comments In Content
- How can I let my audience tag my posts?
- Display tags in list without link
- how can I use WP_Query to exclude a specific tag.?
- How can you tie into the tag metabox?
- not functioning
- How to use the Tag description as the title attribute?
- Best way to show map of tagged posts?
- How to display the_tags() as plain text
- Remove a particular tag name from the tagcloud
- How do I change the output of get_the_tag_list()?
- Query all posts with specific tag
- How to query with get_posts() for posts with any tag
- How to remove Tags: text from the_tags?
- Change tooltip in tag cloud
- Getting an ordered list of tags – via wp_tag_cloud or not?
- Is it possible to filter get_adjacent_post() with tags?
- Apply class to the a tag link generated in post tag links
- What are allowedposttags and allowedtags?
- Display tags for current post in sidebar
- How to allow user to perform search by more than one tag
- When switching from html to visual editor the tag gets erased
- How important are WordPress tags for SEO purposes?
- get_post_ancestors returns empty
- Combining tags from post types
- Display tags belonging to a specific post type only
- Allow visitors to search by multiple tags (specific IDs)
- List ‘n’ number of posts from a Tag, each with a different class or ID
- Showing all tags in admin -> edit post
- Redirect Tag to Post with the same name
- Add exception for specific tag
- Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
- Link from tags to tag pages displaying all posts with that tag
- Displaying the most recently used tags
- Limit tag word count
- When are tags counted? Can it be trigered manually?
- How can I extend Quick Edit option with 2 more fields
- Can’t Get ‘tag’ Page To Display only Tagged Posts
- How to separate the tags?
- alt attributes not showing on pages
- Creating a unique, linked list of tags from a specific category?
- Massive Tags Remove Using MySQL
- Add # before each tag
- Quicktags on all textarea.. Not working on plugin?
- term/tag not being saved for custom post type
- display tag slug as class per link in tag cloud
- how to change # of tag posts on /tag page?
- require one tag for each post
- How can I remove certain HTML tags from the RSS feed?
- Stop WordPress removing tags when switching from HTML to Visual (TinyMCE)
- WP API Get post with tag names instead of tag ID’s
- How to add class on term link?
- Link directly to the first post in an archive
- Set homepage to only display posts from one tag
- get_terms with more than x post count
- Tags as a dropdown with set tags
- Why ‘C++’ tag is converted to ‘C# ‘?
- Change the color of post title on specific tags
- How to show tags in posts, orderby count(most used) not alphabetically?
- Individual css class for each tag in wp_tag_cloud
- Strict tag list – user should choose only existing tags for posts
- How to use meta data for each tag cloud a
- Special characters in tag get removed for comparison on save
- Exclude a specific tag from the get_the_tags list
- Display all posts of current viewing tag
- Limit tag cloud terms by date
- Efficient Tag Management?
- Exclude specific tags (by id) from the_tags
- Display custom list of tags in post/page editor with hooks
- Is is possible to rebuild wp_term_relationships table?
- Get the latest tags in a cloud? [closed]
- Sort list of WordPress Page under tag when is_tag() called
- How to remove ‘noindex, follow, max-image-preview:large’ in search page WordPress 5.7 up
- Displaying Posts by tag dynamically in WordPress
- Order tags by the order they were typed
- URL scheme to retrieve tag archive by ID
- How to rename ‘TAG’ to ‘TOPIC’
- How to not show tags if the post doesn’t have any?
- How to get all tags collections in woocommerce?
- In need of array of post tags
- Get the tags as an array, convert the tag into a string, and then replace spaces with dash
- Tag with Alias capability
- Don’t show a tag on a post if it is the only post with that tag
- How to filter posts by specific date and its tag
- Setting a value on existing tag metadata field when that tag was just created by a user
- How to remove tag base from permalinks
- Query all posts which do not have tags assigned to them
- Tag subscription option in wordpress. How?
- How to allow html5 tag in WordPress