Saturday, August 20, 2022

How to Add Underline and Justify Text Buttons in WordPress

Do you need to underline or justify text in WordPress?

WordPress used to have both justify and underline text buttons in the visual editor. However, they have been removed and are no longer available.

In this article, we’ll show you how to add underline and justify text buttons in WordPress.

How to Add Underline and Justify Text Buttons in WordPress

Why Add Underline and Justify Text Buttons in WordPress?

Would you like to restore the missing underline and justify buttons when editing posts and pages on your WordPress website? These buttons were removed from the post editor in WordPress 4.7, but luckily there’s a way to bring them back.

However, there are a few reasons you should consider not underlining and justifying text on your website.

First, underlined text can look like links, and your users may become frustrated when what they think is a link doesn’t work. Also, justified text can make your content harder to read, especially on small screens.

With that being said, let’s take a look at how to add underline and justify text buttons in WordPress. We’ll show you how to do this for the block and classic editor. We’ll also show you how to underline and justify text using keyboard shortcuts, without the need for a button.

Underlining and Justifying Text Using Keyboard Shortcuts

You don’t need a plugin or toolbar icons to underline or justify text in WordPress. Instead, you can simply use a keyboard shortcut.

To underline text, just select the text you want to underline in WordPress and press Ctrl+U on Windows or Command+U on Mac. That’s it. This keyboard shortcut will work with both the block and classic editor.

There’s another keyboard shortcut for justifying text. Simply select the text and press Shift+Alt+J in Windows or Command+Option+J on Mac and your text will be justified.

However, the keyboard combination for justifying text will only work with the classic editor. If you use the block editor, then you will not be able to justify text with a keyboard shortcut and should use the plugin method below.

Adding Underline and Justify Text Buttons to the Block Editor

First, you’ll need to install and activate the Gutenberg Block Editor Toolkit – EditorsKit plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, the plugin will make underline, justify, and other formatting features available when using the WordPress block editor.

These additional icons can’t be added directly to the block editor’s toolbar, but you will find the extra options when clicking the ‘Displays more block tools’ down arrow on the toolbar.

Access Underline and Justify from the 'Displays More Block Tools' Icon

To underline text, you should first select the text, then click the ‘Displays more block tools’ down arrow, and then click on ‘Underline’ from the drop down menu.

To justify a paragraph, first make sure that your cursor is in that paragraph. Then click the ‘Displays more block tools’ down arrow and select ‘Justify’ from the drop down menu.

Adding Underline and Justify Text Buttons to the Classic Editor

If you are using the classic editor, then you should start by installing and activating the Advanced Editor Tools plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you will need to navigate to Settings » Advanced Editor Tools (TinyMCE Advanced) in your admin menu. Next, you need to click on the ‘Classic Editor (TinyMCE)’ tab at the top of the page.

You will notice a preview of the WordPress classic editor. Below the preview, it will show you all the unused buttons.

Now you need to drag and drop underline and justify text buttons from ‘Unused Buttons’ box to the post editor.

Drag the Unused Buttons You Need to the Classic Editor's Toolbar

When you have finished, make sure you click the ‘Save Changes’ button at the top of the screen to store the new settings.

Now when you are creating or editing a WordPress blog post or page, the new formatting buttons will be available on the classic editor’s toolbar.

Underline and Justify Buttons Are Now Available on the Classic Editor's Toolbar

We hope this tutorial helped you learn how to add underline and justify text buttons in WordPress. You may also want to learn why WordPress is free, or check out our list of must have plugins to grow your 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 Add Underline and Justify Text Buttons in WordPress first appeared on WPBeginner.


August 20, 2022 at 04:03PM

Friday, August 19, 2022

How To Efficiently Manage Post Series in WordPress

Are you looking for a better way to manage post series in WordPress?

If you’re working on an online novel or simply want to cover a broad industry topic, then creating a long post may not work for you. A post series allows you to dig deep into a particular topic and encourage readers to keep coming back for more.

In this article, we’ll show you how to efficiently manage post series in WordPress.

