Make Your Own Elementor FAQ Schema With PowerShell. How are FAQs good for SEO? FAQs help with showing up in Google search, in areas such as ‘People Also Ask’ and winning the all important snippet, which means more traffic! FAQ Schema is a relatively new HTML tag that uses microdata to give relevant info about your FAQ without having to manually add it yourself.
This guide will show you how I hacked together a tool using my favorite scripting/programming tool-PowerShell!
I will give you all the info to make this work for you, including the steps that you need to perform in order to get it working with Elementor! Let’s start by talking about FAQ Schema and why it is so important.
Table of Contents
- So, how do I get FAQ Schema working on my website?
- Where can I get the script?
- Step by step instructions
What is FAQ Schema for Elementor?
Are you tired of your content not getting the attention it deserves? Applying this code to your site will allow you to answer commonly asked questions, and be able to show up in Google search rankings!
I have already applied this to a few of my blog posts, and I will be doing the rest of them in the coming days while using this tool. The hope is that we will see more traffic and visitors in the coming weeks and months after putting all of our articles inline with the proper FAQ schema structure.
So, how do I get FAQ Schema working on my website?
I found this awesome YouTube video from 2020 that actually shows the whole process for Elementor, so full credit goes to TweakTips for sharing this information. All I have done is created a very simple script that runs in PowerShell 5.1 and 7.2 on the Windows Operating System.
In order to get Google to identify your FAQ section you need to create a new section in Elementor on your blog post as outlined in the TweakTips video above. I have outlined the steps below so that you can follow along.
Where can I get the script?
You can download the script from our newly launched GitHub page! I’ll be sharing a bunch of basic scripts there over time, but for now we have this basic WinForm script that will help output some txt files for your FAQ schemas.
The script is very basic, but just like anything to do with unknown scripts on the internet, read over it and familiarize yourself with what it does. It is provided as is, and we are not responsible for any damages or data loss that may occur as a result of you using it.
If you want to make a similar tool then you can go ahead and use a similar scripting/programming language to make your own, but I used PowerShell as it is something that I love using and I write about a lot on this blog.
Step by step instructions
Head on over to our GitHub page and download the .ps1 file. On your Microsoft Windows computer, start up the PowerShell ISE and then click file, open and choose the .ps1 script that you downloaded. Run the script and you will see a program window open:
Enter in all of your questions and answers that you would like to have wrapped in the FAQ schema, then click ok. In the folder your script is saved to you will see 5 txt files.
The number is a representation of how many items are in each file. The logic here is that you might only have 1 or 2 FAQs sometimes, so the structure for only 2 FAQs would be found in schema2.txt and so forth. Below is a comparison between schema1.txt and schema5.txt to show that it only changes a few small details. This could be done manually, but this script is my way of doing it much faster going forward. Here is the output from those files:
Step 1: Add New Section
At the end of your article add a new section for your FAQs
Select Heading and then drag it to the desired location on your page.
Name it FAQ or similar, depending on what you want to have the title for your FAQ section.
Step 2: Add a Shortcode Section
The output from the schema text file is what we will eventually paste in here, but first we need to add a shortcode section.
Drag it right underneath your FAQ heading as shown in this next picture:
Step 3: Paste your shortcode from the txt file
Step 4: Finished!
As soon as you paste your schema contents into the shorcode window your FAQ section will appear. This schema wrapping will help you to get noticed by Google, and should allow you to do other cool things like win the snippet in Google search!
This was a quick and dirty method to get your FAQ schema sorted out. Remember, you don’t want more than 5 FAQs on a page, so the tool imposes that limitation.
I hope you have fun with this little project, and that it has taught you a few things about PowerShell, Google and Elementor. I tried in vain to find a solution that worked for me, including some SEO plugins for WordPress, and a few elementor Widgets that just didn’t make any sense to me.
This is a simple way to get the job done, but it might not be the best way. This is the first method that I have tried that really works, but if you know of an easier way that can scale up to allow me to convert my older articles to the new FAQ schema, then I am all ears!
What is FAQ schema?
In FAQ schema, you can include questions and answers within the code of a webpage. Rich snippets are then generated by Google using this markup.
What is FAQ schema and why is it important?
FAQ schema is a format of text that Google understands, allowing your FAQs to show up in search results, driving more traffic to your website.
How does FAQ schema work?
Frequently Asked Questions page schema is used when you offer a Frequently Asked Question page or when you have a product page that contains frequently asked questions about the product. You will then be able to see a collapsible menu under your SERP with the question, and when you click on it, you will see the answer.
Does FAQ schema help SEO?
You can improve your overall search engine ranking by using schema markups. When used correctly, FAQ schema markup can get your site into Google’s featured snippets section