Sélectionner une page

How to Add Star Reviews to Profile Pages with Divi’s Babysitter Layout Pack

How to Add Star Reviews to Profile Pages with Divi’s Babysitter Layout Pack

Every week, we provide you with a new and free Divi layout pack which you can use for your next project. Along with every layout pack, we also share a use case that’ll help you take your website to the next level.

This week, as part of our ongoing Divi design initiative, we’re going to show you how to add star reviews to the profile pages with Divi’s new and free Babysitter Layout Pack. That way, whenever someone takes a look at the different babysitters at your company, they’ll also be able to see how people have responded to their presence in the past. This will likely increase the credibility of each babysitter and will help you turn leads into conversions much quicker.

Sneak Peek

star reviews

Part 1: Download the Site Reviews Plugin

Step 1: Download Plugin

The first thing you’ll need to do is download this super cool and free plugin called Site Reviews by going to the following link and clicking on the download button.

star reviews

Step 2: Upload & Activate the Plugin

Then, upload the plugin and make sure you activate it as well.

star reviews

Part 2: Add Profile Page as Sub Menu Items

Step 1: Go to Menus

We’re assuming you have already added each layout of the Babysitter Layout Pack as a page and created a primary menu with these pages as well. We’re going to make one small change, however. To make that change, navigate to your menu by going to your WordPress Dashboard > Appearance > Menus.

star reviews

Step 2: Drag Profile Pages Below Team Page

Depending on the number of profiles your babysitter website has, use them as sub menu items to your team page.

star reviews

Part 3: Modify Site Reviews Plugin Settings

Step 1: Go to Site Reviews Plugin Settings

Next, you can make some small changes to the plugin by going to Site Reviews > Settings.

star reviews

Step 2: Choose Your General Preferences

Within the general tab, choose the settings you want to apply to the reviews. One of these options allows you to enable approval for reviews. It’s best you select ‘yes’ for this option to have full control over what appears on your website and what doesn’t.

star reviews

Step 3: Enable Avatars

To increase the credibility factor of your babysitters, you can also enable avatars within the reviews tab.

star reviews

Part 4: Create Blank Posts for Each Profile & Publish

Step 1: Create New Post for Each Profile

The Site Reviews plugin allows you to connect reviews to different posts. We are, however, using pages for our profile pages. That’s why you’ll need to create some blank posts that match the number of babysitter you’re showing on your website. To do that, go to Posts > Add New and repeat this step for each one of the babysitters you have.

star reviews

Step 2: Publish Them

Give your posts a title and publish them right after. But don’t worry, once we go through all the steps, we’ll be able to put them to draft again without losing reviews. The plugin will just need to connect to a certain blog post in order for the shortcodes to work on a page.

star reviews

star reviews

Part 5: Add Site Reviews Shortcodes to Profile Page

Step 1: Open Profile Page with Backend Builder & Locate Reviews Section

Now we can start adding the review shortcodes to our profile page. We’ll be adding two things; recent reviews and a submit review form. To add the shortcodes to our page, we will need to use the backend builder. Later on, we’ll switch to the Visual Builder to make changes to the appearance. Now, start by locating the following section on your page using the backend builder:

star reviews

Step 2: Replace Existing Text Module with Recent Reviews Shortcode (Backend Builder)

Then, open the following Text Module:

star reviews

Erase all the content in the content box, click on the star icon and select ‘Recent Site Reviews’. This option will make the different reviews show up on your page.

star reviews

Once you click on the ‘Recent Site Reviews’ button, make use of the following settings and click on ‘Insert Shortcode’ afterwards:

  • Count: 3
  • Post ID: 1 (this post ID will need to change everytime you’re editing another babysitter profile pageto make sure the reviews are unique to that profile page)

star reviews

Step 3: Add New Text Module with Review Submit Shortcode (Backend Builder)

Next, add a new Text Module to the first column of the second row of this section:

star reviewsThen, click on the star icon again and select ‘Submit a Site Review’. This shortcode will make a submission form show up that will allow people to submit a review they have of that babysitter in particular.
star reviews

Make sure you add the same Post ID number to this shortcode as you did for the recent reviews in the previous step of this tutorial. The recent reviews and submit review form need to have the same post ID to make sure only accurate reviews show up on the page. Depending on your needs, you can also hide certain elements of the submission form.
star reviews

Step 4: Switch Over to Visual Builder

Now that we’ve added both necessary shortcodes, we can switch over to the Visual Builder to make some appearance changes.

star reviews

Step 5: Modify Text Settings Recent Reviews Shortcode

The first Text Module we’ll change is the one containing the recent reviews. Open the settings, go to the Text subcategory within the Design tab and apply the following changes that match the entire Babysitter Layout Pack:

  • Text Font: Nunito
  • Text font Weight: Bold
  • Text Color: #262f71

star reviews

Step 6: Modify Heading Text Settings Recent Reviews Shortcode

Scroll down the same tab, open the Heading Text subcategory, switch over to the H3 tab and apply the following settings next:

  • Heading 3 Font: Nunito
  • Heading 3 Font Weight: Bold
  • Heading 3 Text Color: #88d4f2

star reviews

Step 7: Modify Text Settings Submit Review Shortcode

The submit review Text Module will need some modifications to its Text subcategory as well:

  • Text Font: Nunito
  • Text Font Weight: Bold
  • Text Color: #262f71

star reviews

Step 8: Add Custom CSS to Page for Submit Review Button

To match the button on the submission form with the babysitter layout pack, we’ll need to apply a bit of CSS code. We’re not able to make this modification within the Divi Builder itself since we’re using a third-party plugin. To add this CSS code to your page, click on the icon at the bottom of your page and open the settings.

star reviews

Then, move on to the Advanced tab and add the following lines of CSS code to the Custom CSS box:

input[class="button button-primary"] {
background-color: #88D4F2;
color: white;
border: none;
padding-bottom: 14px;
padding-top: 14px;
padding-left: 24px;
padding-right: 24px;
border-radius: 10px;
font-family: 'nunito';
font-weight: bold;

star reviews

Step 9: Repeat Steps for Each Profile & Change Post ID Number

You’re done! The only thing left to do is save the profile page and exit the visual builder. If you have multiple babysitter profiles on your website, you will need to repeat this process for each one of the profile pages. And while you’re adding the shortcodes; don’t forget to:

  • Change the Post ID number (go from 1 to 2 to 3, according to the number of posts you’ve published)
  • Change the Post ID number for both the submit review shortcode and recent reviews shortcode

Part 6: When Completed All Profiles, Make Drafts out of Posts

Step 1: Make Drafts out of Posts

Once you’re done creating all of your profiles, you can go ahead and put each one of the blog posts to draft. We only needed the posts to enable the reviews and make sure they’re unique to the different profiles. Removing the blog posts might cause the reviews not to work anymore so putting them to draft is a nice alternative to have.

star reviews

Final Thoughts

In this post, we’ve shown you how to add star reviews to each babysitter profile page using the new Babysitter Layout Pack and the free Site Review plugin. This use case is part of our ongoing Divi initiative where our design team shares a new layout pack with you each and every week. If you have any questions; make sure you leave a comment in the comment section below!

Source link