How To Efficiently Manage Post Series in WordPress

Why Publish Post Series in WordPress?

If you are writing about a complex topic on your WordPress website, then it is often better to write a series of posts that break the topic up into smaller chunks than to write one long post.

For example, our ultimate guide to speed up WordPress is a roundup of a series of posts we published on different ways to improve your site’s performance.

When you write a big series of posts like that, it can be tough to help your readers navigate the series and find all the information in the right order.

You could simply add a paragraph before each post telling your users that the post is part of a series and then list the rest of the posts at the bottom. But then you would have to manually update every post each time you publish a new article in the series.

Another solution would be to create a custom taxonomy called ‘Series’, but this also creates more work, such as creating or customizing template files.

Luckily, there is a WordPress plugin that will help you manage a series of articles. Let’s take a look at how to efficiently manage post series in WordPress.

How to Efficiently Manage Post Series in WordPress

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

There is a premium version with more features, but for this tutorial, we’ll use the free plugin.

As soon as the plugin is activated, you will be able to create new series and add posts to it.

Creating a New Series

To create your first series, you’ll need to head over to the Posts » Manage Series page. This looks similar to the page you see when adding new categories.

Once there, you will need to type a name, slug, and description for the series. When you’re finished, you’ll need to click the ‘Add New Series’ button at the bottom of the page.

Add a New Series in WordPress

You’ll notice that the new series is added to the list on the left.

Adding Posts to the Series

Now you can add some blog posts to the series. To start, simply create a new post or edit an old one.

In the settings panel on the right of the screen, you’ll notice a new section called ‘Series’. Simply click the button next to the series you created to add this post.

Add a New Post to Your Series

Make sure you click the ‘Publish’ or ‘Update’ button at the top of the page to push the post live as part of the series.

Next, you should add any other existing posts to the series. As you continue to write new articles, simply repeat this step to add them to the series.

Customizing the Order of Posts in the Series

By default, your articles will be displayed in the order you add them to the series. However, you can customize the post order by visiting the Posts » Publish Series page in your WordPress admin area.

Here you will see all the series you have created, with columns to show how many articles are published, unpublished, and scheduled in each. You will also see links to update the post order, publish or unpublish all, and view the series.

Click the 'Update Order' Link to Reorder Your Posts

To change the order of the posts, you will need to click the ‘Update order’ link. You will now see a list of all the posts in that series.

You can reorder the articles by dragging the post names up or down the list. When you move a post, the ‘Current Part’ number will be updated automatically to reflect the new order.

Drag and Drop Your Posts to Place Them in the Right Order

When you’re happy with the order of the posts, make sure you click the ‘Update Order’ button to store your settings.

Previewing Your Post Series

Now you can visit your WordPress blog to see how your new post series looks. Simply view a post that is part of the series.

At the top of the article, there will be a message that the post is part of a series. You will also see a list of all posts in the series and can easily navigate between them by clicking a link.

Post Order Preview

You will also find links at the bottom of the article to navigate to the next and previous article in the series.

We hope this tutorial helped you learn how to efficiently manage post series in WordPress. You may also want to learn how to track visitors to your WordPress site, or check out our list of must have plugins to grow your 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 Efficiently Manage Post Series in WordPress first appeared on WPBeginner.


August 19, 2022 at 02:03PM

Thursday, August 18, 2022

How to Customize the Search Results Page in WordPress

Do you want to customize the search results page on your WordPress website?

The search results page can help users find the content they are looking for. Customizing it will improve the user experience on your site, which leads to more page views and conversions.

In this article, we’ll show you how to easily customize the search results page in WordPress without writing any code.

Customizing WordPress search results page

Here is a step-by-step breakdown of the topics we’ll cover in this article.

Why Customize Search Results Page in WordPress?

By default, your WordPress website comes with a basic search feature. It allows users to look for content matching their search terms, but the search results are not very good.

No results found

Often search terms return no results, even when there are possibly several matches that would answer the user’s query.

The search itself is slow, requires a page load, and if multiple users end up using the search feature at once, this could slow down your website.

