Tuesday, January 24, 2023

How to Create a Custom Home Page in WordPress

Do you want to create a custom homepage in WordPress?

By default, WordPress shows your latest blog posts on the homepage. However, you can often create a better first impression by designing a custom homepage that highlights your site’s most popular content, products, services, and more.

In this article, we will show you how to easily create a custom homepage in WordPress.

How to create a custom home page in WordPress

What is a Homepage?

A homepage is the first page visitors see when they type in your domain name. For many people, this homepage is their introduction to your business, blog, or website.

An example of a custom homepage

A good homepage will make visitors want to learn more about your WordPress website. It will also provide easy access to the links, search bars, menus, and anything else that can help visitors find interesting content.

By default, WordPress shows your latest blog posts on the homepage.

The default WordPress blog homepage

This may be a good fit for personal blogs or hobby bloggers. However, many WordPress blogs and websites can benefit by replacing the standard homepage with a custom homepage.

The good news is that WordPress makes it easy to show a custom page as your homepage, rather than the default list of recent posts.

Selecting a Custom Page to be Used as Homepage in WordPress

In this guide, we’ll show you a few different ways to create a custom homepage. However, afterward, you’ll need to let WordPress know that it should use this page as the homepage.

To do that, simply go to Settings » Reading in the WordPress dashboard.

Changing the WordPress homepage

Here, scroll to ‘Your homepage settings’ and select ‘A static page.’

You can now open the ‘Homepage’ dropdown and choose the page that you want to use as the new homepage.

How to change the WordPress homepage

Then, simply scroll to the bottom of the screen and click on ‘Save Changes.’ You can now visit your site to see the new custom homepage live.

If you have a blog, then make sure you create a separate blog page to display your posts. If you don’t, then visitors will struggle to find your latest blogs.

With that being said, let’s see how you can design a custom homepage in WordPress. Simply use the quick links below to jump straight to the method you want to use.

Method 1. Create a Custom Homepage Template Using the Block Editor

If you’re using a block theme, then you can design a custom homepage template using the full site editor.

This method doesn’t work with every theme, so if you’re not using a block-based WordPress theme then we recommend using a page builder like SeedProd or Beaver Builder instead.

To start, simply create a new page or open an existing page that you want to use as the homepage. Then, click on the ‘Page’ tab in the right-hand menu and click to expand the ‘Template’ section, if it isn’t already open.

Creating a new homepage template

WordPress will now show which template this page is currently using.

To create a custom homepage template, just click on the ‘New’ link.

Creating a new custom homepage template

In the popup, give your template a name. The name is just for your reference so you can use anything you want.

After that, go ahead and click on ‘Create’ to launch the full site editor.

How to create a custom homepage

 The template editor works similarly to the standard WordPress block editor.

To add blocks to your custom homepage, just click on the blue ‘+’ button. You can then drag and drop any block onto your layout.

Adding blocks to a custom homepage in FSE

Since we’re creating a custom homepage, you’ll typically want to start by adding a big hero image such as your website’s logo or banner.

To do this, simply find the ‘Image’ block in the left-hand menu and then add it to your layout using drag and drop.

Designing a custom homepage in the full site editor

You can now either choose an image from the WordPress media library or upload a new file from your computer.

To get more engagement, you may want to show recent comments on your homepage by adding a ‘Latest Comments’ block.

Showing the latest comments on a WordPress homepage

For more information, please see our guide on how to show comments on the homepage of your WordPress theme.

A good homepage helps visitors find interesting content. With that being said, it’s a good idea to add a ‘Navigation’ block to your custom homepage.

Adding a navigation menu to the WordPress home page

To learn more, please see our step-by-step guide on how to add custom navigation menus in WordPress themes.

After adding a block, make sure you click to select it in your layout. You can then configure the block using the settings in the right-hand menu and the buttons in the mini toolbar.

How to set up a main navigation menu

