<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; wordpress tutorial</title>
	<atom:link href="http://www.wpwife.com/category/wordpress-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Enable / Activate WordPress Plugins from the Database</title>
		<link>http://www.wpwife.com/wordpress-plugins/how-to-enable-activate-wordpress-plugins-from-the-database</link>
		<comments>http://www.wpwife.com/wordpress-plugins/how-to-enable-activate-wordpress-plugins-from-the-database#comments</comments>
		<pubDate>Mon, 20 Feb 2023 09:41:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[Plugin activation with WordPress database]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress database]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[wordpress tutorial]]></category>

		<guid isPermaLink="false">https://www.wpbeginner.com/?p=162225</guid>
		<description><![CDATA[
<p>Are you looking to enable or activate plugins from the WordPress database? If you are unable to access your WordPress admin area and need to activate a plugin to restore your access, then you can do that from the WordPress database. In this article, we&#8230;&#160;<strong><a href="https://www.wpbeginner.com/wp-tutorials/how-to-enable-activate-wordpress-plugins-from-database/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-enable-activate-wordpress-plugins-from-database/">How to Enable / Activate WordPress Plugins from the Database</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Are you looking to enable or activate plugins from the WordPress database?</p>



<p>If you are unable to access your WordPress admin area and need to activate a plugin to restore your access, then you can do that from the WordPress database. </p>



<p>In this article, we will show you how to easily activate your WordPress plugins using the database.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-enable-activate-wordpress-plugins-from-the-database-og.png" alt="How to enable/activate WordPress plugins from the database" class="wp-image-163088" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-enable-activate-wordpress-plugins-from-the-database-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-enable-activate-wordpress-plugins-from-the-database-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>When Should You Activate WordPress Plugins Using Database</h4>



<p>A number of <a href="https://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/" title="50 Most Common WordPress Errors and How to Fix Them">common WordPress errors</a> can prevent a website owner from accessing the WordPress admin area. In most of those situations, the user is looking to <a href="https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/" title="How to Deactivate All Plugins When Not Able to Access WP-Admin">deactivate WordPress plugins without admin access</a>.</p>



<p>However in some situations, a website owner may need to activate certain plugins to restore access to their WordPress website. </p>



<p>For example, let&#8217;s assume an error is stopping you from accessing your <a href="https://www.wpbeginner.com/wp-tutorials/locked-out-of-wordpress-admin/" title="What To Do When You Are Locked Out of WordPress Admin (wp-admin)">WordPress dashboard</a>, and you have found a plugin that can fix that error. </p>



<p>Luckily, WordPress stores the active plugins information in your WordPress database. This means you can manually enter this information directly in the database and tell WordPress to activate a plugin. </p>



<p>The only condition is that the plugin must be installed on your WordPress site. Which means that it should be present in the plugins folder on your WordPress website. </p>



<p>With that being said, let&#8217;s see how you can easily enable/activate a plugin using the database.</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-enable-activate-wordpress-plugins-from-database/#aioseo-step-1-find-your-database-name-using-the-cpanel">Step 1. Find Your Database Name Using the Hosting Control Panel</a></li><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-enable-activate-wordpress-plugins-from-database/#aioseo-step-2">Step 2. Locate Active Plugins Option via PhpMyAdmin</a></li><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-enable-activate-wordpress-plugins-from-database/#aioseo-step-3-activate-a-plugin-using-phpmyadmin">Step 3. Activate a Plugin Using phpMyAdmin</a></li></ul></div>



<h4 id="aioseo-step-1-find-your-database-name-using-the-cpanel">Step 1. Find Your Database Name Using the Hosting Control Panel</h4>



<p>To activate your WordPress plugins using <a href="https://www.wpbeginner.com/beginners-guide/beginners-guide-to-wordpress-database-management-with-phpmyadmin/" title="Beginner’s Guide to WordPress Database Management with phpMyAdmin">phpMyAdmin</a>, first, you need to find out your WordPress database&#8217;s name.</p>



<p>Now, to find the name of your database, you need to log in to your web hosting dashboard. For this tutorial, we will be using <a href="https://www.wpbeginner.com/refer/bluehost/"  rel="noopener nofollow" title="Bluehost">Bluehost</a>. </p>



<p>If you are using a different hosting company, then your WordPress hosting dashboard may look slightly different. </p>



<p>Once you are on the cPanel, scroll down to the &#8216;Files&#8217; section and click the &#8216;File Manager&#8217; option.</p>



<figure class="wp-block-image size-full"><img width="680" height="308" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-at-file-manager.png" alt="Click at the file manager" class="wp-image-162708" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-at-file-manager.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/click-at-file-manager-300x136.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will open up the File Manager in a new window. Here you simply need to locate and click the <code>public_html</code> folder from the left column.</p>



<p>This will open up all the files that are stored in the <code>public_html</code> folder. Now, you simply need to locate and click the folder with your site&#8217;s name on it present under the &#8216;Name&#8217; column.</p>



<figure class="wp-block-image size-full"><img width="680" height="222" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/go-to-public-html-site-and-find-your-site-name.png" alt="Go to the publich_html file and find your site name" class="wp-image-162711" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/go-to-public-html-site-and-find-your-site-name.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/go-to-public-html-site-and-find-your-site-name-300x98.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Some users may instead see their WordPress files and folders installed inside public_html folder. </p>



<p>After you have opened up your WordPress site&#8217;s file, locate the <a href="https://www.wpbeginner.com/glossary/wp-config-php/" title="wp-config.php">wp-config.php </a>  file under the &#8216;Name&#8217; section and right-click on it.</p>



<p>This will open up a menu where you need to select the &#8216;View&#8217; option.</p>



<figure class="wp-block-image size-full"><img width="680" height="292" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-view.png" alt="Click View" class="wp-image-162712" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-view.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/click-view-300x129.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will open up the <code>wp-config.php</code> file in a new window where you can locate your database details.</p>



<p>We recommend that you copy and paste your database details including username and password into a notepad on your computer.</p>



<figure class="wp-block-image size-full"><img width="680" height="325" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/database-details.png" alt="Database details" class="wp-image-162713" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/database-details.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/database-details-300x143.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now you&#8217;ve successfully found your database&#8217;s name, let&#8217;s move to our next step.</p>



<h4 id="aioseo-step-2">Step 2. Locate Active Plugins Option via PhpMyAdmin</h4>



<p>After you have found out the name of your database, you need to go back to your <a href="https://www.wpbeginner.com/wordpress-hosting/" title="How to Choose the Best WordPress Hosting in 2023 (Compared)">WordPress hosting</a> control panel. </p>



<p>Once there, scroll down to the &#8216;Databases&#8217; section and click the &#8216;phpMyAdmin&#8217; option.</p>



<figure class="wp-block-image size-full"><img width="680" height="280" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-phpmyadmin-option.png" alt="Click the phpMyAdmin option in the cPanel" class="wp-image-162716" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-phpmyadmin-option.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/click-phpmyadmin-option-300x124.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will launch the phpMyAdmin app in a new browser tab.</p>


<div class="wpb-alert style-yellow">

<p><strong>Note:  </strong>Before you make any kind of changes, please make sure to <a href="https://www.wpbeginner.com/beginners-guide/how-to-make-a-wordpress-database-backup-manually/" title="How To Make a WordPress Database Backup Manually">create a complete backup of your database</a>. It will come in handy if anything goes wrong with the process.</p>

</div>


<p>Next, you simply need to click the &#8216;Database&#8217; tab from the navigation menu present at the top of the page. </p>



<p>Now, simply locate your WordPress database and click on the browse button to expand it. </p>



<figure class="wp-block-image size-full"><img width="680" height="164" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-database-tab.png" alt="Click the Database tab from the navigation menu" class="wp-image-162717" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-database-tab.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/click-database-tab-300x72.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will show your WordPress database tables. </p>



<p>Here, you will simply need to locate <code>wp_options</code> table and click browse next to it. </p>



<p><strong>Note:</strong> By default, WordPress uses wp_ as the prefix for table names. Your WordPress database table may have a different table prefix. </p>



<figure class="wp-block-image size-full"><img width="680" height="294" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-at-wp-option.png" alt="Click at wp-options" class="wp-image-162724" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-at-wp-option.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/click-at-wp-option-300x130.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Inside the <code>wp_options</code> table, you&#8217;ll need to find the row where option_name is set to<code>active_plugins</code>.</p>



<p>After that, click on the Edit link next to it. </p>



<figure class="wp-block-image size-full"><img width="680" height="252" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-activeplugins-option.png" alt="Click the Activate_Plugins option" class="wp-image-162725" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/click-activeplugins-option.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/click-activeplugins-option-300x111.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will open up a box where you can manually enter details to activate a plugin. </p>



<h4 id="aioseo-step-3-activate-a-plugin-using-phpmyadmin">Step 3. Activate a Plugin Using phpMyAdmin</h4>



<p id="aioseo-step-3-activate-a-plugin-using-phpmyadmin">WordPress stores the active plugins information in a special format so that it can be programatically accessed by the software. </p>



<p>In order to tell WordPress which plugins to activate, we&#8217;ll need to use that same format. </p>



<p id="aioseo-step-3-activate-a-plugin-using-phpmyadmin">First, we&#8217;ll start by entering the <code>option_value</code> as <code>a:1:</code> and then open up the curly bracket ({).</p>



<p>We are entering this value as 1 because we only want to activate one plugin. You have to change the value to the number of plugins you plan on activating.</p>



<figure class="wp-block-image size-full"><img width="680" height="137" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/add-option-value-1.png" alt="Add option value" class="wp-image-162739" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/add-option-value-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/add-option-value-1-300x60.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, we will be entering <code>i:0;</code> after the curly bracket. Here we are essentially assigning a serial number to our plugin. </p>



<p>Remember to always assign numbers starting from 0 instead of 1.</p>



<figure class="wp-block-image size-full"><img width="680" height="155" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/add-serial-number.png" alt="Add serial number" class="wp-image-162740" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/add-serial-number.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/add-serial-number-300x68.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, we will be entering the number of characters present in the plugin&#8217;s name and the php file name of the plugin that we&#8217;re about to activate.</p>



<p>For that, we will type <code>s:24:</code> in the box. Keep in mind that the number of characters will differ for each plugin based on the characters in the plugin directory and file name.</p>



<p>For instance, we are activating <a href="https://wpforms.com/"  title="WPForms - Drag &amp; Drop WordPress Form Builder">WPForms</a> in this tutorial which has 24 characters in its name including the file name of the plugin as stored in our file manager.</p>



<figure class="wp-block-image size-full"><img width="680" height="131" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/add-character-number-1.png" alt="Add character number" class="wp-image-162730" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/add-character-number-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/add-character-number-1-300x58.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you just need to type the plugin&#8217;s directory name. You can find it by visiting the /wp-content/plugins/ folder using the File Manager app. </p>



<p>Don&#8217;t forget to add quotation marks before typing the plugin&#8217;s directory name. </p>



<figure class="wp-block-image size-full"><img width="680" height="134" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/type-plugin-name-1.png" alt="Type the plugins' name" class="wp-image-162732" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/type-plugin-name-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/type-plugin-name-1-300x59.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After the /, you need to enter the plugin&#8217;s file name. This is usually the file with similar name inside the plugin folder. </p>



<figure class="wp-block-image size-full"><img width="680" height="336" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/pugin-file-folder.png" alt="Plugin file and folder name" class="wp-image-166386" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/pugin-file-folder.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/pugin-file-folder-300x148.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, go back to phpMyAdmin and type the name of the plugin and then close the quotation marks. </p>



<p>After that, simply add a semi-colon (;) and close the curly brackets (}). The final value in this example would look like this: </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
a:1:{i:0;s:24:&quot;wpforms-lite/wpforms.php&quot;;}
</pre></div>


<p>This is how it will look once you&#8217;re done.</p>



<figure class="wp-block-image size-full"><img width="680" height="210" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/finalsample.png" alt="Activating a single plugin" class="wp-image-166397" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/finalsample.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/finalsample-300x93.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, simply click the &#8216;Go&#8217; button to execute the command.</p>



<p>Now go visit your WordPress dashboard and head over to <strong>Plugins » Installed Plugins</strong>.</p>



<p>Your plugin has been successfully activated.</p>



<figure class="wp-block-image size-full"><img width="680" height="298" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/activated-plugin.png" alt="activated-plugin" class="wp-image-162737" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/activated-plugin.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/activated-plugin-300x131.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now let&#8217;s say you want to activate two more plugins. </p>



<p>First you will need to change the number of plugins. After you will adjust each entry for the plugin that you want to activate. </p>



<p>Here is an example: </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
a:3:{
i:0;s:47:&quot;all-in-one-seo-pack-pro/all_in_one_seo_pack.php&quot;;
i:1;s:35:&quot;insert-headers-and-footers/ihaf.php&quot;;
i:2;s:24:&quot;wpforms-lite/wpforms.php&quot;;
}
</pre></div>


<p><strong>Note:</strong> We have added line breaks here to make the code look more readable. You need to make sure that there are no line breaks or spaces in your code. Otherwise, it wouldn&#8217;t work. </p>



<p>We hope you learned how to activate a plugin using the database. You may also want to see our guide on <a href="https://www.wpbeginner.com/plugins/how-to-add-your-social-media-feeds-to-wordpress-step-by-step/" title="How to Add Your Social Media Feeds to WordPress (Step by Step)">how to add social media feeds to WordPress</a>, and our comparison of <a href="https://www.wpbeginner.com/beginners-guide/how-to-choose-the-best-domain-registrar/" title="How to Choose the Best Domain Registrar in 2023 (Compared)">the best domain registrars in the world</a>.</p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-enable-activate-wordpress-plugins-from-database/">How to Enable / Activate WordPress Plugins from the Database</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/wordpress-plugins/how-to-enable-activate-wordpress-plugins-from-the-database/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
		<item>
		<title>How to Properly Disable Lazy Load in WordPress (Step by Step)</title>
		<link>http://www.wpwife.com/wordpress-plugins/how-to-properly-disable-lazy-load-in-wordpress-step-by-step</link>
		<comments>http://www.wpwife.com/wordpress-plugins/how-to-properly-disable-lazy-load-in-wordpress-step-by-step#comments</comments>
		<pubDate>Thu, 16 Feb 2023 10:09:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[disable lazy load in wordpress]]></category>
		<category><![CDATA[lazy load in wordpress]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[wordpress tutorial]]></category>
		<category><![CDATA[wpcode]]></category>

		<guid isPermaLink="false">https://www.wpbeginner.com/?p=163609</guid>
		<description><![CDATA[
<p>Do you want to disable lazy loading in WordPress? By default, WordPress comes with a lazy load feature, which delays downloads for images and other media to improve page load speed. However, for some websites, it may affect user experience by not displaying images and&#8230;&#160;<strong><a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/">How to Properly Disable Lazy Load in WordPress (Step by Step)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to disable lazy loading in WordPress?</p>



<p>By default, WordPress comes with a lazy load feature, which delays downloads for images and other media to improve page load speed. </p>



<p>However, for some websites, it may affect user experience by not displaying images and media right away. </p>



<p>In this article, we&#8217;ll show you how to easily disable lazy load in WordPress both using a code method as well as a plugin method.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-properly-disable-lazy-load-in-wordpress-og.png" alt="How to properly disable lazy load in WordPress" class="wp-image-163656" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-properly-disable-lazy-load-in-wordpress-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-properly-disable-lazy-load-in-wordpress-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>What is Lazy Loading?</h4>



<p>WordPress first introduced lazy loading images in <a href="https://www.wpbeginner.com/news/whats-new-in-wordpress-5-5-features-and-screenshots/" title="What’s New in WordPress 5.5 (Features and Screenshots)">WordPress 5.5</a>. Later it extended the lazy load feature to iframes embeds (e.g. YouTube videos, Spotify, and other embeds).  </p>



<p>This practice helps improve your <a href="https://www.wpbeginner.com/wordpress-performance-speed/" title="24 Useful Tricks To Speed Up WordPress &amp; Boost Performance">website&#8217;s speed and performance</a> by quickly loading content and the visible area first. </p>



<p>A faster website is not just good for users, but it is also good for SEO. Search engines like Google consider speed as an important ranking factor. </p>



<p>Apart from images and embeds, you can also easily lazy load <a href="https://www.wpbeginner.com/plugins/how-to-easily-lazy-load-comments-in-wordpress/" title="How to Easily Lazy Load Comments in WordPress">comments</a> and <a href="https://www.wpbeginner.com/plugins/how-to-lazy-load-gravatars-in-wordpress-comments/" title="How to Lazy Load Gravatars in WordPress Comments">Gravatars</a> to further improve page load speed.</p>



<p>Lazy loading can be seen in action by right-clicking on an image and selecting the Inspect tool in your browser. </p>



<figure class="wp-block-image size-full"><img width="680" height="293" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazyloading-example.png" alt="Lazy loading images in WordPress" class="wp-image-166375" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazyloading-example.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/lazyloading-example-300x129.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will split your browser screen and show you the HTML source code. From here, you&#8217;ll be able to see the &#8220;loading=lazy&#8221; attribute added to the image. </p>



<p>Now normally, we don&#8217;t recommend disabling lazy load due to its overall benefits for your <a href="https://www.wpbeginner.com/showcase/x-type-of-websites-you-can-create-with-wordpress/" title="23 Popular Types of Websites You Can Make in WordPress (+Examples)">WordPress website</a>. Turning it off can result in slower website speed, lower conversion rates, and lower SEO rankings.</p>



<p>However, sometimes lazy loading can affect the user experience for some websites. </p>



<p>For instance, if you run a photography website where images are the most significant aspect of your content, then lazy loading them may ruin the user experience for your customers. </p>



<p>In other cases, you might be using a different lazy loading solution and just want to turn off the default WordPress lazy load.</p>



<p>That being said, let&#8217;s see how you can easily disable lazy load in WordPress.</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/#aioseo-method-1-disable-lazy-load-in-wordpress-using-wpcode-recommended">Method 1. Disable Lazy Load in WordPress Using WPCode (Recommended)</a></li><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/#aioseo-method-2">Method 2. Disable Lazy Load in WordPress Using a Plugin</a></li></ul></div>



<h4 id="aioseo-method-1-disable-lazy-load-in-wordpress-using-wpcode-recommended">Method 1. Disable Lazy Load in WordPress Using WPCode (Recommended)</h4>



<p>You can simply disable the lazy load feature in WordPress by adding a custom code snippet to your theme&#8217;s <a href="https://www.wpbeginner.com/glossary/functions-php/" title="functions.php">functions.php</a> file. </p>



<p>However, keep in mind that the smallest error while adding the code can result in breaking your website and making it inaccessible to your users.</p>



<p>This is why we recommend using the <a href="https://wpcode.com/"  title="WPCode - WordPress Code Snippet Plugin" rel="noopener">WPCode</a> plugin to add <a href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/" title="How to Easily Add Custom Code in WordPress (Without Breaking Your Site)">custom code </a>to your site.</p>



<p>It is the best custom code snippets plugin that makes it super easy for beginners to safely add custom code to their website.  </p>



<p>First, you need to install and activate the <a href="https://wordpress.org/plugins/insert-headers-and-footers"  title="WPCode Free Code Snippet Plugin for WordPress" rel="noopener">WPCode</a> plugin. See our guide on <a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners">how to install a WordPress plugin</a> for more instructions.</p>



<p>Upon activation, go to the <strong>Code Snippets » + Add Snippet</strong> page. </p>



<figure class="wp-block-image size-full"><img width="680" height="335" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/addnewsnippet.png" alt="Add new snippet" class="wp-image-166377" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/addnewsnippet.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/addnewsnippet-300x148.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will take you to the &#8216;Add Snippets&#8217; screen where you&#8217;ll see a bunch of ready-to-use code snippets that you can add to your website. </p>



<p>From here, you need to click the &#8216;Use Snippet&#8217; button under the <strong>&#8216;Add Your Custom Code (New Snippet)&#8217; </strong>option.</p>



<p>Once you&#8217;re on the &#8216;Create Custom Snippet&#8217; page, you can start by typing a name for your code snippet. </p>



<p>It can be anything that will help you identify the code snippet and what it does. </p>



<figure class="wp-block-image size-full"><img width="680" height="317" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/snippet-title-type.png" alt="Snippet title and type" class="wp-image-166378" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/snippet-title-type.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/snippet-title-type-300x140.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, select &#8216;PHP Snippet&#8217; from the dropdown menu next to the &#8216;Code Type&#8217; option.</p>



<p>Now, copy and paste the following PHP code in the &#8216;Code Preview&#8217; box.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
</pre></div>


<p>This is how the code will look after it is pasted in the &#8216;Code Preview&#8217; box.</p>



<figure class="wp-block-image size-full"><img width="680" height="241" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/addcode.png" alt="Add code snippet" class="wp-image-166379" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/addcode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/addcode-300x106.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After adding the code, scroll down to the &#8216;Insertion&#8217; section.</p>



<p>Here, simply choose &#8216;Auto Insert&#8217; as the insertion mode. This will ensure that your custom code is automatically executed everywhere on your website once you activate the snippet.</p>



<figure class="wp-block-image size-full"><img width="680" height="205" src="https://www.wpbeginner.com/wp-content/uploads/2021/07/choose-an-insertion-method.png" alt="Choose an insertion method" class="wp-image-163439" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/07/choose-an-insertion-method.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/07/choose-an-insertion-method-300x90.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you need to scroll to the top of the page and simply toggle the &#8216;Inactive&#8217; switch to &#8216;Active&#8217;.</p>



<p>After that, don&#8217;t forget to click the &#8216;Save Snippet&#8217; button to save and execute your custom snippet.</p>



<figure class="wp-block-image size-full"><img width="680" height="235" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/save-disable-lazy-load-snippet.png" alt="Save your code snippet" class="wp-image-163667" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/save-disable-lazy-load-snippet.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/save-disable-lazy-load-snippet-300x104.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Once activated, this custom code snippet will disable the lazy loading feature on your WordPress website. </p>



<p>You can test by right-clicking on an image and selecting Inspect from the browser menu. </p>



<p>In the HTML code for the image, the loading=lazy attribute will now disappear. </p>



<figure class="wp-block-image size-full"><img width="680" height="226" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazy-loading-disabled.png" alt="Lazy loading disabled" class="wp-image-166376" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazy-loading-disabled.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/lazy-loading-disabled-300x100.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4 id="aioseo-method-2">Method 2. Disable Lazy Load in WordPress Using a Plugin</h4>



<p>If you don&#8217;t want to add code to your site, then you can use the <a href="https://wordpress.org/plugins/disable-lazy-loading/"  rel="noopener nofollow" title="Disable Lazy Load">Disable Lazy Load </a>plugin. </p>



<p>The only thing you need to do is install and activate the <a href="https://wordpress.org/plugins/disable-lazy-loading/"  rel="noopener nofollow" title="Disable Lazy Load">Disable Lazy Load </a>plugin. For more instructions, check our guide on<a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners"> how to install a WordPress plugin</a>.</p>



<figure class="wp-block-image size-full"><img width="680" height="194" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/activate-disable-lazy-load-plugin.png" alt="Activate plugin to disable lazy load" class="wp-image-163668" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/activate-disable-lazy-load-plugin.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/activate-disable-lazy-load-plugin-300x86.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>The plugin works out of the box and does not require any configuration. Once activated, it will automatically disable the lazy load feature on your site.</p>



<p>We hope this article helped you learn how to properly disable lazy load in WordPress. You may also want to see our guide on <a href="https://www.wpbeginner.com/beginners-guide/speed-wordpress-save-images-optimized-web/" title="How to Optimize Images for Web Performance without Losing Quality">how to optimize WordPress images</a> for better page load times, or see our pick of the <a href="https://www.wpbeginner.com/plugins/best-wordpress-image-compression-plugins-compared/" title="7 Best WordPress Image Compression Plugins Compared (2023)">best WordPress image compression plugins</a>. </p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/">How to Properly Disable Lazy Load in WordPress (Step by Step)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/wordpress-plugins/how-to-properly-disable-lazy-load-in-wordpress-step-by-step/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
		<item>
		<title>How to Add Multilingual Search in WordPress (2 Ways)</title>
		<link>http://www.wpwife.com/wordpress-plugins/how-to-add-multilingual-search-in-wordpress-2-ways</link>
		<comments>http://www.wpwife.com/wordpress-plugins/how-to-add-multilingual-search-in-wordpress-2-ways#comments</comments>
		<pubDate>Tue, 14 Feb 2023 08:43:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[add multilingual search]]></category>
		<category><![CDATA[multilingual site with wordpress]]></category>
		<category><![CDATA[Polylang]]></category>
		<category><![CDATA[searchwp]]></category>
		<category><![CDATA[translatepress plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress multilingual plugin]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[wordpress tutorial]]></category>

		<guid isPermaLink="false">https://www.wpbeginner.com/?p=157399</guid>
		<description><![CDATA[
<p>Do you want to add a multilingual search in WordPress? If you have a multilingual WordPress site, then adding a multilingual search feature can help users find information more quickly by searching in their own language. In this article, we&#8217;ll show you how to easily&#8230;&#160;<strong><a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-multilingual-search-in-wordpress/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-multilingual-search-in-wordpress/">How to Add Multilingual Search in WordPress (2 Ways)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to add a multilingual search in WordPress?</p>



<p>If you have a <a href="https://www.wpbeginner.com/beginners-guide/how-to-easily-create-a-multilingual-wordpress-site/" title="How to Easily Create a Multilingual WordPress Site">multilingual WordPress site</a>, then adding a multilingual search feature can help users find information more quickly by searching in their own language. </p>



<p>In this article, we&#8217;ll show you how to easily add multilingual search in WordPress and delight your users with a better user experience. </p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-multilingual-search-in-wordpress-og.png" alt="How to add multilingual search in WordPress" class="wp-image-160005" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-multilingual-search-in-wordpress-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/add-multilingual-search-in-wordpress-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>Why Should You Add Multilingual Search in WordPress?</h4>



<p>Often users have trouble finding information on multilingual websites because either there is no search feature that they can use, or the search feature shows them content in the wrong language. </p>



<p>Adding a multilingual search feature helps users easily find the content they are looking for. This improves user experience which means users will stay longer on your website. </p>



<p>Research shows that engaged users are more likely to convert, subscribe, or make a buying decision. </p>



<p>That being said, let&#8217;s take a look at how to easily add a multilingual search in WordPress without breaking your website or writing any code. </p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-multilingual-search-in-wordpress/#aioseo-method-1-adding-multilingual-search-using-translatepress">Method 1: Adding Multilingual Search Using TranslatePress</a></li><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-multilingual-search-in-wordpress/#aioseo-method-2-adding-multilingual-search-using-searchwp">Method 2: Adding Multilingual Search Using SearchWP (Recommended)</a></li></ul></div>



<h4 id="aioseo-method-1-adding-multilingual-search-using-translatepress">Method 1: Adding Multilingual Search Using TranslatePress</h4>



<p>If you haven&#8217;t made your multilingual website yet, or already using TranslatePress, then this method is for you. </p>



<p><a href="https://www.wpbeginner.com/refer/translatepress/" title="TranslatePress"  rel="noopener nofollow">TranslatePress</a> is the <a href="https://www.wpbeginner.com/showcase/9-best-translation-plugins-for-wordpress-websites/" title="9 Best WordPress Translation Plugins for Multilingual Websites">best WordPress translation plugin</a> on the market. It allows you to easily create a multilingual website using a live editor for quick and easier translation. </p>



<p>It works out of the box and allows default WordPress search to display multilingual results. </p>



<p>The disadvantage of this method is that it uses the default WordPress feature which is not very good at fetching the right results. </p>



<p>If you haven&#8217;t used TranslatePress before or need help, then see our tutorial on how to easily <a href="https://www.wpbeginner.com/beginners-guide/how-to-easily-create-a-multilingual-wordpress-site/" title="create a multilingual WordPress website">create a multilingual WordPress website</a>. </p>


<div class="wpb-alert style-yellow">

<p><strong>Note:</strong> Keep in mind that the free version of TranslatePress only allows you to translate your website into one other language. So if you want to add multilingual search in WordPress for more than two languages, then you&#8217;d need to buy the <a href="https://www.wpbeginner.com/refer/translatepress/"  rel="noopener nofollow" title="TranslatePress ">TranslatePress Premium</a> version.  </p>

</div>


<p>Once you have translated some content on your WordPress website. It is time to add the search form. </p>



<p id="aioseo-step-2-add-a-search-block-to-your-wordpress-site"><strong>Add a Search Block to your WordPress Site</strong> </p>



<p>WordPress comes with a built-in search block that you can add anywhere on your website.  </p>



<p>If you&#8217;re using a <a href="https://www.wpbeginner.com/showcase/best-wordpress-full-site-editing-themes/" title="21 Best Block Themes for Full Site Editing in WordPress (2022)">block-based theme</a> like <a href="https://www.wpbeginner.com/refer/themify-ultra/"  rel="noopener nofollow" title="Themify Ultra">Ultra</a>, then you&#8217;ll be using the full site editor to add the search block. </p>



<p>Simply visit the <strong>Appearance » Editor </strong>page from the WordPress dashboard.</p>



<p>This will launch the full site editor which looks a lot like the block editor you use for writing posts and pages. </p>



<p>Now, click on the add block button (+)  to add the Search block.</p>



<figure class="wp-block-image size-full"><img width="680" height="326" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-search-block-2.png" alt="Adding search block in site editor" class="wp-image-164656" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-search-block-2.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/add-search-block-2-300x144.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You can move the search block up and down to display it anywhere on the page. </p>



<p>Search block also comes with a few style options that you can choose from the block toolbar or settings. </p>



<figure class="wp-block-image size-full"><img width="680" height="297" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-block-settings.png" alt="Search block settings" class="wp-image-164660" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-block-settings.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/search-block-settings-300x131.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Once you are finished, don&#8217;t forget to click on the Save button to save your changes. </p>



<p>You can now visit your website to see the search form in action. </p>



<figure class="wp-block-image size-full"><img width="680" height="299" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-form-preview.png" alt="Search form preview" class="wp-image-164661" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-form-preview.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/search-form-preview-300x132.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>On the other hand, if you&#8217;re using a theme that does not support the full-site editor, then you can add a search form as a widget. </p>



<p>Simply go to the <strong>Appearance » Widgets</strong> page from the WordPress admin dashboard.</p>



<p>Here, click the Add widget block button (+)  and add the Search block to your widget area. </p>



<figure class="wp-block-image size-full"><img width="680" height="303" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-widget.png" alt="Search widget" class="wp-image-164663" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-widget.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/search-widget-300x134.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Once the &#8216;Widget Block Menu&#8217; opens up, locate the &#8216;Search&#8217; block and add it to your WordPress sidebar.</p>



<p>Don&#8217;t forget to click the &#8216;Update&#8217; button at the top to save your changes.</p>



<p>Once you&#8217;ve saved the changes, visit your site and see the search box in action. </p>



<figure class="wp-block-image size-full"><img width="680" height="254" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/website-preview-1.png" alt="Website preview" class="wp-image-164808" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/website-preview-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/website-preview-1-300x112.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4 id="aioseo-method-2-adding-multilingual-search-using-searchwp">Method 2: Adding Multilingual Search Using SearchWP (Recommended)</h4>



<p>The default WordPress search feature used by TranslatePress is not very good.  It is quite basic and only looks for search terms in certain places. </p>



<p>This is where <a href="https://searchwp.com/"  title="SearchWP - Advanced WordPress Search Plugin">SearchWP</a> comes in. </p>



<p>It is the <a href="https://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/" title="12 WordPress Search Plugins to Improve Your Site Search">best WordPress search plugin</a> on the market and allows you to easily replace the default WordPress search with a more powerful search feature. </p>



<figure class="wp-block-image size-full"><a href="https://searchwp.com/" ><img width="680" height="360" src="https://www.wpbeginner.com/wp-content/uploads/2021/02/searchwp.png" alt="SearchWP" class="wp-image-143962" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/02/searchwp.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/02/searchwp-300x159.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></a></figure>



<p>SearchWP automatically builds a search index and matches search keywords in content, title, categories, tags, shortcodes, documents, products, and more.</p>



<p>Plus, it automatically replaces the default search form upon activation so you don&#8217;t need to replace it if you were already using it on your site. </p>



<p>That being said, let&#8217;s take a look at how to easily add a better multilingual search to your WordPress site. </p>



<p>First, you need to install and activate the <a href="https://searchwp.com/"  rel="noopener nofollow" title="Install SearchWP plugin">SearchWP</a> plugin. For more information, see our guide on <a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners">how to install a WordPress plugin</a>.</p>



<p>After that, go to the&nbsp;<strong>SearchWP » Settings</strong>&nbsp;page and then click on the ‘License’ menu option to enter your license key.</p>



<p>You can get the license key from your &#8216;SearchWP Accounts&#8217; page. Simply copy the license key from there.</p>



<p>After that, paste it into the &#8216;License Key&#8217; field and then click on the Activate button.</p>



<figure class="wp-block-image size-full"><img width="680" height="332" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-wp-license-4.png" alt="SearcWP license" class="wp-image-164750" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-wp-license-4.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/search-wp-license-4-300x146.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Now, you are ready to create your first custom search engine. </p>



<p>Simply go to the <strong>SearchWP » Settings</strong> page from the dashboard.</p>



<p>From here, you will see SearchWP&#8217;s first default search engine for you. It is pre-configured to work for most websites including multilingual websites. </p>



<p>You&#8217;ll see all your post types with different attributes. Next to each attribute there will be a slide that you can move to assign weight for that attribute. </p>



<figure class="wp-block-image size-full is-resized"><img src="https://www.wpbeginner.com/wp-content/uploads/2022/12/searchwp-settings1.png" alt="SearchWP settings" class="wp-image-164794" width="550" height="272" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/searchwp-settings1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/searchwp-settings1-300x149.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<p>You can also click on the Add/Remove Attributes button to include more areas in the search. </p>



<p>For instance, you can add custom fields and taxonomies to the attributes as well. </p>



<figure class="wp-block-image size-full"><img width="680" height="308" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/addmoreattributes.png" alt="Add more attributes to search" class="wp-image-164796" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/addmoreattributes.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/addmoreattributes-300x136.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>If you are unsure about a setting, you can leave it as it is. The default options would work for more use cases. </p>



<p>Finally, click on the Save Engines button to store your settings. </p>



<p>SearchWP will now start building your search index in the background. </p>



<p>Now, all you need to do is add the search form to your site.</p>



<p><strong>Add a Search Block to your WordPress Site</strong>  </p>



<p>SearchWP replaces the built-in search feature, which means you can use the default WordPress search form and it would still use SearchWP to show the results. </p>



<p>If you haven&#8217;t already added a search form to your website, then here is how you would add it. </p>



<p>If you&#8217;re using a block-based theme, then you&#8217;ll be adding a search block using a full-site editor.</p>



<p>Simply go to the <strong>Appearance » Editor </strong>page from the admin dashboard.</p>



<p>On the edit screen, click on the add block button (+) at the top and add the search block. </p>



<p>You can move the search block to the area where you want to display the search form by moving it up or down. </p>



<figure class="wp-block-image size-full"><img width="680" height="326" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-search-block-2.png" alt="Adding search block in site editor" class="wp-image-164656" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/add-search-block-2.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/add-search-block-2-300x144.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Finally, don’t forget to click on the Save button to save your changes.</p>



<p>If you&#8217;re using a theme that doesn&#8217;t support the full-site editor, then you&#8217;ll need to add a search widget to your website&#8217;s sidebar or widget-ready area. </p>



<p>For that, head over to the&nbsp;<strong>Appearance » Widgets</strong>&nbsp;page from the dashboard.</p>



<p>Now click on the add block button (+) at the top to open up the &#8216;Widget Block Menu&#8217;.</p>



<p>From here, locate and add the Search widget to your preferred widget area.</p>



<figure class="wp-block-image size-full"><img width="680" height="303" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-widget.png" alt="Search widget" class="wp-image-164663" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/search-widget.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/search-widget-300x134.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Don’t forget to click the ‘Update’ button at the top to save your changes.</p>



<p>Next, simply visit your website and use your improved search box.</p>



<figure class="wp-block-image size-full"><img width="680" height="254" src="https://www.wpbeginner.com/wp-content/uploads/2022/12/website-preview-1.png" alt="Website preview" class="wp-image-164808" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/12/website-preview-1.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/12/website-preview-1-300x112.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>For more information and detailed instructions, take a look at our guide on <a href="https://www.wpbeginner.com/plugins/improve-wordpress-search-searchwp/" title="How to Improve WordPress Search with SearchWP (Quick &amp; Easy)">how to improve WordPress search using SearchWP</a>. </p>



<p>We hope this article helped you learn how to add multilingual search in WordPress. You may also want to check out our tutorial on <a href="https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-search-not-working-common-errors/" title="How to Fix WordPress Search Not Working (5 Common Errors)">how to fix WordPress search errors</a>, and our article on <a href="https://www.wpbeginner.com/wp-tutorials/how-to-create-a-multilingual-sitemap-in-wordpress/" title="How to Easily Create a Multilingual Sitemap in WordPress">how to create a multilingual sitemap in WordPress</a>.</p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-multilingual-search-in-wordpress/">How to Add Multilingual Search in WordPress (2 Ways)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/wordpress-plugins/how-to-add-multilingual-search-in-wordpress-2-ways/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