By customizing your search results page in WordPress, you would be able to implement a faster search system with a better user experience and more helpful search results.

More search results found

Sounds good? Let’s get started.

Step 1. Setting up SearchWP as Your WordPress Search Engine

SearchWP is the best WordPress search plugin on the market. It allows you to improve WordPress search by replacing it with a faster and more accurate search engine.

SearchWP Homepage

It automatically indexes your content in the background, which allows searches to run faster. Plus, you don’t need to replace the default WordPress search forms and templates.

First, you need to install and activate the SearchWP plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit SearchWP » Settings page and switch to the License tab. Enter your plugin license key, which you can find under your account on the SearchWP website.

SearchWP license key

Once you have activated the license key, you can switch to the Engines tab.

You’ll notice that SearchWP has set up a default search engine for you. It uses your WordPress posts, pages, and media as sources.

SearchWP sources

Under each source, you can adjust the sliders to give more relevance to an attribute than another.

Want to include more places in search results? Click on the Sources & Settings button to add them.

Additional sources

For the sake of this tutorial, let’s add Comments as a search source.

After you click Done, a new tab will appear under the sources list. However, it will be empty, and to make it useful, you need to click on the ‘Add/Remove Attributes’ button.

Add attribute

This will bring up a popup where you can select which attributes you want to include in your search.

For instance, we used Comment text to be used as an attribute.

SearchWP search comments

After adding an attribute, you can assign a weight to it in your search results.

More weight means SearchWP will consider that attribute more relevant than other attributes under this source.

Adjust attribute weightage

Once you are finished reviewing search sources, you can go ahead and click on the Save Engines button.

Save search engines

SearchWP will now start building a search index based on your settings.

Once finished, you will see 100% under the Index Status.

Index status

Your SearchWP engine will now automatically replace the default WordPress search. If you already have a search form on your website, then you can go ahead and try it.

If you don’t have a search form on your website, then you can add one by visiting the Appearance » Widgets page. Simply add the Search widget or block to your sidebar and click on the Update button to save your changes.

Adding a search block to your WordPress sidebar

You can now visit your website and try out your new and improved search feature.

Step 2. Adjusting The Search Results to Promote Important Content

Now that you have replaced the default WordPress search with SearchWP, it is time to look at how you can customize it further to generate even better search results.

We’ll start by promoting important content in search results. These could be blog posts that bring you more revenue, sales pages, lead generation landing pages, and more.

First, you need to visit the SearchWP » Extensions page and install the ‘Custom Results Order’ extension.

Custom Results Order extension for SearchWP

Next, you need to visit the SearchWP » Statistics page.

Here you can see which search terms or keywords are popular among your users.

Search statistics

Note: If you have just installed the plugin, then you may not have enough data here. You can wait for users to enter a few search terms to collect more data.

Now, look for the keywords where you want to promote a particular post and page in the search results.

After that, go to SearchWP » Settings page and select Custom Results Order under the Extensions tab.

Custom results page

Enter the keyword where you want to promote a post or page to the top, and then click on the Add Search Query button.

SearchWP will show you the results for that particular query. You need to select the content that you want to promote and then click on the Promote to Top button.

Promote post or page in search results

Your selected post or page will now start appearing at the top for that particular search keyword.

You can always come back to the same page and unpin that post or page from the top or perhaps add a different one.

Remove promotion

Step 3. Exclude Content from WordPress Search Results

Sometimes you may have content that you don’t want to appear in search results. For instance, a page promoting a sales event that has expired or an outdated blog post.

SearchWP allows you to easily exclude any post or page you don’t want to include in search results.

First, you need to visit the SearchWP » Extensions page and install the ‘Exclude UI’ extension.

Exclude UI extension

After activation, you can simply edit the post or page you want to exclude from search results.

Under the ‘Post’ panel on the edit screen, you’ll now see an option to exclude that post from search results.

Exclude post from search results

Simply check the box and click on the Update button to save your changes.

SearchWP will now stop showing that post or page in search results.

Step 4. Make Search Results Appear Instantly in WordPress

