{"id":2754,"date":"2023-03-18T21:43:32","date_gmt":"2023-03-18T16:13:32","guid":{"rendered":"https:\/\/nigeljoy.me\/?p=2754"},"modified":"2023-03-18T21:56:48","modified_gmt":"2023-03-18T16:26:48","slug":"avoid-showing-author-name-discord-link-preview","status":"publish","type":"post","link":"https:\/\/nigeljoy.me\/avoid-showing-author-name-discord-link-preview\/","title":{"rendered":"How to Hide Author Name When Sharing Your Site in Discord"},"content":{"rendered":"\n
Are you looking to customize the link preview shown in Discord for your WordPress site? Do you also find it annoying that Discord gives more visibility to the author name instead of site title in the link preview? Well, look no further. I have the solution for you. In this article, I will show you how to customize your WordPress site to hide the author name from link previews in Discord.<\/p>\n\n\n\n
The information link preview shown in social media sites like Facebook, Twitter are taken from Open Graph tags of the site that is being shared. It is a set of tags in the source of the webpage that shows information like page title, page description, featured image, etc which are used to generate media rich preview of the website in the feed of the social media site. <\/p>\n\n\n\n
Discord doesn’t rely on Open Graph tags, instead, it uses something very similar – the oEmbed data to create a rich preview of the shared link. Unfortunately, Discord has a pretty odd looking preview where the author name has more prominence than everything else in the preview. Just take a look at the screenshot of link preview generated in Discord for my website in Discord..<\/p>\n\n\n\n