To build your custom homepage, simply keep adding more blocks and then configure them using the full site editor settings.

For example, you may want to add blocks such as Latest Posts, Search, Social Icons, Cloud Tag, and more.

A custom WordPress home page created using the FSE

When you’re happy with how the template looks, click on the ‘Publish’ button.

The page you created earlier will now be using the new homepage template. You can now tell WordPress to use this page as your homepage by following the process described above.

Method 2. Create a Custom Homepage in WordPress using a Page Builder (Recommended)

The WordPress block-based editor allows you to create a custom homepage using the tools you’re already familiar with. However, it doesn’t work with all themes and is limited in flexibility and features.

If you want to create a completely custom homepage that works with any WordPress theme, then you’ll need a page builder plugin.

For this method, we’ll be using SeedProd. It is the best page builder plugin on the market and allows you to create a custom homepage using a simple drag-and-drop editor.

It also comes with lots of professionally-designed templates and ready-made blocks that you can use on your homepage.

Note: There is a free version of SeedProd on available on WordPress.org but we’ll be using the Pro version since it has more templates, blocks, and features.

The first thing you need to do is install and activate the SeedProd plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to enter your license key.

Entering the SeedProd license key

You can find this information under your account on the SeedProd website. After entering the license key, go ahead and click the ‘Verify Key’ button.

Next, you need to visit SeedProd » Pages and click on the ‘Add New Landing Page’ button.

Creating a new homepage design with SeedProd

After that, it’s time to choose a template for your custom homepage. SeedProd has lots of professionally-designed templates that you can customize according to your website’s needs.

To select a template, simply hover your mouse over it and then click the ‘Checkmark’ icon.

Choosing a template for your custom WordPress homepage

We’re using the ‘Juicy Sales Page’ template in all our images, but you can use any design.

Next, go ahead and type in a name for the custom homepage. SeedProd will automatically create a URL based on the page’s title, but you can change this URL to anything you want.

When you’re happy with the information you’ve entered, click on the ‘Save and Start Editing the Page’ button.

How to create a custom homepage in WordPress using SeedProd

Next, you’ll be taken to the SeedProd drag-and-drop page builder, where you can customize your template.

The SeedProd editor shows a live preview of your design to the right and some block settings on the left.

A homepage template created using SeedProd

The left-hand menu also has blocks that you can drag onto your layout.

For example, you can drag and drop standard blocks like buttons and images or use advanced blocks such as the countdown, contact form, social sharing buttons, and more.

Adding a social sharing section to the homepage

To customize any block, simply click to select it in your layout.

The left-hand menu will now show all the settings you can use to configure that block. You can also change background colors, add background images, or change the color scheme and fonts to better match your brand.

Changing the branding of your WordPress homepage

To start, you’ll want to replace any placeholder images with your own photos or custom logo. To do this, simply click to select any Image block in the live preview.

In the left-hand menu, click on the ‘Select Image’ button.

Adding images to your design

You can now either choose an image from the WordPress media library or upload a new file from your computer.

SeedProd also comes with ‘Sections,’ which are collections of blocks that are often used together. For example, SeedProd has a header, hero image, call to action, testimonials, contact formFAQs, features, footer sections, and more. These can help you create a custom homepage, fast.

To look through the different sections, simply click on the ‘Sections’ tab. To preview any section, just hover your mouse over it and then click on the magnifying glass icon.

Adding sections to the custom page layout

To add the section to your design, simply click on ‘Choose This Section.’

This will add the section to the bottom of your homepage.

A ready-made customer testimonials section

You can move sections and blocks around your layout using drag and drop.

When you’re happy with how the homepage looks, don’t forget to click the ‘Save’ button to store your changes.

Saving your SeedProd design

SeedProd makes it super easy to connect your homepage to popular email marketing services like Constant Contact or Mailchimp.

To do this, simply click on the ‘Connect’ tab and then select your email service provider.

