Personalizing blocks

You can create personalized, dynamic content for any WordPress page, using any WordPress block. Personalized blocks allow you to switch between audiences. The default audience is the “anonymous” view. The anonymous view is saved to the WordPress database as a failsafe.

  1. Open a WordPress page

  2. Click on the “+” symbol to add a new WordPress block.

  3. From the menu select “Personalized Block” to create a new personalized block, capable of containing a multitude of other WordPress blocks.

Select a block

  1. Select which WordPress block you would like to personalize. Select “paragraph” and enter a message for anonymous visitors.

Click the publish button

  1. A personalized block can contain as many or as few blocks as you want.

  2. To personalize for a different audience, click on the single person icon, then select the audience you want to edit.

Click the publish button

  1. The content from the anonymous will be copied over by default. You can edit as you wish. You don’t need to keep the same types of block. For example, the anonymouse block could be a paragraph block, but the US Visitors might be an image, or a list of posts for a certain category. For this example, we’ve just used some text to welcome US visitors.

Click the publish button

  1. Now click “Publish” in the top right corner, and view your page. If you have followed this example, you will see the content for your country. Note that it is possible to preview different content for different audiences using the “Impersonate” option from the top admin menu on any WordPress page or post.

  2. Now, let’s build an audience and determine which audiences you want to target.

Click the publish button

Transforming existing blocks

It’s equally possible to transform existing blocks into personalized ones. For this example we’re going to use an image block.

  1. Select the block you want to transform.

  2. In the menu above the block a menu will appear. On the left hand side is an icon for the block type you’ve editing. Click on the icon, which will give you a list of options to transform to.

Click the publish button

  1. Select “Personalized block”. Voila, you now have a personalized block with your previous block inside it as the anonymous view.

  2. This behaves exactly the same as creating a new personalized block first, then adding content.

Click the publish button

  1. For this example, we’re going to select a “UK Visitors” audience.

  2. For this example, we going to edit the image block and choose a more personalize image for UK visitors.

Click the publish button

  1. Then click update as normal, and view the page. That’s it. You’ve not transformed an existing block into a personalized one.

results matching ""

    No results matching ""