Normally, your SearchWP search results will appear using the theme template file provided by your WordPress theme.

However, what if you could show the users the results as soon as they start typing?

This feature is called live search, and you may have already seen it on search engines like Google and Bing.

Let’s add live search to your WordPress site to make search an even better experience for your users.

First, you need to visit the SearchWP » Extensions page and install the ‘Live Search’ extension.

Install live ajax search

Upon activation, the extension would start working automatically.

You can now go to your website and start typing keywords in a search form to see it in action.

Live search preview

For more detailed instructions, see our tutorial on how to add live search in WordPress.

Step 5. Search in More Places on Your WordPress Site

SearchWP can be configured to search in more places on your WordPress site. For instance, it can search in custom fields, PDF documents, shortcode outputs, and more.

Depending on where you want to enable search, you can turn these features on and off as needed.

Enable Search for WordPress Custom Fields

WordPress custom fields allow you to store additional meta data for your WordPress posts and pages. They are also used by WordPress plugins to store data related to a post or page.

To include custom fields in your search sources, go to SearchWP » Settings page and click on the Add/Remove attribute button below a source.

Add search attribute

This will bring up a popup where you can select a specific custom field or select any meta key.

Click on Done when you are finished and don’t forget to click the Save Engines button.

Include custom fields in search results

SearchWP will now start using custom fields as a source and will include matching posts in the search results.

For more details, see our guide on how to how to make custom fields searchable in WordPress.

Enable Search in PDF and Documents

SearchWP can also search inside PDF files and office documents uploaded in your WordPress media library.

Simply go to the SearchWP » Settings page and click on the Sources & Settings button for your search engine.

SearchWP sources

This will bring up a popup where you need to make sure that the Media is selected as one of the sources.

Then, click the Done button.

Media source

After that, scroll down to the sources list on the Engine settings page to locate the Media tab.

From here, you need to click on the Add/Remove Attributes button.

Media attributes

This will bring up a popup where you can select which attributes you want to include in your search results.

Click on the Done button after making your selection.

Select media attributes

Next, you can move the slider up and down to adjust the weight you want to give to a particular attribute in search results.

Once finished, don’t forget to click the Save Engines button to save your settings.

Adjust relevancy

Enable Search in Shortcode Outputs

Many WordPress plugins use shortcodes to output data in your WordPress posts and pages.

If this shortcode data is important for your WordPress website and will help improve search results, then you can enable Shortcode Output parsing in SearchWP.

Simply go to the SearchWP » Settings page and switch to the Advanced tab. From here, you need to check the box next to the ‘Parse Shortcodes when indexing’ option.

Parse shortcodes in search results

After that, click the Wake Up Indexer button to run a new indexing process in the background to include shortcode output in search results.

Step 6. Include eCommerce in WordPress Search Results

SearchWP makes it super easy to improve eCommerce search results on your online store.

It comes with powerful integrations for popular eCommerce plugins, including WooCommerce and Easy Digital Downloads.

Here is how you’ll turn it on for your WooCommerce store. Other integrations work similarly as well.

First, you need to go to the SearchWP » Extensions page and install the WooCommerce Integration extension.

WooCommerce integration in search results

Upon activation, go to the SearchWP » Settings page.

Then click on the Sources & Settings button for your search engine.

SearchWP sources

This will bring up a popup where you need to make sure that the Products option is selected as one of the sources.

After that, click on Done to exit the popup.

Add products in search results

Now, scroll down on the Sources screen, and you’ll see the Products tab.

You can adjust the attribute weight by moving the sliders or clicking on the Add/Remove attributes button to select custom fields or product categories.

Product attributes

Once you are finished, don’t forget to click the Save Engines button to save your settings.

For more detailed instructions, visit our guide on how to improve WooCommerce product search in WordPress.

We hope this article helped you learn how to easily customize the search results page in WordPress. You may also want to see our guide on how to get more traffic to your WordPress site or how to track user journey on WordPress lead forms.

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 Customize the Search Results Page in WordPress first appeared on WPBeginner.


August 18, 2022 at 05:28PM