Connecting your email provider to the SeedProd page builder

SeedProd will now show you how to integrate the homepage with your email provider.

If your provider isn’t listed, then don’t worry. SeedProd works with Zapier which acts as a bridge between SeedProd and more than 3000+ other apps.

How to connect SeedProd and Zapier

Once you’ve done that, you’re ready to publish your custom homepage. Simply click on the ‘Page Settings’ tab.

There are more options under the Page Settings tab that you may want to look at. For example, you can change the SEO settings, edit the page title, and connect a custom domain.

Changing the settings for your homepage

When you’re happy with how the page is set up, go ahead and select the ‘General’ tab.

You can now click on the ‘Page Status’ toggle to change it from ‘Draft’ to ‘Publish.’

Publishing a unique homepage design

Now, you simply need to head over to Settings » Reading and set this page as your new custom homepage.

Method 3. Manually Create a Custom Homepage in WordPress (Coding Required)

You can also create a custom homepage using code. However, this method is complicated and coding mistakes can cause all kinds of common WordPress errors.

That being said, we don’t recommend this method for beginners.

Your WordPress theme is made up of many different files. Some of these files are called templates and they control how different areas of your website look. For more information, please see our WordPress template hierarchy cheat sheet.

One of these templates is called front-page.php.

If your theme has this template, then WordPress will automatically use it to show your homepage. This means you can create a custom homepage by editing this file or replacing it with a new file.

To get started, you’ll need an FTP client such as FileZilla, or you can use the file manager supplied by your WordPress hosting provider.

If this is your first time using FTP, then you can see our complete guide on how to connect to your site using FTP.

After connecting to the server, go to /wp-content/themes/ and then open the folder for your current WordPress theme.

Connecting to your site using an FTP client

If this folder already has a front-page.php file, then you can go ahead and open that file in any text editor, such as Notepad. You can then make any changes you want by editing the code.

If your theme doesn’t have a front-page.php file, then you can create a new file with the name front-page.php.

After that, you just need to upload front-page.php to your current theme’s folder on your WordPress hosting account.

As soon as you upload this file, WordPress will start using it to display your homepage. However, since the file is completely empty, you will see a blank page as your homepage.

To fix this, just open the file in a text editor app and start adding HTML code.

If you’re starting with an empty file, then you can save yourself some time by using the existing code and templates in your WordPress theme.

For example, it usually makes sense to include the theme’s header and footer.

In the following sample code, we’ve removed the content and sidebars while fetching the header and navigation templates from the theme.

<?php /*
This page is used to display the static frontpage.
*/
 
// Fetch theme header template
get_header(); ?>
    <div id="primary" <?php astra_primary_class(); ?>>
 
    <div class="custom-homepage-container"> 
 
    You custom homepage code goes here
 
    </div> 
 
    </div><!-- #primary -->
//Fetch the theme footer template
<?php get_footer(); ?>

Tips on Making an Effective Custom Homepage in WordPress

The homepage is your site’s most important page. People will visit this page to learn more about your business, products, and services.

To help visitors find what they’re looking for, we recommend keeping your homepage design as simple as possible and avoiding any clutter.

It’s also a good idea to place your most important content at the top of the page so it’s the first thing visitors see.

Before designing your page, it may help to write down the goals you want to achieve. You can then design every part of the homepage to help you reach this clear target.

Many businesses and blogs want to convert visitors into customers. To achieve this, we recommend adding OptinMonster to your custom homepage.

OptinMonster is the best WordPress popup plugin and lead generation software. It allows you to create all kinds of popups, floating bars, full-screen welcome mats, slide-in scroll boxes, inline personalized lead forms, gamified spin to win optins, and more.

OptinMonster's gamified banner template

Next, you’ll want to track how your custom homepage is performing. You can then use this insight to fine-tune the page design and get even more conversions.

