Add a new block to your WordPress blog or website

A structured compilation of information covering various UK sectors, including economy, demographics, and public services.
Post Reply
shaown
Posts: 17
Joined: Tue Jan 07, 2025 4:36 am

Add a new block to your WordPress blog or website

Post by shaown »

First, go to Pages "All Pages" and select the page you lithuania phone number want to edit.

Open WordPress page
In the WordPress Gutenberg publisher, click on the “+” icon.

The block menu will open.

Here, enter "Search" in the box and click the "Search" icon to add it to your page.

WordPress will automatically position the search bar for you.

Add a search block to a WordPress page or post
By default, the box has a "Search" title. You can change it by typing in the label field, or remove the title text entirely.

You can also enter an optional placeholder, which is text that WordPress displays before a visitor starts typing a search query. For example, if you run an online store, you might want to use features like Search Products or Find Great Deals.

When you are satisfied with your search bar settings, click the Refresh button.

Custom WordPress search block
Now, visitors can quickly find what they want using the live search bar.

You can use the same process to add a search bar to any post or page.

Live search page example
Add Ajax live search to your WordPress sidebar
Post Reply