wordpress添加媒体_如何在WordPress中添加隐私政策
wordpress添加媒体
Do you want to add a privacy policy on your WordPress site?
您是否要在WordPress网站上添加隐私政策?
A privacy policy page is a document required by law that discloses the information you collect about visitors on your website.
隐私政策页面是法律要求的文件,其中披露了您收集的有关您网站访问者的信息。
It is recommended to add a privacy policy page to your website whether you are a blogger, freelancer, or a business owner.
无论您是博客作者,*职业者还是企业所有者,建议将隐私策略页面添加到您的网站。
Now, the problem is most beginners don’t know how to create a legitimate privacy policy, and then display it on their website.
现在,问题是大多数初学者不知道如何创建合法的隐私策略,然后将其显示在他们的网站上。
In this article, we will show you how to easily add a privacy policy in WordPress. We will also explain the various elements you must include in your privacy policy page.
在本文中,我们将向您展示如何轻松地在WordPress中添加隐私策略。 我们还将说明您必须在隐私政策页面中包含的各种元素。
什么是隐私政策,您是否需要在网站上使用它? (What is Privacy Policy and Do You Need it on Your Website?)
All websites collect information about their visitors in different ways.
所有网站都以不同方式收集有关其访客的信息。
In many countries (including the United States), websites are required by law to disclose the information they collect about their visitors, and how this information is used.
在许多国家/地区(包括美国),法律要求网站披露其收集的有关访问者的信息以及如何使用这些信息。
Here are some of the ways in which a typical WordPress site collects user information.
这是典型的WordPress网站收集用户信息的一些方式。
-
Name and email address in comment forms.
注释形式的名称和电子邮件地址。
- Comment form cookie which remembers a user’s name or email address. 注释表单cookie,用于记住用户名或电子邮件地址。
-
Name and email addresses submitted by user by using a contact form.
用户使用联系表提交的姓名和电子邮件地址。
-
Name and email address submitted to sign up for email list.
提交的姓名和电子邮件地址以注册电子邮件列表 。
-
Information collected when users register on a website.
-
Google Analytics tracking.
-
Facebook page plugin and like button cookies.
Facebook页面插件和类似按钮的 cookie。
- Other social media platform widgets that track users. 跟踪用户的其他社交媒体平台小部件。
-
Advertising programs like Google Adsense which track users.
跟踪用户的广告程序,例如Google Adsense 。
All websites on the internet should have a privacy policy page. It protects your business from legal issues and also helps build consumer trust.
互联网上的所有网站都应有一个隐私政策页面。 它可以保护您的企业免受法律问题的困扰,还可以帮助建立消费者信任。
You also need to add a privacy policy page to comply with the General Data Protection Regulation (GDPR).
您还需要添加一个隐私策略页面,以符合通用数据保护条例(GDPR)。
For those who don’t know, GDPR is a European Union (EU) law that gives its citizens control over their personal data.
对于那些不知道的人,GDPR是欧盟(EU)的一项法律,赋予其公民对其个人数据的控制权。
This law applies to every business (including WordPress blogs) around the world, even if you are not from the EU countries.
该法律适用于世界各地的所有企业(包括WordPress博客 ),即使您并非来自欧盟国家也是如此。
For more details, you may read our ultimate guide on GDPR and understand its impact on your WordPress site.
有关更多详细信息,您可以阅读我们的GDPR终极指南,并了解其对WordPress网站的影响。
您应在隐私政策中包括什么? (What should you include in a Privacy Policy?)
The basic requirements for a privacy policy are quite simple. You need to list all the ways you collect or intend to collect user information on your website.
隐私策略的基本要求非常简单。 您需要列出收集或打算收集网站上用户信息的所有方式。
A simple privacy policy page should contain the following information:
一个简单的隐私策略页面应包含以下信息:
- Information you collect about users visiting your website. 您收集的有关访问您网站的用户的信息。
- Methods used to collect information, e.g. cookies and web beacons, sign up, registration, comment forms, etc. 用于收集信息的方法,例如Cookie和Web信标,注册,注册,评论表格等。
-
Mention all third-party advertisers collecting user information on your website like Google Adsense.
提及所有在您的网站上收集用户信息的第三方广告商,例如Google Adsense 。
- Include links to the privacy policy of each advertising program you participate in. 包括指向您参与的每个广告程序的隐私权政策的链接。
- How users can block cookies and opt-out of third party advertisements. 用户如何阻止Cookie并选择退出第三方广告。
- Your contact information so that users can reach out if they have questions. 您的联系信息,以便用户在有疑问时可以与他们联系。
There are many websites on the internet that allow you to automatically generate text for your privacy policy or terms of service pages.
互联网上有许多网站,可让您自动为您的隐私政策或服务条款页面生成文本。
WordPress itself comes with a basic privacy policy generator that you can use.
WordPress本身带有一个基本的隐私策略生成器,您可以使用它。
You can also take a look at WPBeginner’s privacy policy page as an starting point. Simply replace all references to WPBeginner and our parent company with the name of your website or business.
您也可以从WPBeginner的隐私策略页面开始。 只需使用您的网站或公司名称替换所有对WPBeginner和我们的母公司的引用。
影片教学 (Video Tutorial)
If you don’t like the video or need more instructions, then continue reading.
如果您不喜欢该视频或需要更多说明,请继续阅读。
在WordPress中添加隐私政策页面 (Adding a Privacy Policy Page in WordPress)
WordPress makes it super easy to generate a privacy policy page for your website. It also gives you a generic privacy policy template to use with instructions on how to add content to it.
WordPress使您可以轻松地为您的网站生成隐私策略页面。 它还为您提供了一个通用的隐私策略模板,可与有关如何向其中添加内容的说明一起使用。
First, you need to visit Settings » Privacy page. You’ll notice that WordPress has already created a Privacy Policy page draft for you.
首先,您需要访问设置»隐私页面。 您会注意到WordPress已经为您创建了隐私政策页面草稿。
You can click on the ‘Use this draft’ button to save this page as your privacy policy.
您可以点击“使用此草稿”按钮,以将该页面另存为您的隐私权政策。
You can also click on the create new page button to generate a new Privacy Policy page. WordPress will automatically create a new page and open it for you to make changes.
您也可以单击“创建新页面”按钮来生成新的“隐私政策”页面。 WordPress将自动创建一个新页面并打开以供您进行更改。
If you are using the default draft, then you need to click on the Edit link to make changes and publish it.
如果您使用的是默认草稿,则需要单击“编辑”链接进行更改并发布。
Once you open the privacy policy page for editing, you will see a notification on top with a link to the default WordPress privacy policy page guide.
打开隐私政策页面进行编辑后,您会在顶部看到一个通知,并带有指向默认WordPress隐私政策页面指南的链接。
The content of the privacy policy also contains instructions on how to edit and change each sections.
隐私政策的内容还包含有关如何编辑和更改每个部分的说明。
You will notice that it has sections for different ways a WordPress website may collect personal information. For example, comments, login cookies, embeds, and more.
您会注意到,它的各个部分分别介绍了WordPress网站收集个人信息的不同方式。 例如,评论,登录cookie,嵌入等。
It will also have sections with no information below them. For example, contact form and analytics.
它还将在其下面没有任何信息的部分。 例如,联系表格和分析。
As for contact forms, you can mention the information you collect and what it used for.
至于联系表格,您可以提及您收集的信息及其用途。
If you are using WPForms plugin to create contact form, then you can already create GDPR compliant contact forms.
如果您正在使用WPForms插件创建联系表单,那么您已经可以创建符合GDPR的联系表单 。
For Google Analytics, you can follow this complete Google Analytics and GDPR compliance guide.
对于Google Analytics(分析) ,您可以遵循此完整的Google Analytics(分析)和GDPR合规性指南 。
After reviewing the privacy policy page thoroughly, you can click on the Publish button to save your changes.
仔细阅读隐私政策页面后,您可以单击“发布”按钮以保存您的更改。
在WordPress中将链接添加到隐私政策页面 (Adding Link to Privacy Policy Page in WordPress)
Most websites display a link to their privacy policy page in the footer area of their website. This way the link appears on every page but does not take space in your main navigation menu.
大多数网站在其页脚区域显示指向其隐私策略页面的链接。 这样,链接会显示在每个页面上,但不会在主导航菜单中占用空间。
There are multiple ways to do this.
有多种方法可以做到这一点。
Let’s start with the easiest one.
让我们从最简单的一个开始。
Many WordPress themes come with widget-ready areas in the footer also called Footer sidebar. You can go to Appearance » Widgets page to confirm if your theme has a footer widget area.
许多WordPress主题在页脚中都提供了小部件就绪区域,也称为“页脚侧边栏”。 您可以转到外观»小部件页面,以确认您的主题是否具有页脚小部件区域。
If your theme has one, then you can use the navigation menu widget to display a list of links to your informational pages including the privacy policy.
如果主题有主题,则可以使用导航菜单小组件显示指向您的信息页面的链接列表,包括隐私策略。
First, you will need to create a new custom navigation menu.
首先,您将需要创建一个新的自定义导航菜单。
Simply visit Appearance » Menus page to create a new custom menu. You will need to click on the ‘Create new menu’ link on the top.
只需访问外观»菜单页面即可创建新的自定义菜单。 您需要点击顶部的“创建新菜单”链接。
Next, you need to provide a name for your navigation menu. After that, select pages from the left column and then click on the Add to menu button.
接下来,您需要为导航菜单提供一个名称。 之后,从左栏中选择页面,然后单击“添加到”菜单按钮。
You would notice your selected pages appear under your newly created menu. You can now arrange menu items by simply moving them up or down.
您会发现所选页面出现在新创建的菜单下。 现在,您可以通过向上或向下移动菜单项来对其进行排列。
Once you are done, don’t forget to click on the Save menu button to store your changes.
完成后,请不要忘记单击“保存”菜单按钮来存储您的更改。
Now go to Appearance » Widgets page and add the ‘Navigation Menu’ widget to your footer widget area.
现在转到外观»小部件页面,并将“导航菜单”小部件添加到页脚小部件区域。
Now select the custom menu you created earlier in the widget settings and click on the save button to store your changes.
现在,选择您先前在小部件设置中创建的自定义菜单,然后单击保存按钮以存储您的更改。
You can now visit your website to see the privacy policy links in footer area of your website.
现在,您可以访问您的网站,以在网站页脚区域查看隐私权政策链接。
Manually Add a Link to Privacy Policy Page in WordPress
在WordPress中手动添加到隐私政策页面的链接
If your theme does not come with a footer widget area or a footer navigation menu, then you can manually add link to your privacy policy page using HTML code.
如果主题没有页脚小部件区域或页脚导航菜单,则可以使用HTML代码手动将链接添加到隐私策略页面。
You’ll need to edit the footer.php file for your theme. If you haven’t done this before, then take a look at our guide on how to copy / paste code in WordPress..
您需要编辑主题的footer.php文件。 如果您以前没有做过,请查看我们的指南, 了解如何在WordPress中复制/粘贴代码 。
In your footer.php file add the following HTML to an appropriate location just before the </body> tag.
在footer.php文件中,将以下HTML添加到</ body>标记之前的适当位置。
<a href="http://example.com/privacy-policy">Privacy Policy</a>
<a href="http://example.com/privacy-policy">Privacy Policy</a>
Don’t forget to replace the href
value with the URL of your privacy policy page. You can now save your changes and preview your site to see the link in action.
不要忘记用您的隐私政策页面的URL替换href
值。 现在,您可以保存所做的更改并预览您的站点,以查看有效的链接。
That’s all! You have successfully added a privacy policy page to your WordPress site.
就这样! 您已成功将隐私策略页面添加到WordPress网站。
We hope this article helped you learn how to add a privacy policy in WordPress. You may also want to see our step by step WordPress SEO guide for beginners.
我们希望本文能帮助您学习如何在WordPress中添加隐私策略。 您可能还想看看我们针对初学者的逐步WordPress SEO指南 。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress****。 您也可以在Twitter和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/beginners-guide/how-to-add-a-privacy-policy-in-wordpress/
wordpress添加媒体