MonsterInsights is the best plugin for Google Analytics. It allows you to easily install Google analytics in WordPress and shows you helpful reports directly in the WordPress dashboard.

The MonsterInsights Google Analytics plugin

The best part about using MonsterInsights is that you can add the Google Analytics tracking code without editing code or hiring a developer. Plus, it has a Dual Tracking feature, which makes it super easy to switch to Google Analytics 4.

You should also make it easy for visitors and potential customers to contact you. For this, we recommend WPForms which is the best WordPress form plugin on the market.

Finally, it’s a good idea to look at your competitors and other popular sites in your industry or niche. While it’s never a good idea to copy, you can use them as inspiration or learn best practices that you can then apply to your own homepage layout.

We hope this article helped you easily create a custom homepage in WordPress. You may also want to see our proven tips to increase your blog traffic and our expert pick of the best social proof plugins for WordPress.

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.

The post How to Create a Custom Home Page in WordPress first appeared on WPBeginner.


January 25, 2023 at 01:09AM

How to Track WordPress Widget History (Easy Method)

Do you want to track your WordPress widget history to monitor changes made to the widgets on your site?

Widgets are blocks of content that you can add to your website. They allow you to add different elements to your sidebars such as signup forms, images, recent posts, and more. Tracking widget history allows you to easily monitor changes and undo them as needed.

In this article, we’ll show you how to easily track your WordPress widget history.

How to track widget history in WordPress

Why Should You Track WordPress Widget History?

By default, WordPress comes with a feature called revisions for content types like posts and pages. Revisions make it easier to what changes were made by which user, and allow you to easily undo those changes if needed.

However, there is no built-in revisions feature for WordPress widgets.

Tracking widget history will allow you to keep track of changes made to widgets on your WordPress website. You can see which user added, removed, or changed a widget, and then you can keep those changes or undo them by editing your widget.

Similarly, if something in a widget has stopped working, then you can pinpoint which changes caused the problem and fix them manually.

That being said, let’s take a look at how to easily track widget history in WordPress.

How to Easily Track WordPress Widget History

The easiest way to track WordPress widget history is by using the Simple History plugin.

First, you need to install and activate the Simple History plugin. For help, see our guide on how to install a WordPress plugin.

Keep in mind that plugin will only track changes made after the plugin is activated.

After installing the plugin, let’s make a few changes to your WordPress widgets. Simply go to the Appearance » Widgets page and make some changes to your existing widgets.

Make changes to widget

Don’t forget to click on the Update button to save your widget changes.

After that, you can go to the Dashboard » Simple History page inside WordPress admin area.

You’ll see the changes you made to your widgets appear at the top.

Widget changes view

Apart from widget changes, Simple History will also be able to track the following changes and user activity on your website:

  • theme updates
  • plugin installation
  • sidebar widget history
  • Comments history
  • user logins
  • user profiles

If you want to change the settings of the plugin, then you can simply head over to Settings » Simple History from the WordPress admin dashboard.

Go to Simple history settings from the dashboard

From here, you can modify the plugin settings according to your needs.

If you want to track the widget history of your WordPress site directly from the dashboard, then you can check the ‘On the dashboard’ option beside the ‘Show History’ option.

This will allow you to access Simple History by simply heading over to Dashboard » Simple History from the WordPress admin panel.

You can also select the number of items you want to show on your log page as well as your dashboard page.

Additionally, you can enable the RSS feed option by checking the box next to it if you want to receive daily log updates about your website.

Don’t forget to click the ‘Save Changes button at the bottom once you’re satisfied.

Enable RSS Field

Next, you may want to switch to the Debug tab. From here, you can view all the log events displayed as Loggers.

Plus, you will also be able to see the names of tables that plugin has created in your WordPress database.

Debug options

The plugin also allowss you to easily downoad the logs file to your computer.

Siply switch to the Export tab on the plugin’s settings page and choose which format you want to use for the export.

You can choose either JSON or CSV format. We recommend using the CSV option as you can open the CSV files in any spreadsheet software like Google Sheets or Microsoft Excel.

Check CSV option

After that, click on the Download Export File button and plugin will send a download file to your browser.

Here is how it would look when you open it in a spreadsheet software.

Excel file

Final Thoughts

Having an activity log is very important as it helps you keep your website safe. Simple History does that for widgets and many other plugins.

Other plugins like WPForms have added revisions to WordPress form building, and WPCode has also added version control for custom code snippets.

Lastly, if you’re looking for a comprehensive activity log solution for WordPress security, then we recommend taking a look at WP Activity Log plugin.

We hope this tutorial helped you learn how to easily track your WordPress widget history. You may also want to check out our guide on how to start a podcast, and our top picks of the best WooCommerce plugins for your store.

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.

The post How to Track WordPress Widget History (Easy Method) first appeared on WPBeginner.


January 24, 2023 at 04:17PM

Monday, January 23, 2023

How to Create a Net Promoter Score® (NPS) Survey in WordPress

Do you want to create a Net Promoter Score (NPS) survey in WordPress?

Net Promoter Score is a popular method to measure customer loyalty, so you can improve your brand image, find new product ideas, and provide better customer service.

In this article, we will show you how to easily create a Net Promoter Score® Survey in WordPress, and how to properly use it to improve your business.

How to create a net promoter score survey in WordPress

What is Net Promoter Score?

Net Promoter Score is a management tool that helps businesses measure customer loyalty. The idea was first introduced in 2003, and since then more than two-thirds of Fortune 1000 companies have adopted it.

Here is how it works.

It is based on a single question, ‘How likely are you to recommend our company/product/service to a friend or colleague?’

The answer is provided on a scale of 0 to 10.

NPS survey form preview

Customers who respond with a score of 9 or 10 are called ‘Promoters’. These are your brand’s most loyal customers and are highly likely to purchase again and recommend your business to others.

Users who answer with a score between 0-6 are considered ‘Detractors’. These are the customers who are unhappy with your business and are least likely to purchase or recommend your business.

Customers responding with a score of 7 or 8 are called ‘Passives’. They can be either promoters or detractors and are less likely to actively recommend your business and products to their friends or colleagues.

Your final NPS score is calculated by subtracting the percentage of detractors from the percentage of promoters. The overall score ranges from -100 to 100.

A -100 score means all customers are detractors and a full 100 score means all customers that took part in the survey were promoters. Normally, a score of positive numbers (0-40) is considered good, and a score of 50 or above is considered excellent.

Due to the popularity of NPS surveys among businesses, there are numerous very expensive survey tools that will charge you hundreds of dollars per month. These solutions are not very affordable for small businesses.

Luckily, you can use a WordPress survey plugin by WPForms which helps you create powerful NPS surveys at a fraction of the cost.

Let’s take a look at how to create a Net Promoter Score survey in WordPress.

Creating a Net Promoter Score (NPS) Survey in WordPress

The first thing you need to do is install and activate the WPForms plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

WPForms is a paid plugin, and you will need at least their Pro plan to access the surveys addon used in this tutorial.

Upon activation, you need to visit WPForms » Settings page from your WordPress to enter your license key. You can find this information under your account area on the WPForms website.

Entering the WPForms license key

After entering your license key, you need to visit the WPForms » Addons page and locate the ‘Surveys and Polls Addon.’

Go ahead and click on the ‘Install Addon’ button. WPForms will now install and activate the addon.

Install surveys and polls addon

You are now ready to create your first Net Promoter Score survey form.

Head over to WPForms » Add New from the WordPress admin panel to create a new form. First, you need to provide a title for your form, and then select a form template.

WPForms offers lots of prebuilt form templates. You can simply search for an NPS form template from the search bar on the left.

For this tutorial, we will use the ‘NPS Survey Simple Form’ template.

Select a NPS survey form template

WPForms will now load the form builder interface with some typical survey form fields.

This is a drag-and-drop form builder where you can just point and click to edit any existing form fields or add new fields from the left column.

Edit your NPS survey

If you click on the existing fields in the form, then you’ll see more options for customization.

For instance, you can change the text for each question and make it a required field.

Customize each NPS survey field

Your Net Promoter Score survey form is now almost ready. Simply getting the score is not very helpful because you don’t know why these customers are unhappy or happy.

Let’s add some smart conditional fields to the form to get more helpful feedback from users.

Adding Conditional Logic to Net Promoter Score Survey Form

WPForms comes with a smart conditional logic feature that allows you to show or hide form fields based on the user’s answers to previous form fields.

You can use that feature to ask users for more feedback based on their answers. For example, you can ask users who select a score between 0-6 to give you another chance to make things right. These customers are unhappy and asking them for an opportunity to make things right will help you improve your relationship with these customers.

Similarly, you can also ask users giving a score between 9-10 to leave a testimonial and ask for their permission to share it on your website. These are your most loyal customers, and their testimonials can help you add social proof to your website.

Let’s add these conditional fields to your NPS survey form.

First, select the question after the NPS scale. Next, switch to the ‘Smart Logic’ tab from the menu on your left and click the ‘Enable Conditional Logic’ toggle to enable the option.

Enable conditional logic

We only want to show this field to users responding with a score between 0 and 6. To do that, we will add conditional logic to this form field.

WPForms will add the logic by default. However, you can edit the rating for which you’d like to show the survey question.

Similarly, you can set up conditional logic for the second question in the survey. By default, WPForms will set the condition for you and only show the field when the score is between 7 and 9.

Conditional logic for second question

You can edit these conditions according to your survey needs. However, if you’re just starting out, then we recommend using the default settings.

Now repeat the process for other questions in the form. Don’t forget to save your changes.

Adding Your Net Promoter Score Survey in WordPress

WPForms makes it super easy to add forms to any post or page on your website.

You can simply click the ‘Embed’ button inside the form builder to get started.

Click the embed button

Next, you’ll see 2 options to embed the NPS survey. You can create a new page or select an existing page.

We’ll choose the ‘Create New Page’ option for this tutorial.

Embed a form in page

After that, a popup window will open.

Simply enter a name for your new page and click the ‘Let’s Go’ button.

Enter name for your new page

Next, you should see your NPS survey form embedded in the content editor.

Alternatively, you can also use the WPForms block to add the NPS form anywhere on your website.

Add a WPForms block in wordpress

Simply click the ‘+’ button to add the WPForms block. After that, select your form from the dropdown menu.

You can now save your changes and visit your website to see the form in action.

NPS survey form preview

Now, whenever a user selects a score between 0 to 6, they will see another form field asking for their feedback.

Viewing Your Net Promoter Score Results

After your form is live, WPForms will start calculating your Net Promoter Score based on survey results. You can send the NPS survey link to your customers using an email marketing service to encourage them to fill it out.

After a few users have filled out the form, you can go ahead and check your score.

To do that, head over to WPForms » All Forms from your WordPress dashboard and click on the ‘Survey Result’ link under your Net Promoter Survey form.

View survey results in WPForms

WPForms will now display your total Net Promoter Score along with the number of promoters, detractors, and passives. It will also break down the results into beautiful charts, bars, and graphs.

You can use the feedback from users to improve your product, add new features, as well as offer support to unhappy customers and turn them into loyal brand evangelists.

View NPS survey results

We hope this article helped you learn how to easily create a Net Promoter Score (NPS) survey in WordPress. You may also want to see our article on how to choose the best WordPress hosting and how to get free SSL certificate for your WordPress site.

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.

The post How to Create a Net Promoter Score® (NPS) Survey in WordPress first appeared on WPBeginner.


January 24, 2023 at 12:28AM