EDITS.WS

Tag: WordPress Plugins

  • How to Add Image Icons With Navigation Menus in WordPress

    Do you want to add image icons to your WordPress navigation menus?

    Images can help visitors understand your site’s navigation at a glance. You can even use icons to highlight the menu’s most important content or call to action.

    In this article, we will show you how to add image icons to navigation menus in WordPress. 

    How to add image icons to navigation menus in WordPress

    Why Add Image Icons With Navigation Menus in WordPress?

    Usually, WordPress navigation menus are plain text links. These links work for most websites, but they don’t always look interesting or engaging. 

    By adding image icons to the navigation menu, you can encourage visitors to pay attention to the menu and explore more of your site.

    An example of image icons in a WordPress navigation menu

    If your menu has lots of different options, then image icons can make it easier for visitors to scan the content and find what they’re looking for. This can be an easy way to increase pageviews and reduce bounce rate in WordPress

    You might even use an image icon to highlight the most important menu item, such as the Checkout link on your online marketplace

    An example of an image icon on an eCommerce site

    By highlighting a call to action in the menu bar, you can often get more signups, sales, members, and other conversions.

    With that being said, let’s see how you can add image icons to your WordPress navigation menu. Simply use the quick links below to jump straight to the method you want to use.

    Method 1: Add Image Icons to Navigation Menus Using a Plugin (Quick and Easy)

    The easiest way to add image icons to your WordPress menus is by using the Menu Image plugin. This plugin comes with dashicon icons that you can add with just a few clicks.

    An example of a navigation menu, with image icons

    If you have added Font Awesome icons to your website, then you can use them with this free plugin. For more information on how to set up Font Awesome, see our guide on how to easily add icon fonts to your WordPress theme.

    If you want to use your own icon files, then Menu Image also lets you select an image or icon from the WordPress media library.

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

    Upon activation, click on Menu Image in the WordPress dashboard. On this screen, you can choose whether to get security and feature notifications or click on the ‘Skip’ button.

    How to add icons to a WordPress menu using a free plugin

    This will take you to a screen where you can configure the plugin’s settings. To start, you’ll see all the different sizes you can use for the image icons.

    If you plan to use icons from Font Awesome or dashicons, then Menu Image will resize them automatically. However, if you use images from the media library, then you’ll need to select the size manually.

    The plugin supports the default WordPress image sizes, such as thumbnail, image, and large. It also adds three unique sizes that are set to 24×24, 36×36, and 48×48 pixels by default.

    Changing the size of image icons in WordPress menus

    These settings should work well for most websites, but you can make the icons bigger or smaller by typing in different numbers for 1st, 2nd, or 3rd Menu Image size.

    When you’re adding icons to your menu, you’ll see an ‘image on hover’ field by default. This allows you to show a different icon when the visitor hovers over that menu item.

    Just be aware this setting is only available when you’re using your own images. You don’t need to worry about the ‘image on hover’ feature if you plan to use dashicons or Font Awesome icons.

    Showing a different icon can help visitors see where they are in the navigation menu. This is particularly useful if a menu has lots of different items. For example, you might use different colors or icon sizes to highlight the currently-selected menu item.

    If you want to try different hover effects, then make sure you check ‘Enable the image on hover field.’

    Adding a hover effect to image icons in a WordPress menu

    With that done, click on ‘Save Changes’ to store your settings.

    To add icons to the navigation menu, head over to Appearance » Menus. By default, WordPress will show your site’s primary menu.

    Editing a WordPress navigation menu

    If you want to edit a different menu, then simply open the ‘Select a menu to edit’ dropdown and choose a menu from the list. After that, click on ‘Select.’

    Now, find the first menu item where you want to add an icon and give it a click. Then, simply select the new ‘Add Image / Icon’ button.

    Adding an image icon to a WordPress navigation menu

    You can now decide whether to use your own image or choose an icon.

    To use a ready-made icon, click on the radio button next to ‘Icons.’ You can then click to select any dashicon or Font Awesome icon.

    Adding a dashicon icon to a WordPress menu

    Do you want to use your own images instead?

    Then select the radio button next to ‘Image’ and click the ‘Set Image’ link.

    Adding WordPress media library images to a navigation menu

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

    If you checked ‘Enable the image on hover field’ in the plugin’s settings, then you’ll also need to click on ‘Set image on hover.’

    Adding an 'on hover' animation a WordPress image icon

    Now, choose an image to show when the user hovers over this menu item.

    Sometimes, you may want to ignore this setting and show the same icon no matter what. To do this, click on ‘Set image on hover’ and then choose the exact same image.

    If you don’t do this, then the icon will disappear when the visitor hovers over it.

    How to add image icons with navigation menus in WordPress

    After that, open the Image Size dropdown and choose a size from the list. Using the same size for all icons tends to make the menu look more organized.

    However, you might make the menu’s most important icon bigger. For example, if you’ve created an online store using a plugin like WooCommerce, then you might use a bigger icon for ‘Checkout’ so it stands out.

    When you’re happy with the icon, it’s time to look at the menu item’s label.

    By default, the plugin shows the title label after the icon.

    Customizing the navigation menus on your website or blog

    To change this, select any of the radio buttons in the ‘Title position’ section.

    Another option is to remove the navigation label completely, creating an icon-only menu. This can prevent a menu with a lot of items from looking cluttered.

    However, you should only hide the labels if it’s obvious what each icon means. If it’s unclear, then visitors will struggle to navigate your WordPress blog or website.

    To go ahead and hide the label, select the radio button next to ‘None.’

    Hiding the navigation labels on your menu

    When you’re happy with how the menu item is set up, click on ‘Save Changes.’

    To add an icon to other menu items, simply follow the same process described above.

    When you’ve finished, don’t forget to click on the ‘Save Menu’ button. Now, if you visit your website you’ll see the updated navigation menu live.

    Method 2: Add Icons to WordPress Menus Using Code (More Customizable)

    You can also add image icons to your navigation menus using custom CSS. This gives you more flexibility to control exactly where the icons appear in your menus.

    However, it does require you to add custom code in WordPress, so it’s recommended for more intermediate or advanced WordPress users.

    An example of a navigation menu with image icons

    Before you start, go ahead and upload all your image files to the WordPress media library. For each image, make sure you copy its URL and paste it into a text editor like Notepad. You’ll need to use the links in your code, so this can save you a lot of time.

    To find an image’s URL, simply select it in the WordPress media library and then look at the ‘File URL’ field.

    Get the URL of an image in the WordPress media library

    For more detailed instructions, please see our guide on how to get the URL of images you upload in WordPress.

    After that, go to Appearance » Menus.

    How to add a WordPress navigation menu to your site or blog

    Next, open the ‘Select a menu to edit’ dropdown and choose the menu where you want to add the image icons.

    After that, go ahead and click on ‘Select.’

    Editing a menu on your website or blog

    Next, you need to enable custom CSS classes by clicking on ‘Screen Options.’

    In the panel that appears, check the box next to ‘CSS Classes.’

    Add custom CSS classes to your website

    With that done, you can add custom CSS classes to any item in the navigation menu. This is how you will link each menu item to an image in the WordPress media library.

    You can call these classes anything you want, but it’s a good idea to use something that helps you identify the menu item.

    To get started, simply click on the first item you want to add an image icon to. In the ‘CSS Classes (optional)’ field, type in the class name you want to use.

    Adding custom CSS code to a menu

    You’ll use these custom CSS classes in the next step, so make a note of them in your Notepad or similar app.

    Simply follow the same process to add a separate class to all your menu items. After that, click on ‘Save Menu’ to store your settings.

    Note: Each icon will be tied to its own CSS class, so be sure to label the menu items differently if you want to use separate icons.

    Publishing a menu with image icons

    Now you’re ready to add image icons to your WordPress navigation menus using CSS.

    Often, WordPress tutorials will tell you to add code snippets to your WordPress theme files. However, doing so may cause common WordPress errors and isn’t very beginner-friendly.

    That’s why we recommend WPCode.

    WPCode is the most popular code snippets plugin used by over 1 million WordPress websites. It allows you to add custom code without editing your theme’s functions.php file.

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

    Upon activation, head over to Code Snippets » Add Snippet.

    Adding a code snippet to your website using WPCode

    Here, simply hover your mouse over ‘Add Your Custom Code.’

    When it appears, click on ‘Use snippet.’

    How to add custom snippets to a website or blog

    To start, type in a title for the custom code snippet. This can be anything that helps you identify the snippet in the WordPress dashboard.

    With that done, open the ‘Code Type’ dropdown and select ‘CSS Snippet.’

    Adding custom code to WordPress using WPCode

    In the code editor, you’ll need to add some code for every icon you want to show.

    To help you out, we’ve created a sample snippet below. You can go ahead and change ‘.carticon’ to the custom CSS class you created in the previous step. You’ll also need to replace the URL with a link to the image in your WordPress media library:

    .carticon {
    background-image: url('https://localhost:10013/wp-content/my-media/cartcheckout.png');
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 5px;
    }
    

    Note: You will need to keep the dot ‘.’ in front of the CSS class in the code snippet. That’s what tells WordPress that it’s a class and not another kind of CSS selector.

    You will need to adjust the snippet above for each individual menu item you created above. You can simply paste them all into the ‘Code Preview’ field.

    When you’re happy with your code, scroll to the ‘Insertion’ section. WPCode can add code to different locations, such as after every post, frontend only, or admin only.

    You want to use the custom CSS code across our entire WordPress website, so click on ‘Auto Insert’ if it isn’t already selected.

    Then, open the ‘Location’ dropdown menu and choose ‘Site Wide Header.’

    Inserting custom code across your website

    After that, you’re ready to scroll to the top of the screen and click on the ‘Inactive’ toggle, so it changes to ‘Active.’

    Finally, click on ‘Save Snippet’ to make the custom CSS live.

    How to add custom CSS code to WordPress easily

    Now, if you visit your website you’ll see all the image icons in your navigation menu.

    Depending on your theme, you may need to tweak the CSS so it shows the image icons in exactly the right spot. If this is the case, then head to Code Snippets » Code Snippets in the WordPress dashboard.

    Then, simply hover over the snippet and click on the ‘Edit’ link when it appears.

    Editing a code snippet using WPCode

    This opens the code editor, ready for you to make some changes.

    We hope this article helped you learn how to add image icons to your WordPress navigation menu. You can also go through our guide on the best drag-and-drop WordPress page builders and how to make money online blogging with 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 Add Image Icons With Navigation Menus in WordPress first appeared on WPBeginner.

  • 15 Most Popular Digital Products You Can Sell Online in 2023

    Are you looking for popular digital product ideas to sell online?

    In today’s creator economy, there are many opportunities to make money online. You can sell items like music files, videos, blog posts, eBooks, software, apps, podcasts, premium content, and more.

    In this article, we will share the most popular digital products that you can sell online.

    Most popular digital products you can sell online

    What are Digital Products?

    A digital product is essentially anything that you can buy, download, and use on a device such as a computer or mobile phone. For example, ebooks, software, videos, music, online courses, and more can be digital products that you can purchase at an online store.

    They are delivered to you electronically, usually through a direct download in your user dashboard or in an email with a download link inside. In general, you can easily access them anytime or anywhere.

    Why Sell Digital Products Online?

    Digital products have a lot of advantages compared to selling physical products.

    First, you don’t have to worry about keeping inventory and meeting supply or demand requirements. Once you create a digital product, you can sell it again and again.

    This also relieves you of any storage issues. Some physical products need to be kept at a warehouse and may require special storage conditions like refrigeration, which can be costly. On the other hand, you don’t have to worry about storing your digital products.

    Besides that, you get to generate a passive income stream with digital goods and easily grow your sales. They also help reach a wider audience across the globe, as people from around the world can buy your digital products.

    That said, let’s look at some of the most popular digital products you can sell online today.

    1. eBooks

    Sell ebooks online

    eBooks are a great digital product to have, and you can write about any topic you like. The best part, once you’ve created an ebook, you can simply market it and earn passive income.

    Now, if you have a WordPress blog or write articles regularly on any other platform, then you can repurpose the content for your ebook.

    For instance, your most popular guides would already have enough content to be converted into an ebook. Or you can combine several blog posts into an ebook about a particular topic.

    Once you’re done with the writing part, you can then add the ebook to your WordPress site so people can download it.

    You can follow our guide on how to create and sell ebooks in WordPress from start to finish.

    2. Online Courses

    Online course digital product

    The next most popular digital product you can sell is online courses. People are always looking to improve their skillset and learn new things.

    You can use this opportunity to share your expertise and teach other people through a virtual classroom. For example, if you’re a fitness instructor, then you can create an online course and teach people different exercises.

    The best part, you need very little investment and no technical knowledge to create online courses.

    There are many tools in the market that can help you get started in no time. All you need is a domain name for your site, WordPress website hosting, and a learning management system (LMS) plugin.

    LMS software like MemberPress or Thrive Apprentice makes it super easy to create interactive courses without editing code. Plus, you can manage students and course material, offer quizzes, and more.

    You can learn more by following our guide on how to create and sell online courses in WordPress.

    3. Premium Memberships

    Create a membership site

    Just like ebooks and online courses, a membership website is another simple way of making money online. You can sell premium memberships with access to exclusive content and community features.

    For example, you can lock specific guides, cheat sheets, interviews, videos, podcasts, newsletters, and other content behind premium memberships.

    On the other hand, you can offer exclusive entry to different communities, like a forum, Slack channel, or Facebook group, through a membership site.

    What’s great about memberships is that you don’t have to rely on advertising revenue. You can allow your website visitors to support your site and generate continuous income.

    There are many membership plugins and tools you can use to get started. For instance, MemberPress lets you restrict access to content, integrate different payment services, create unlimited membership levels, allow drip content, and more.

    To start selling memberships, you can see our step-by-step guide on creating a WordPress membership site.

    4. Tutorials and Guides

    Tutorial and guides

    You can also sell individual guides and tutorials as digital products. This is a great way to earn more money if you have long articles or multiple blog posts on a particular topic.

    Simply turn your guides into a downloadable file like a PDF document. You can then charge a fee to visitors who are willing to purchase your content.

    For example, let’s say you have a detailed guide on email marketing. You can turn that guide into a PDF file and sell it as a digital product.

    There are many WordPress eCommerce platforms you can use to sell digital products. We recommend using Easy Digital Downloads because it is beginner friendly, offers a shopping cart, easily integrates with payment gateways, and more.

    You can learn more by going through our guide on how to sell digital downloads on WordPress.

    5. Spreadsheets

    Spreadsheets and cheatsheet

    Spreadsheets are another type of digital product you can sell on your website and generate revenue. You can create all types of useful spreadsheets for your audience.

    For example, let’s say you have expertise in search engine optimization (SEO). You can create a technical SEO checklist for beginners and offer that as a paid spreadsheet. Similarly, you can create checklists, templates, calculators, lists, and other types of spreadsheets.

    The best part is that you don’t need any investment to create a spreadsheet. Plus, it helps offer evergreen content that can you use to generate leads and a passive income stream.

    You can check out our guide on how to sell spreadsheets online for more details.

    6. WordPress Plugins

    Create WordPress plugins

    You can also create WordPress plugins and sell them as digital products.

    WordPress is open-source software, and it powers over 43% of the website on the internet. There are over 60,000 WordPress plugins that include free and paid options. This shows that there is a huge potential to create a plugin that generates revenue.

    Usually, you need basic coding knowledge like PHP, CSS, HTML, and JavaScript to write a plugin. For more details, you can see our step-by-step guide on how to create a WordPress plugin.

    You can also hire a developer to help you create a plugin. There are many WordPress developer job websites where you can post an opening and hire the right talent for a specific project.

    If you’re willing to take on a DIY project, then you can also use a plugin called Pluginception. It lets you create a WordPress plugin from the WordPress dashboard. To learn more, please follow our guide on how to create a WordPress plugin using a plugin.

    7. Software and Mobile Apps

    Build an app and software

    Just like WordPress plugins, you can also create software and mobile apps. There are many SaaS (software as a service) products that you can create for any niche. It can be productivity software, workout apps, games, and more.

    Usually, SaaS products have a recurring subscription. This means that you’ll need to generate income on a monthly or annual basis.

    Since creating such software and apps requires specific skills, you might need to hire developers. This process can be expensive because you’ll need investment for creating software or purchasing an existing one ($15,000 and upwards).

    As an alternative, you can convert your WordPress websites into mobile apps and monetize them. There are tools and plugins that can turn your site into an app. For example, let’s say you have a membership site. Converting it into an app will help you attract mobile users and sell it as a digital product.

    On the other hand, you can also join affiliate programs and earn a commission on each sale. You can create a WordPress blog to review different software and apps and promote them as affiliates. Or you could create an online store using affiliates.

    For more information, check out our ultimate guide to affiliate marketing for beginners.

    8. Website Themes

    Website themes

    Similarly, you can make WordPress themes and sell them online. Themes are necessary for every WordPress user, and often users look for themes that offer specific features and customization options.

    There are many platforms where you can sell website themes. Some of these include Enavto, Themeforest, CodeCanyon, and Creative Market.

    You can also list a free version of your theme on the WordPress.org theme directory. From here, you can encourage users to upgrade to a premium version to unlock more features.

    We recommend selling the digital products on your own websites instead of a marketplace like Envato because they charge a large commission on every sale without much benefit.

    You can use an eCommerce solution like Easy Digital Downloads to create your own digital store.

    9. Digital Art and Graphics

    Digital art

    If you’re a graphic designer or an artist, then you can create a variety of digital products and sell them online.

    For example, you can create logos, design templates, original digital artwork, clip art, patterns, brushes, backgrounds, icons, fonts, shapes, and more.

    Besides that, creating assets for different photo editing software like Adobe PhotoShop, Canva, Affinity Designer, and Affinity Photo can also help you make money online.

    To get started, please follow our guide on how to sell digital art and graphics online.

    10. Photographs

    Photography

    Another great digital product you can sell online is photography. Many people look for images that they can use for their WordPress websites and blogs.

    There are different types of photos you can sell. Some of these include stock photos, event pictures, portraits, drone images, backgrounds, and more.

    Now, you can sell your images to different stock photo sites, like Shutterstock, 500px, iStock Photo, Adobe Stock, and more. Each of these websites has a payment structure where they’ll share a percentage of direct sales or give you a royalty fee.

    On the other hand, you can create your own photography website and sell your images there. This way, you don’t have to share the profits with another third party and have more control over your images.

    To help you get started, check out some useful WordPress plugins for photographs.

    11. Videos

    Create videos

    Videos are the next digital products on our list that you can sell online.

    For example, videos like drone footage, stock videos, online training, product reviews, video game reviews, and gameplay footage are some of the ideas you can use to create a video-based digital product.

    One of the easiest ways of monetizing your videos is by creating a video membership site. This way, you don’t have to rely on ad revenue from other platforms and get recurring payments from users who pay to access your content.

    12. Recipes

    Create recipes and cookbook

    Are you a chef, a home cook, or a food blogger? If you do, then you can sell recipes as digital products.

    The food industry is worth trillions of dollars and is very competitive. However, you can find a niche that your audience likes and share recipes to earn money.

    For instance, you can start a food blog and offer premium recipes for subscribers. Or you could combine multiple recipes into an ebook and sell that as a digital product.

    Plus, you can offer cooking courses and other premium content by creating a membership site. We recommend MemberPress for this sort of site, as it’s the best plugin for that on the market.

    13. Podcasts

    Podcast

    Podcasts are audio shows that users can subscribe to. They are generally made up of audio files that listeners can download or stream to listen to.

    There are many topics you can create a podcast on. For example, if your topic is music, then you can narrow it down to a specific genre. Similarly, if you’re into sports, then you can create a podcast on football.

    Another great way of selling podcasts is by inviting industry experts and serving it as a masterclass. You can charge a premium or only offer these podcasts to members to generate income.

    Many podcasters rely on their communities supporting them, whether that’s through a service like Patreon or creating their own membership site.

    For more details, you can follow our guide on how to start a podcast and make it successful.

    14. Professional Services and Coaching

    Professional services

    You can also sell your expertise as a digital product and help other businesses.

    For example, if you’re a copywriter, graphic designer, social media expert, developer, fitness coach, legal professional, translator, SEO expert, offer technical support through live chat, or any type of consultant, then you can offer your services to others for a fee.

    Now, you can sign up for different freelancing websites like Upwork, or create your own site. From here, simply market your expertise on social media platforms and build a following to get more projects and clients.

    15. Research and Data

    Research data

    Do you conduct industry-wide surveys, polls, and research? If yes, then you can create digital products and sell the research data.

    Many businesses are looking for insights into their industry. They want to better understand their audience and find out what they like or don’t like.

    You can carry out research on popular topics, collaborate with companies, or simply run a survey to gather data. After that, you can create a report, add it to your website, and sell it to consumers.

    If you have a membership website, then you can also offer research and data to subscribers.

    For examples, see some of our research articles we offer for free here at WPBeginner:

    Bonus: Plugins and Tools to Market Your Digital Products

    Now that you know some of the most popular digital products to sell online, you’ll also need to market them to your customers.

    Here’s a list of WordPress plugins and tools that you can use to promote your product and boost conversions:

    • OptinMonster – It is the best lead generation and popup plugin for WordPress. You can create different campaigns and use smart targeting rules to promote digital products and increase conversions.
    • WPForms – This is the best WordPress form plugin. You can use it to create an order form, payment form, and more.
    • All in One SEO (AIOSEO) – The plugin helps you optimize your website for search engines. This way, you get to improve search engine rankings, attract more organic visitors to your site, and boost sales of your digital products.
    • MonsterInsights – It is the best Google Analytics plugin for WordPress. Using the plugin, you can track your digital products performance, which files get the most downloads, uncover the most popular products, and track eCommerce revenue without editing code.
    • PushEngage – This is a push notification software for WordPress and allows you to send personalized web notifications to customers about new products, promotions, sales, etc.
    • WP Simple Pay – You can collect online payments on your website using this plugin. The best part, you don’t have to set up a shopping cart to sell digital products while using WP Simple Pay.

    We hope this article helped you find the most popular digital products to sell online. You may also want to see our guide on low-cost and easy online business ideas that make money and the best email marketing tools to promote your digital products.

    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 15 Most Popular Digital Products You Can Sell Online in 2023 first appeared on WPBeginner.

  • 7 Best WordPress Database Optimization Plugins in 2023

    Every WordPress website has a unique database. It contains all of the information on your website, from user data to comments, posts, and more. As your site grows, so does its database, and in many cases, you’ll end up storing a lot of information well beyond the point that it’s useful. This can slow down your site unnecessarily.

    In this article, we’ll introduce you to seven of the best WordPress database optimization plugins you can use to keep your site lean and fast. We’ve chosen them based on their performance, configuration options, ratings and reviews, and support from their developers.

    Let’s get to it!

    Subscribe To Our Youtube Channel

    Why Do I Need a Database Optimization Plugin?

    Every time you revise a post, delete a post or plugin, useless data takes up valuable space in your site’s database. Without regular maintenance, you database can get clogged, causing your site to down down dramatically. You see, the larger your database is, the longer it takes your web server to search and load information from the database tables.

    This is where a database optimization can help. Once installed, you can clean out unnecessary pieces of data to make your WordPress site run faster and smoother.

    The Best WordPress Database Optimization Plugins

    While there are many database optimization tools available for WordPress, there are some that stand out from the crowd. Our carefully curated list features only the best of the best, including tools that can perform multiple functions to keep your site’s speed running smoothly and your database clutter-free.

    Let’s go!

    1. WP-Optimize

    The WP-Optimize plugin

    First on our list, WP-Optimize is an all-in-one WordPress optimization plugin. It includes tools to help you clean up your database, minify scripts, enable lazy loading, perform image optimization, and more.

    If you’re using WP-Optimize for database optimization, you can choose what information the plugin will try to clean up. For example, you can configure it to clear out old post revisions, erase trashed posts, remove spam comments, and more:

    Cleaning up your database using WP-Optimize

    This plugin also lets you identify orphaned tables within your database and delete them manually.

    However, one feature that is missing is the ability to create database backups before you run optimizations. WP-Optimize addresses that problem by integrating with the UpdraftPlus plugin. If you use UpdraftPlus as well, WP-Optimize includes settings that will automate database backups before you run a cleanup.

    Key Features for WP-Optimize:

    • Choose what parts of your WordPress database to optimize
    • Identify and remove orphaned tables within the database
    • Configure your site’s caching settings
    • Enable lazy loading
    • Automate image optimization
    • Minify scripts on your website
    • Integrate the plugin with UpdraftPlus to take care of database backups

    WP-Optimize is for you if…

    …you want a plugin that doesn’t just help you optimize your database, but multiple aspects of your WordPress website. It’s also a solid pick if you’re already using UpdraftPlus.

    Price: Free, with premium licenses starting at $49 per year.

    Get WP-Optimize

    2. Litespeed Cache

    Litespeed cache plugin

    Litespeed Cache is not just one of the best caching plugins for WordPress, it is also a fully functional database cleaner and optimizer. In addition to its ability to optimize tables in your database, Litespeed Cache can clean post revisions, auto drafts, trashed posts, spam comments, and more.

    LiteSpeed database optimizer

    Litespeed offers a range of benefits for optimizing your data, but perhaps its biggest advantage is it’s powerful site caching capabilities. With Litespeed, you’ll have access to a host of features designed to optimize the performance of your website, including support for content delivery networks (CDNs), multi-level page caching, minification of CSS, JavaScript, and HTML, browser cache support, and even the ability to lazy load images. These features enable Litespeed to handle site caching like a boss.

    Key Features for Lightspeed Cache:

    • Stellar database table optimization
    • Ability to clean post revisions, trashed posts, spam comments, and more
    • Speeds up database queries
    • Combines caching, CDN, and database optimization into one plugin

    Litespeed Cache is for you if…
    …you’re looking for an all-in-one solution for database and image optimization, CDN support, and site caching. With its comprehensive suite of both database and caching features, Litespeed Cache is an indispensable tool for keeping your WordPress site running smoothly and efficiently.

    Price: Free

    Get Litespeed Cache

    3. Advanced Database Cleaner

    The Advanced Database Cleaner plugin

    Advanced Database Cleaner gives you an overview of what elements you can safely remove from your database to keep it lean. You can also use it to delete tables and cron jobs from your website.

    One standout feature this plugin offers is the option to ignore some of the most recent changes to your database when cleaning it up. You can tell the plugin to keep data from the last “X” days for each type of element it optimizes:

    Configuring Advanced Database Cleaner to keep recent data

    Advanced Database Cleaner also lets you schedule database optimization processes, and configure multiple tasks to run later on. For example, you can schedule the plugin to clean posts within your trash weekly, and have it delete post revisions monthly.

    Key Features for Advanced Database Cleaner:

    • Remove unnecessary information from your database
    • Clean up tables and cron jobs
    • Exclude recent data from cleanups
    • Schedule multiple database cleanups in advance

    Advanced Database Cleaner is for you if…

    …you want a plugin that enables you to set up recurring database optimization processes. Plus, you get full control over what data you want to optimize and when which makes this one of the best WordPress database optimization plugins for advanced users.

    Price: Free, with premium licenses starting at $39 one-time payment.

    Get Advanced Database Cleaner

    4. Optimize Database After Deleting Revisions

    Optimize Database after Deleting Revisions plugin

    Optimize Database After Deleting Revisions does much more than its name implies. By default, this plugin will help you delete revisions for all of the post types on your website. However, you can also configure it to help you optimize your database by deleting items in the trash, unused tags, spam content, and more:

    one-click database optimization

    You can use this tool to configure scheduled optimizations, and it can also help you delete specific tables from your database. However, it doesn’t tell you which custom tables correspond to which plugins, which makes using that feature a bit risky unless you know what you’re doing.

    Key Features for Optimize Database After Deleting Revisions:

    • Delete post revisions for all of your WordPress post types (or specific ones)
    • Preserve recent revisions
    • Configure how many revisions you want to keep for your posts
    • Schedule database optimizations
    • Delete specific tables from your database

    Optimize Database After Deleting Revisions is for you if…
    …you run a website with a hectic posting schedule. Post revisions can quickly add up if you publish a lot of content, and this plugin can help you optimize your database by keeping unnecessary revisions down to a minimum.

    Price:Free

    Get Optimize Database After Deleting Revisions

    5. WP-Sweep

    WP-Sweep database plugin

    WP-Sweep enables you to optimize your WordPress database by “sweeping” everything from revisions to automatic drafts, deleted posts, spam comments, orphaned users, and more. As with many of the other best WordPress database optimization plugins, you can choose what data to clean up or to do a full sweep:

    database sweep

    One downside of using WP-Sweep is that it doesn’t enable you to select specific tables or elements to optimize automatically. Instead, you can either perform a complete sweep or clean up individual elements manually.

    Key Features for WP-Sweep:

    • Clean specific types of elements from your database
    • Do a full “sweep” of your database and optimize all of its tables

    WP-Sweep is for you if…

    …you want a tool that enables you to perform one-click database optimization and offers the option to clean up individual tables manually.

    Price: Free

    Get WP-Sweep

    6. WP Reset

    The WP Reset plugin

    Sometimes, the best way to optimize your WordPress database is to start from scratch. If you want to re-launch your website and start over, you’ll need to clean up its database, which is precisely what WP Reset does:

    site reset

    With this plugin, you can wipe most of the information from your database, while preserving key elements such as your admin user account, basic site configuration (such as your WordPress address and indexing settings), plugins, and themes. In short, the plugin lets you delete all of the content from your site without overwriting your WordPress installation.

    Key Features for WP Reset:

    • Reset your WordPress database
    • Preserve key data such as your admin user account

    WP Reset is for you if…

    …you want to start over with your website without re-installing WordPress, your plugins, and your themes.

    Price: Free, with premium licenses starting at $79 per year.

    Get WP Reset

    7. Database Backup for WordPress

    The Database Backup for WordPress plugin

    This last plugin is a little different. When you back up your WordPress website, you not only make a copy of its files but also of its database. Without a database backup, you’re liable to lose most of your website’s content if you have to restore it.

    Moreover, if you’re planning to optimize your database by deleting some tables, it’s always a smart move to create a backup beforehand. That’s precisely what Database Backup for WordPress enables you to do:

    Creating a database backup

    It helps you back up your core WordPress tables (while excluding revisions and spam comments). However, you can also add custom tables to your backups, and set up a schedule that creates new copies periodically.

    When it comes to storage, the plugin gives you the option of downloading your backup files directly or having them emailed to you. If you use its backup scheduling feature, you’ll receive those files via email.

    Key Features for Database Backup for WordPress:

    • Back up your WordPress database
    • Exclude post revisions and spam comments
    • Select which custom tables you want to include
    • Schedule backups
    • Download backup files to your computer, or configure the plugin to send them to an email address

    Database Backup for WordPress is for you if…

    …you plan on working directly with your database in any capacity. Altering your database manually or using a plugin to delete tables can wreak havoc on your website if you’re not sure what you’re doing. If you’re not already using a tool such as a backup plugin that also saves your database, Database Backup for WordPress is a key tool to have on hand.

    Price: Free

    Get Database Backup for WordPress

    Which Database Optimization Plugin Is The Best?

    Using one of the best WordPress database optimization plugins can help you clean up a lot of the unused entries and data that accumulate as your website grows. If you’ve been working on your website for a while now, these tools should help you recover some storage space and perhaps even increase your site’s performance.

    Plugin Price Free Option
    🥇 WP-Optimize Free, $49 per year ✔️ Visit
    🥈 Litespeed Cache Free ✔️ Visit
    🥉 Advanced Database Cleaner Free, $39 one-time ✔️ Visit
    4 Optimize Database After Deleting Revisions Free ✔️ Visit
    5 WP-Sweep Free ✔️ Visit
    6 WP Reset Free, $79 per year ✔️ Visit
    7 Database Backup for WordPress Free ✔️ Visit

    If you’re still not sure which plugin to use, WP-Optimize is a great all-around choice for most websites. Regardless of which solution you choose, we recommend that you also set up a backup plugin such as Updraftplus to ensure that your site’s database is fully protected.

    Do you have any questions about how to optimize your WordPress database? Let’s talk about them in the comments section below!

    Featured image illustration via FGC / shutterstock.com

    The post 7 Best WordPress Database Optimization Plugins in 2023 appeared first on Elegant Themes Blog.

  • How to Display Instagram Photos in WordPress Sidebar Widget

    Do you want to display your Instagram photos in the WordPress sidebar?

    Your Instagram posts make great content for your website. By creating an Instagram feed, you can keep your site fresh and interesting while also promoting your Instagram account.

    In this article, we’ll show you how to display your Instagram photos and videos in the WordPress sidebar widget.

    How to display Instagram photos in WordPress sidebar widget

    Why Add an Instagram Feed to Your WordPress Site?

    With more than a billion monthly active users, Instagram is a great place to promote your products, services, and blog posts.

    Depending on your industry, Instagram may even be the most important part of your social media strategy. For example, Instagram is particularly popular among top fashion blogs, cooking, lifestyle, and photography websites.

    However, people won’t see your Instagram posts if they only visit your website. This can make it difficult to grow your Instagram following and get engagement on your photos and videos.

    With that being said, it’s a good idea to add an Instagram feed to your WordPress website. By showing your latest posts, you can promote your Instagram account in an engaging and eye-catching way.

    This will get more traffic to your Instagram page and encourage visitors to interact with your posts by leaving comments, clicking on the ‘Share’ button, and more.

    The feed will also update automatically every time you make a new Instagram post, so it’s a great way to keep your website fresh.

    That being said, let’s take a look at how to easily display Instagram photos in the WordPress sidebar widget.

    How to Install an Instagram Photos Plugin

    The best way to display Instagram photos in a WordPress sidebar or similar widget is by using Smash Balloon Social Photo Feed. This free plugin lets you show photos from one or more Instagram accounts in a fully customizable feed.

    After creating a feed, you can add it to the sidebar using either a shortcode or block.

    Embedded Instagram feed example

    In this guide, we’ll be using the free version of Smash Balloon, as it has everything you need to embed an Instagram feed. However, there’s also a Pro version that allows you to display hashtag feeds, add Instagram shoppable images in WordPress, and more.

    Before getting started, you’ll need to connect your Instagram account to a Facebook page. If you have a personal Instagram account, then you may also want to turn it into a business account, as this allows Smash Balloon to show your Instagram bio and header automatically.

    For step-by-step instructions on how to do both of these things, check out our FAQ section at the end of the post.

    When you’re ready, go ahead and install and activate the Smash Balloon Social Photo Feed plugin. For more details, see our guide on how to install a WordPress plugin.

    How to Connect an Instagram Account to WordPress

    After activating the plugin, it’s time to connect your Instagram account to WordPress. Simply go to Instagram Feed » Settings and then click on ‘Add New.’

    How to create a new social media feed using Smash Balloon

    With Smash Balloon Pro, you can create feeds from tagged posts and hashtags, or even create a social wall with content from lots of different websites, including YouTube, Facebook, and Twitter.

    Since we’re using the free version, simply select ‘User Timeline’ and then click on ‘Next.’

    Smash Balloon's Instagram settings

    After that, you’ll need to choose the Instagram account where you’ll get the photos from.

    To get started, click on ‘Add Source.’

    Connecting Instagram to your WordPress website

    On the next screen, choose whether you want to display photos from a personal or business Instagram account.

    If you check the box next to ‘Personal,’ then Smash Balloon won’t include the Instagram avatar and bio in your header by default. However, you can always add the avatar and bio manually in the plugin’s settings.

    Connecting a personal or business Instagram account to WordPress

    After choosing ‘Personal’ or ‘Business,’ go ahead and click on ‘Login with Facebook.’

    You can now check the Instagram account that you want to use and click on ‘Next.’

    How to display an Instagram feed on your WordPress website

    After that, check the box next to the Facebook page that’s linked to your Instagram account.

    With that done, go ahead and click on ‘Next.’

    Choose a page to connect to WordPress

    Smash Balloon will now show a popup listing all the information it will have access to and the actions it can perform.

    To restrict Smash Balloon’s access to your Instagram account, click any of the switches to turn it from ‘Yes’ to ‘No.’ Just be aware that this may affect the photos and videos that you can embed on your WordPress blog or website.

    With that being said, we recommend leaving all the switches enabled.

    When you’re ready, click on ‘Done.’

    Adding permissions to your Facebook app

    You’ll now see a popup with the Instagram account you just linked to WordPress.

    Simply check the box next to the account and then click on ‘Add.’

    Selecting an Instagram account

    Smash Balloon will now take you back to Instagram Feeds » All Feeds automatically.

    To create a feed, simply check the box next to your Instagram account. Then, click on ‘Next.’

    How to create an Instagram social media feed

    The plugin will now create an Instagram photo feed for your website, and then open that feed in the Smash Balloon editor.

    How to Customize Your Instagram Photo Feed

    You can use the editor to fine-tune how Instagram photos look on your website.

    On the right, you’ll see a preview of your Instagram photo feed. On the left-hand side are all the settings you can use to customize the photo feed.

    Smash Balloon's Instagram feed editor

    Most of these settings are self-explanatory, but we’ll quickly cover some key areas.

    To start, you can change the feed layout and add padding by selecting ‘Feed Layout’ from the left-hand menu. As you make changes, the preview will update automatically, so you can try different settings to see what works best for your Instagram photo feed.

    Smash Balloon's Instagram feed layout settings

    By default, Smash Balloon shows the same number of posts on desktop computers and mobile devices.

    You can preview how the Instagram feed will look on desktop computers, tablets, and smartphones using the row of buttons in the upper-right corner. By testing different layouts, you can create an Instagram feed that looks great, no matter what device the visitor is using.

    Previewing your social media feed on mobile, tablets, and desktop

    Smartphones and tablets typically have smaller screens and less processing power, so you may want to show fewer photos and videos on mobile devices.

    To do this, simply type a different number into the ‘Mobile’ field under ‘Number of Posts.’

    Showing a different number of photos on mobile and desktop

    By default, the Facebook feed shows fewer columns on smartphones and tablets, compared to desktop computers. This helps your photos and videos fit comfortably on smaller screens.

    After testing the mobile version of your WordPress website, you may be unhappy with how the columns look on smartphones and tablets. If this is the case, then you can show fewer columns by changing the numbers in the ‘Columns’ section.

    Showing a different number of Instagram columns on different devices

    When you’re happy with the changes you’ve made, click on the ‘Customize’ link.

    This will take you back to the main Smash Balloon editor, where you can explore the next settings screen, which is ‘Color Scheme.’

    Adding a different color scheme to an Instagram feed in WordPress

    By default, Smash Balloon uses a color scheme inherited from your WordPress theme, but it also has ‘Light’ and ‘Dark’ themes that you can use.

    Another option is creating your own color scheme by selecting ‘Custom’ and then using the controls to change the background color, edit the button color, change the text color, and more.

    An Instagram feed with a custom color scheme

    By default, Smash Balloon adds a header to your feed, which is your Instagram profile picture and the name of your page. To change how this section looks, click on ‘Header’ in the left-hand menu.

    On this screen, you can change the size and color of the header, and show or hide your Instagram bio.

    Adding a header to the Instagram feed on your WordPress website

    Sometimes, you may want to show a different profile picture. For example, your Instagram avatar may clash with your WordPress theme.

    To do this, simply click on ‘Add Image’ under ‘Show custom avatar.’

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

    Adding a custom Instagram avatar in WordPress

    Similarly, you can show a different bio. For example, you may want to introduce your Instagram feed or encourage people to follow you for more great content.

    To replace the Instagram bio, simply type into the ‘Add custom bio’ box.

    Creating a custom social media bio for your WordPress website

    Smash Balloon automatically analyzes your Instagram photos and displays them at the best resolution. While we recommend using these default settings, it is possible to make the images bigger or smaller.

    To change the image size, click on ‘Posts’ from the left-hand menu. Then, select the ‘Images and Videos’ option.

    Changing Smash Balloon's image and video resolution settings

    You can now choose between thumbnail, medium, and full-size using the dropdown menu.

    If you’re unhappy with the results, then you can return to this screen at any point and select ‘Auto-detect (Recommended)’ from the dropdown menu.

    Smash Balloon's automatic resolution detection

    By default, Smash Balloon adds a ‘Load More’ button to the bottom of your Instagram feed, which allows visitors to scroll through more of your photos and videos.

    Since it’s such an important button, you may want to customize it by selecting the ‘Load More Button’ option from the left-hand menu.

    Customizing the social media Load More button

    Here, you can help ‘Load More stand out by changing its background color, text color, and hover state.

    You can also change the button’s label by typing into the ‘Text’ field.

    Adding your own messaging to the Instagram button

    Another option is to remove the button completely by clicking the ‘Enable’ toggle. In this way, you can encourage people to visit your Instagram by limiting the number of posts they can see on your website.

    If visitors like what they see, they may decide to follow you on Instagram using the ‘Follow on Instagram’ button that Smash Balloon adds automatically.

    With that in mind, you may want to help the button stand out by selecting ‘Follow Button’ in the left-hand menu.

    Here, you can change the button’s background color, hover state, and text color.

    Customizing the social media follow button

    By default, the button has a general ‘Follow on Instagram’ label.

    You can replace this with your own messaging by typing into the ‘Text’ field.

    How to create a custom Instagram photo feed for your WordPress website

    When you’re happy with how the Instagram feed looks, don’t forget to click on ‘Save’ to store your changes. You’re now ready to add the Instagram feed to your WordPress sidebar widget.

    How to Add Your Instagram Photos in WordPress Sidebar Widget

    You can add your feed to the sidebar or similar section using the Instagram Feed block.

    If you’ve created more than one feed using Smash Balloon, then you’ll need to know the feed’s code.

    Simply go to Instagram » All Feeds and then copy the value in the ‘Shortcode’ column.

    In the following image, we’ll need to use instagram-feed feed=1.

    Adding Instagram photos and videos using a code

    With that done, go to Appearance » Widgets in the WordPress dashboard.

    Then click on the blue ‘+’ button.

    The WordPress widget editor

    In the search bar, type in ‘Instagram Feed’ and select the right widget when it appears.

    WordPress has a built-in Instagram widget, so make sure you choose the one that shows the official Instagram logo.

    The Instagram Feed block

    After that, simply drag the widget onto the area where you want to show the Instagram feed, such as the sidebar or similar section.

    The widget will automatically show one of the feeds you created using Smash Balloon.

    To show a different feed instead, simply type the feed’s shortcode into the ‘Shortcode Settings’ box and then click on ‘Apply Changes.’

    Adding an Instagram feed to WordPress using shortcode

    You can now click on the ‘Update’ button to make the widget live. For more information, please see our step-by-step guide on how to add and use widgets in WordPress.

    If you’re using a block-enabled theme, then you can add an Instagram feed to the sidebar using the full-site editor. To get started, simply go to Appearance » Editor.

    Adding an Instagram feed using the full-site editor

    In the editor, simply click to select the sidebar section and then click on the ‘+’ button.

    You can then start typing in ‘Instagram Feed’ and select the right block when it appears.

    Adding an Instagram feed to a block-enabled WordPress theme

    By default, the full-site editor will show one of the Instagram feeds you created using Smash Balloon. To show a different feed, simply add the shortcode following the same process described above.

    When you’re happy with how the Instagram feed looks, click on ‘Save’ to make your changes live.

    How to Display a Specific Instagram Photo in WordPress

    Sometimes you may want to show a specific Instagram post on your website. This might be your most popular photo, an evergreen post, or even a social media contest that you’re currently running.

    A single Instagram post, embedded in WordPress

    In the past, you could easily embed an Instagram post in WordPress using a protocol known as oEmbed. However, Facebook changed the way that oEmbed works, so you can no longer easily embed Instagram photos in WordPress.

    The good news is that Smash Balloon can fix the Facebook and Instagram oEmbed issue. This allows you to easily embed a specific Instagram post in any page, post, or widget-ready area, such as the sidebar.

    To enable this feature, simply go to Instagram Feed » oEmbeds. You can then click on the ‘Enable’ button.

    Enabling the Facebook and Instagram oEmbed feature

    After that, go to Appearance » Widgets and click on the blue ‘+’ button.

    In the search bar, type in ‘Embed’ to find the right block.

    The WordPress Embed block

    When the ‘Embed’ block appears, drag it onto the area where you want to show the photo.

    In the ‘Embed’ field, simply paste the URL of the Instagram post that you want to show on your website. Then, click on ‘Embed.’

    Adding an embed block to your WordPress website

    WordPress will now show the specific Instagram post.

    If you’re happy with how it looks, then click on ‘Update’ to make it live.

    Publishing an Instagram photo in a sidebar widget

    Now, if you visit your website, you’ll see the Instagram post live.

    If you’re using a block-enabled theme, then you’ll need to add specific Instagram posts using the full-site editor.

    To do this, simply enable Smash Balloon’s oEmbed feature and get the Instagram post’s URL by following the same process described above.

    After that, open the full-site editor by going to Appearance » Editor in the WordPress dashboard. Once you’re inside the full-site editor, click on the ‘+’ button in the sidebar section and then type in ‘Embed.’

    Adding an Embed block using the full-site editor (FSE)

    When the right block appears, click to add it to the sidebar.

    You can then add the URL for the post you want to embed and click on the ‘Embed’ button.

    Adding an Instagram feed using an Embed block

    The full-site editor will now show the Instagram post.

    If you’re happy with how it looks, then click on ‘Save’ to publish this photo or video to the block-enabled sidebar.

    Adding a specific Instagram post to a block-enabled sidebar

    FAQs About Displaying Instagram Posts in WordPress

    Smash Balloon makes it easy to create a custom Instagram feed or even display specific Instagram posts on your WordPress website.

    That being said, here are some of the most frequently asked questions about showing Instagram posts on WordPress.

    How Do I Create an Instagram Business Account?

    Smash Balloon can display photos from either a personal or business Instagram account.

    However, Smash Balloon can’t automatically fetch the Instagram avatar and bio from a personal Instagram account. Instead, you’ll need to add the avatar and bio manually in the plugin’s settings.

    With that being said, you may want to check whether you have a personal or business account, and then switch to a business account if necessary.

    To do this, simply visit your Instagram account and click on the lined icon in the side menu.

    Checking whether your Instagram page is a business or personal account

    After that, click on ‘Settings.’

    If you don’t have a business account, then this screen will show ‘Switch to professional account’ as the last option.

    How to switch to a business Instagram account

    If you currently have a personal account and want to switch to a business account, then simply click on this link.

    How Do I Connect a Facebook Page to an Instagram Account?

    Before you can display Instagram photos in WordPress, you’ll first need to connect your Instagram account to a Facebook page.

    To do this, head over to the Facebook page that you want to use and then click on ‘Settings’ in the left-hand menu.

    Once you’ve done that, click on ‘Linked Account.’ You can now select ‘Instagram’ and click on the ‘Connect’ button.

    Linking an Instagram business account to a Facebook page

    Facebook will now show all the actions it can perform, and the information it can access.

    If you’re happy with this, then click on the ‘Connect’ button.

    Linking Instagram and Facebook

    Just be aware that the people who manage your Facebook page may be able to see your Instagram messages and respond to them. If you want to stop this and keep your messages private, then click to disable the slider.

    When you’re ready to move to the next screen, click on ‘Confirm.’

    Restricting access to your Instagram messages

    This opens a popup where you can type in your Instagram username and password.

    After that, click on the ‘Log in’ button.

    Logging into your Instagram account

    After a few moments, you’ll see a message saying that your Instagram and Facebook accounts are now connected.

    We hope this article helped you learn how to display Instagram photos in a WordPress sidebar widget. You may also want to see our guide on how to create a custom Facebook feed in WordPress, or see our expert pick of social proof plugins for WordPress and WooCommerce.

    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 Display Instagram Photos in WordPress Sidebar Widget first appeared on WPBeginner.

  • 7 Best WordPress Real Estate Plugins in 2023

    If you’re a realtor, you need a website that can show off your listings in all their glory. On the other hand, if you’re a web developer who works with realtors or agencies, you’ll have to understand how to implement real estate features in websites for your clients. Either scenario is one you can solve using the best WordPress real estate plugins on the market.

    Why Do you Need a Real Estate Plugin?

    Those in the real estate business have more options than they realize for building a successful real estate site. WordPress actually has some really good options if you’re trying to avoid expensive MLS listing services to showcase your listings. Using a combination of plugins, you can create a fully functional real estate site that features listings complete with floor plans, virtual tours, as well as agents working for you.

    The Best WordPress Real Estate Plugins

    In this article, we’ll introduce you to the 7 best WordPress real estate plugins available. We’ll focus on a range of solutions that offer different feature sets, but all have excellent reviews and are well-supported.

    Let’s get to it!

    1. Realtyna WPL

    The WPL Real Estate plugin

    Realtyna WPL is a powerful real estate WordPress plugin by Realtyna that enables you to set up a property listing system for your website. You can add new properties yourself, or let individual real estate agents do so if you belong to an agency.

    Listings can be incredibly detailed, including information about property types, prices, square footage, and other key features:

    Adding a new listing using the WPL Real Estate plugin

    You can upload photos for each property and set up image galleries, videos, and attachments. Moreover, you can fully customize the fields that will appear within each listing.

    WPL Real Estate comes with a robust user management system that enables you to decide what permissions each agent will have on your website. That makes it perfect for agencies with multiple realtors:

    Editing realtor permissions

    It’s worth noting that WPL Real Estate also includes an option to add meta descriptions and keywords for each new listing, which is fantastic for local Search Engine Optimization (SEO). WPL Real Estate also works well alongside Divi, with an assortment of layout packs to help you with designing your site.

    This plugin also offers a broad range of paid extensions. Those add-ons make WPL Real Estate incredibly flexible, but they’re fairly expensive with prices starting at $199 per year.

    Key Features for Realtyna WPL:

    • Add a listing management system to WordPress
    • Create new listings with dozens of custom fields
    • Give other realtors permission to create and edit listings
    • Modify the default fields for each listing

    WPL Real Estate is for you if…

    …you want to add real estate listing functionality to WordPress via a fully customizable system. This plugin is a fantastic choice for agencies with multiple realtors due to its built-in user permissions system.

    Price: Free, with a premium version available for a $199 lifetime payment.

    Get WPL Real Estate

    2. Easy Property Listings

    The Easy Property Listings plugin

    Easy Property Listings adds a full-featured listings system to WordPress. You can include dozens of property-specific details in each listing, including options such as available inspection times, which realtor is the listing agent, and more:

    Adding listing details using Easy Property Listings

    One advantage Easy Property Listings has is that it gives you plenty of display options. You can use shortcodes or widgets to showcase your properties. The plugin even includes some unique widgets, such as a search feature that’s designed specifically for real estate properties. Plus, it uses the Gutenberg blocks, so adding other blocks to your listings is a breeze.

    Last but not least, it also offers a broad range of add-ons that can provide useful functionality for your site, some of which are much cheaper than what other real estate tools offer.

    Key Features for Easy Property Listings:

    • Add a real estate listing system to WordPress
    • Modify the default fields for each listing you publish
    • Display listings using their own pages, widgets, or shortcodes
    • Add a search bar that’s dedicated to listings

    Easy Property Listings is for you if…

    …you want to use a listings plugin that offers multiple choices for displaying the properties on your website. Putting aside those options, Real Estate Listings is evenly matched in terms of features with WPL Real Estate, so you can choose whichever plugin you feel more comfortable using.

    Price: Free, with premium add-ons starting at $27 per year.

    Get Easy Property Listings

    3. WP VR

    The WP VR plugin

    Virtual real estate tours keep growing in popularity, partly due to being very convenient. Scheduling and planning real estate tours can be a lot of work, particularly for popular listings. One alternative is to create virtual tours using a plugin such as WP VR.

    Using this tool, you can upload panoramic images to WordPress that users can move around and zoom in on. It also supports videos and includes a gyroscope mode for mobile phones, which makes tours all that more engaging:

    Setting up a virtual tour using WP VR

    WP VR also enables you to connect multiple panoramic images using a “hotspot” feature. That means you can provide seamless virtual tours of larger areas by having users click on specific spots within an image to load the next one.

    Although WP VR has a lot of applications beyond just real estate, it’s a fantastic solution to offer potential customers a closer look at your best listings. You can add virtual tours to your listings using the Block Editor or via shortcodes, depending on which approach you prefer.

    Key Features:

    • Create virtual tours for your listings
    • Enable users to “navigate” panoramic images
    • Link multiple images and let users move between them in a single element
    • Add virtual tours to your listings using blocks or shortcodes

    WP VR is for you if…

    …you want to provide virtual tours for your properties. This is a key feature that most real estate websites don’t offer, and it’s a fantastic way to draw more attention to your hottest listings. For virtual tours to work, however, you’ll need to get comfortable taking panoramic pictures.

    Price: Free, with a premium version available starting at $79.99 per year.

    Get WP VR

    4. Draw Attention

    the Draw Attention plugin

    So far, we’ve focused solely on real estate listing plugins. Draw Attention is a unique tool that has incredibly useful applications for real estate websites, but it doesn’t have anything to do with listings.

    Instead, Draw Attention enables you to take images and make them interactive. For example, you can display information when a user hovers over a specific section of an image, create interactive maps, and design infographics. You’ll also find that Draw Attention is the perfect tool to publish interactive floor plans:

    Creating an interactive floor map

    Ideally, we recommend that you use Draw Attention alongside one of the listing plugins we discuss in this list. Each annotated image you create comes with a unique shortcode, so you can show floor plans within listing descriptions or anywhere else on your site.

    Key Features for Draw Attention:

    • Create annotated images and floor plans for your listings
    • Display interactive media using shortcodes

    Draw Attention is for you if…

    …you want to give your real estate listings an edge and make them more interactive. In our experience, interactivity leads to more user engagement, and annotated real estate images can help you convey details about your properties more effectively than mere text.

    Price: Free, with a premium version starting at $99 per year.

    Get Draw Attention

    5. Estatik

    Estatike real estate plugin

    Estatik is a WordPress real estate plugin that’s all about listings. It shares several features with the other tools we’ve talked about so far, including the option for you to add new listings and customize what fields they include.

    However, it also brings some new features to the table, such as enabling customers to save searches, create property wishlists, and share publications on social media:

    Wishlists on Estate

    With Estatik, you get access to over 50 shortcodes you can use to display listings in any way you see fit. The plugin also includes a property slideshow and listing search widgets. Plus, it comes with a free theme designed for real estate websites. The theme itself is rather simple, but it makes listings look appealing (although there are plenty of other real estate themes you can use instead).

    One downside of using Estatik is that the plugin’s free version only enables the WordPress administrator to add listings. If you want support for multiple agents, you’ll need to purchase the premium version.

    Key Features for Estatik:

    • Add a real estate listing system to WordPress
    • Customize each listing’s fields
    • Use shortcodes to display your listings
    • Use widgets to display listings and include a search feature
    • Enable users to save listings and share them on social media

    Estatik is for you if…

    …you want to enable prospective customers to create property wishlists or share their dream homes on social media. Estatik works best for solo realtors, as it doesn’t include support for multiple agents in its free version.

    Price: Free, with a premium version available starting at $89 per year.

    Get Estatik

    6. Essential Real Estate

    The Essential Real Estate plugin

    Essential Real Estate is less about publishing your own listings, and more about creating a marketplace where other realtors and agencies can share their properties. The plugin enables you to add listings manually, but it’s clearly optimized for front-end submissions:

    Submitting a new property via the front end

    With this tool, you can monetize your real estate marketplace by offering subscriptions. Realtors will have to subscribe before they can submit listings, which you then approve before they go live. Essential Real Estate also includes payment processing functionality, and it supports PayPal, Stripe, and wire transfers out of the box, making it function much like a membership plugin.

    Along with enabling realtors to register individually, you can also offer subscriptions to entire agencies. On the front end, listings are easy to navigate, and can easily be integrated with themes like Divi because of the use of shortcodes, and clients will be able to save their favorite properties to wishlists.

    Key Features for Essential Real Estate:

    • Create a real estate listing marketplace
    • Enable realtors and agencies to submit new properties using a front-end form
    • Approve submissions before they go live
    • Set up multiple subscription levels within your marketplace
    • Process payments via PayPal, Stripe, and wire transfers

    Essential Real Estate is for you if…

    …you want to create a marketplace where other realtors and real estate agencies can publish listings. It’s one of the best WordPress real estate plugins for businesses that want to band together to show a broader listing portfolio, especially in areas where there aren’t any similar portals available.

    Price: Free

    Get Essential Real Estate

    7. dsIDXpress

    iDXpress real estate plugin

    Last on our list, dsIDXpress is a powerful plugin designed to optimize your MLS listings for SEO. With its user-friendly features, you can effortlessly attract more visitors to your website and convert them into leads. This plugin offers a range of tools, such as customizable widgets, shortcodes, and search tools, to help your users easily search for properties in their desired area. Additionally, the plugin comes equipped with robust lead-capturing tools, making it an effective solution for driving sales and growing your business.

    dsIDXpress demo screenshot

    By tapping into an extensive MLS database, this plugin provides your users with the latest and most accurate listings of homes for sale, pending, or sold. Additionally, users will benefit from access to valuable information, such as school district data, indexable city and neighborhood pages, and themes that match the styling of your website.

    Key Features for Essential Real Estate:

    • Easy setup and customization
    • SEO-friendly and responsive layouts
    • live MLS listing updates
    • City and neighborhood pages
    • Advanced search features and filters

    dsIDXpress is for you if…

    …you want a full-service IDX solution for your real estate site that will feed not only your listings but other listings in your area. Plus, you’ll get a hands-off experience thanks to the dsIDXpress support staff who will make sure your site’s listings are up to date.

    Price: Starting at $59 per month.

    Get dsIDXpress

    Which Real Estate Plugin is the Best?

    There are a lot of contenders for the best WordPress real estate plugins. Many of these tools focus on listings and enable you to publish properties on your website in style. Other plugins help make your properties look more attractive, such as through detailed floor plans and even virtual tours. Yet others handle all of the work for you, making sure your listings are always up to date.

    Plugin Price Free Option
    🥇 Realtyna WPL $199 lifetime payment ✔️ Visit
    🥈 Easy Property Listings Free, $27 per year ✔️ Visit
    🥉 WP VR Free, $79.99 per year ✔️ Visit
    4 Draw Attention Free, $99 per year ✔️ Visit
    5 Estatik Free, $89 per year ✔️ Visit
    6 Essential Real Estate Free ✔️ Visit
    7 dsIDXpress $59 per month ❌ Visit

    If you’re looking for a good all-around real estate listings plugin, we recommend Realtyna WPL because of its ability to function as a full-service MLS service right inside WordPress. With this plugin, you’ll be able to add listings, and agents, and even add users to help you manage the workload.

    Do you have any questions about how to publish real estate listings on your WordPress site? Let’s talk about them in the comments section below!

    Featured Image via elenabsl illustration / shutterstock.com

    The post 7 Best WordPress Real Estate Plugins in 2023 appeared first on Elegant Themes Blog.

  • 7 Best WordPress Directory Plugins (2023)

    If you want to build an online directory website in WordPress, you’ll need the best plugin for the job. Online directories are basically public listings to help visitors find businesses, services, products, and more. But building one from scratch in WordPress is difficult without a plugin. Thankfully, there are some great directory plugins out there to make that process much easier. But finding the right one for your needs can be challenging. In this post, we’ll share our list of the best WordPress directory plugins to help you make the right choice for your business.

    How to Choose the Right Directory Plugin for You (What to Look For)

    Directory plugins have been around for a long time. Most solutions take into account 90% of what’s needed to create a decent directory. But, the best directory plugins go above and beyond by offering:

    • Simple directory creation: The best WordPress directory plugins make it easy to create a directory website, even if you don’t have coding skills. For an ideal solution, choose one that doesn’t take a lot of work to set up.
    • Flexible and customizable: They should allow you to customize everything from the layout of your directory pages to the (custom) fields included on each listing.
    • Advanced search and filtering: The ability to search and filter listings is vital for a directory website. The best directory plugins offer advanced search options to help visitors find what they’re looking for without any hassle.
    • Payment support: If you plan to make money off of your directory website, look for a plugin that supports popular payment gateways and eCommerce platforms like WooCommerce. This will allow you to charge for listings, create different subscription plans, and display sitewide ads.
    • Compatibility with other plugins and WordPress themes: To ensure your directory plugin works seamlessly with your other WordPress plugins and themes, look for a plugin that is compatible and updated often.

    If you want the best chance for your directory to gain traction, getting a feature-rich tool will do wonders for you.

    The Best WordPress Directory Plugins

    If you’re looking to create a directory website using WordPress, you’re in luck! There are a variety of plugins available to help you get started, each with its own strengths and features. Whether you need a simple address book, a classified ads section, or a business directory, there’s a plugin on this list that will fit your needs. First up is a crowd-pleaser—GeoDirectory.

    1. GeoDirectory

    GeoDirectory Directory Plugin

    GeoDirectory is a versatile WordPress plugin that allows you to create a location-based business directory similar to popular sites such as Yelp or YellowPages. For example, users can easily submit for approval, search for businesses and other entities, and have them all nicely displayed on an interactive map. By using GeoDirectory, you can transform any WordPress website into a useful business directory.

    Learn how to build a business directory with GeoDirectory

    Key Features for GeoDirectory:

    • Transfer directory data using CSV import and export options
    • Drag-and-drop interface for building your directory listings
    • Easy to style directory using available themes.
    • Location management system.
    • Customize the look of search results and single listing pages
    • Search results based on a specific location
    • Allows users to rate listings
    • Integrates with Ninja Forms to connect with other CRMs and
    • Integrates with page builders like Divi
    • Integrates with popular SEO Plugins like RankMath.
    • Supports WooCommerce.
    • Premium Add-ons to monetize your site, set up recurring payments, and allow business owners to claim listings.
    • Multisite compatible to create a network of directories

    BuddyPress integration with GeoDirecory

    GeoDirectory handles every aspect of creating a directory site. But, with its smart compatibility with other top plugins, GeoDirectory starts to shine. For instance, its BuddyPress integration can connect BuddyPress to your directory, giving your directory a social edge. This makes your directory more personal—giving your directory more of a chance to stand out in a crowded market.

    GeoDirectory is for you if you…

    • Need to build a high-quality directory site based on location
    • Want the ability to create a simple or complex online directory
    • Want an extendable solution with powerful premium add-ons like (recurring payments, enhanced search, and multi-location directories)

    GeoDirectory Pricing: Free, Premium $199 a year

    Get GeoDirectory

    2. Business Directory Plugin

    Business Directory Plugin

    The Business Directory Plugin is an easy-to-use WordPress plugin that enables you to create and manage a variety of directory types for any kind of directory website. It includes everything you need to get started, regardless of the type of directory you want to create. Plus, it allows visitors to submit listings without needing to code a thing.

    Key Features for Business Directory Plugin:

    • Monetize your directory via Authorize.net, PayPal, or Stripe
    • Supports WPML for multilingual directories
    • SEO friendly and integrated with Yoast SEO
    • Users can filter business listings by location
    • Enable rating and reviews with proper schema markup
    • Enable users to be able to upload files and control the file types that they can add to listings

    Create pricing plans and plan levels for your users

    Easily make money with your directory by creating different pricing plans. You can choose to have a directory with only free plans, or you can attach certain features to different plans and charge a fee. Additionally, you can set plan time limits or create recurring payment plans.

    Business Directory Plugin is for you if you…

    • Need a free and comprehensive directory plugin, with the option to upgrade to more advanced functionality via an extensive add-on directory
    • Are looking for payment support, with the ability to create listing-based monetization

    Pricing: Free, $99 a year

    Get Business Directory Plugin

    3. AWP Classified

    AWP Classified Plugin Homepage Feb 2023

    AWP Classifieds is another easy-to-use plugin that allows users or visitors to create classified ad listings on your WordPress website. From the makers of Formidable Forms, this plugin is perfect for anyone looking to add a classified ads section to their site quickly with little fuss.

    Key Features for AWP Classified:

    • Automatic creation of required pages streamlines the setup process
    • Non-registered users can post ads with simple email verification
    • Monetization support with customized subscription plans, enabling the creation of a classifieds site to make money easily
    • Integration with 4 major payment gateways for easy monetization through paid listings and charging for banner ads on classified pages

    AWP Classified Example Directory Website with Ads

    AWP Classified lets you limit the number of submissions, reviews, or listings a user can make depending on their plan. This allows you to easily create pricing tiers for monetizing your new classified section. You can even display external ads (such as Google Adsense) across your website’s classified sections for additional monetization potential (without having to use an advertising plugin).

    AWP Classified is for you if you…

    • One of the simplest classified plugins on the market (and built by a trusted developer at that)
    • Have a high focus on monetization

    AWP Classified Pricing: Free, $49.50 a year

    Get AWP Classified

    4. Directorist

    Directorist Directory Plugin

    Directorist is a freemium WordPress directory plugin that is suitable for a variety of websites, from business directories to property listings, classified ads, and job portals. With a wide range of features, Directorist aims to be the only WordPress directory plugin you will ever need. The same company has built (but doesn’t require) its own classified themes that can also be of help to budding directory owners.

    Key Features for Directorist:

    • Easily build your listings pages with Directionist’s custom drag-and-drop form builder
    • Custom form fields are searchable for exact search results
    • Includes search widgets with 10+ different filters
    • Use Google Maps or OpenStreetMap for geo-based listings
    • Compatible with WooCommerce’s Multivendor plugin for creating a multi-vendor marketplace

    Advanced fields listing within the Directorist search form

    Customize all the fields with Directorist! Its truly powerful (and beautiful) filterable listings make your directory-based website easy to go through. You’ll have the ability to add searchable custom fields or use standard directory fields like price, tags, text, location, and more.

    Directorist is for you if you…

    Pricing: $139 a year

    Get Directorist

    5. Toolset

    Toolset WordPress Professionals ToolkitToolset is a powerful WordPress plugin with a suite of tools that simplifies the process of creating advanced websites. You can use it for custom eCommerce, real estate, membership, and Directory sites. However, it’s not the easiest thing to learn on this list because it feels like its own ecosystem of related tools. But it can help you create a directory website from scratch.

    Key Features for Toolset:

    • Create custom post types, unlimited custom fields, and taxonomies that you can display on your site frontend
    • Create custom frontend forms for users to use and interact with your directory
    • Restrict certain website features and sections for paying customers
    • Comes with an in-depth course and an onboarding program

    Toolset WordPress Directory course

    Toolset is not made solely to build directory websites. However, it gives you the tools to build just about anything on WordPress. Toolset even has created special training for how to build a directory website. Plus, it can be used with Divi and other page builders to create more beautiful directories.

    Toolset is for you if you…

    • Are you an advanced WordPress user looking for a suite of tools for managing all sorts of custom post types and how they are shown
    • Want to create a directory site from scratch without knowing code.

    Pricing: From $69 a year (renews at $51)

    Get Toolset

    6. Connections Business Directory

    Connections Business Directory

    Looking for a simple, yet powerful business directory plugin? Connections Business Directory has you covered. While not the most appealing plugin on our list, you can create directories of all types and host thousands of worldwide listings. And, the plugin is completely free.

    Key Features for Connections Business Directory:

    • Supports the Block Editor with four directory blocks
    • Privacy controls for listings and directory entries
    • Allows you to control the fields shown on your listings
    • Support for nested categories
    • Face Detect add-on to properly center the display of profile pictures automatically

    Connections Directory Plugin with Face DetectThe plugin has an optional free add-on to create directories for displaying people (like Alumni, staff, and volunteer directories). For example, its Face Detect add-on can properly render images (of various sizes) so that a user’s face is always front and center.

    Connections Business Directory is for you if you…

    • Need a free option with solid core features
    • Want free and affordable add-ons to extend the functionality of your directories

    Pricing: Free, with add-ons (Free – $14.99)

    Get Connections Business Directory

    7. HivePress

    HivePress Multipurpose WordPress plugin

    HivePress has created a fantastic and free WordPress directory plugin that truly covers all the bases. And, it has more products including beautiful directory themes and extensions that bring even more power to the core plugin.

    Key Features for HivePress:

      • Can charge users to feature their listing
      • You can allow users can rate listings as well as leave reviews on listings
      • Users can send private messages to listing owners
      • Can allow users to “favorite” listings making them easy to find again in the future
      • Users have private, frontend dashboards to manage their listings

    Frontend favorite's screen

    HivePress comes built-in with a clean and modern user interface that allows users to manage their listings without logging into your WordPress backend. You can easily create a Favorites page for users that have marked listings with a heart. This allows users of your site to save and keep an eye on their favorite listings.

    HivePress is for you if you…

    • Want a free plugin that has plenty of room to grow as you start making money
    • Crave a beautiful directory with plenty of features included

    HivePress Pricing: Free, with paid add-ons (Free – $39)

    Get HivePress

    What is the Best WordPress Directory Plugin?

    The best WordPress directory plugins balance deep feature sets, and multiple plugin integrations, and are easy for users and admins alike. We hope that with the help of this list, you were able to find the right plugin for your next project.

    For the best overall directory plugin, we suggest GeoDirectory because it has powerful features and extensions, it is easy to use, and integrates well with other plugins. Business Directory also is a great choice, especially if you are looking to monetize your directory.

    Advanced WordPress users should look at using Toolset along with Divi. This powerful combo will provide all the tools you need to create a directory specific to your needs. Whatever you choose, make sure that it balances your business needs with your budget—that way you’ll be on the right track in building out your directory.

    Plugin Price Free Option
    🥇 GeoDirectory $199/yr ✔️ Visit
    🥈 Business Directory Plugin $99/yr ✔️ Visit
    🥉 AWP Classified $49.50/yr ✔️ Visit
    4 Directorist $139/yr ✔️ Visit
    5 Toolset $69 ❌ Visit
    6 Connections Business Directory Free ✔️ Visit
    7 HivePress Free ✔️ Visit

    Looking for more great plugins? Check out our top free plugins for businesses and our collection of the best plugins for WordPress.

    Featured Image vis Andrew Krasovitckii / shutterstock.com

    The post 7 Best WordPress Directory Plugins (2023) appeared first on Elegant Themes Blog.

  • How to Add Product Questions And Answers in WooCommerce

    Are you looking to add a product question and answer section in WooCommerce?

    Adding a Q&A section enables customers to ask questions about the product before buying it, and see the questions and answers of other customers. This helps recover abandoned cart sales and improve customer engagement in your store, and reduce support requests.

    In this article, we’ll show you how to easily add product questions and answers in WooCommerce.

    How to add product questions and answers in WooCommerce

    Why Should You Add Product Q&A in WooCommerce

    You may have noticed the product question-and-answer section on popular eCommerce websites like Amazon, Target, Best Buy, and more.

    Target Q&A example

    Adding a product questions and answers section allows customers to ask questions about a product right there on the product page.

    You or your customers can then answer that question and it becomes visible to all other new customers who may have the same question in mind.

    Over a period of time, your product page will have its own frequently asked questions section, which will help increase sales and reduce abandoned cart rates.

    Adding a question and answers section to your online store also allows you to curate user-generated content which improves your WooCommerce product search rankings.

    That being said, let’s see how you can easily add product questions and answers to WooCommerce.

    1. Adding a Product Q&A Section Using a Premium Plugin

    For this method, we will be using the YITH WooCommerce Questions and Answers plugin.

    It is a premium plugin and comes with more features to easily add an engaging Q&A section with a better user experience.

    First, you need to install and activate the YITH WooCommerce Questions and Answers plugin. For more instructions, please see our step-by-step guide on how to install a WordPress plugin.

    Upon activation, go to the YITH » License Activation page and enter your license key. You can find this information under your account on the plugin website.

    Activate your YITH plugin with the license key

    Don’t forget to click on the Activate button after entering your license key.

    Next, you need to go to the YITH » Questions and Answers page to configure plugin settings.

    YITH Quiestions and Answers settings

    From here you need to scroll down to the ‘Question Approval’ option and simply toggle the switch to ‘Yes’.

    Once you do that, the questions on the product pages will have to be approved by an administrator before they are displayed on your WooCommerce store.

    Toggle the switch next to the Question Approval field

    Next, you need to scroll to the ‘Show on Product Tabs’ option.

    Here, you need to toggle the switch to ‘Yes’ so that the plugin will automatically add a ‘Questions and Answers’ section to product pages.

    Toggle the switch next to the Product on tab field

    After that, don’t forget to click the ‘Save Options’ button to store your changes.

    Now, you need to switch to the ‘Advanced Settings’ tab.

    From here, simply toggle the ‘Vote Question’ switch to ‘Yes’ if you want to allow users to vote on product questions.

    Go to the advanced settings tab

    Next, you can choose if you want to get an email notification once a question is submitted on your website.

    Simply select the ‘Notification in HTML Email’ option from the dropdown menu next to the ‘New question notification’ field.

    Tip: To ensure email deliverability you need to use an SMTP server. See our guide on how to fix WooCommerce not sending emails issue.

    Similarly, you can also choose the ‘Notification in HTML Email’ option in the ‘New answer notification’ field if you want to receive an email once a question is answered on your site.

    Configure the New question notification field settings

    Your user can also receive a notification once the question submitted by them is answered.

    To enable this, you need to toggle the switch next to the ‘User Notification’ option to ‘Yes’.

    Toggle the user notification

    After that, you can review other settings. The default options would work for most websites but you can change them if needed.

    Finally, don’t forget to click on the ‘Save Options’ button to save your changes.

    You can now visit your website to see the Questions & Answers section appear on your product pages.

    Questions form below product pages

    From here, your customers can submit their questions.

    Moderating Questions and Adding Answers

    You will receive an email notification for new questions submitted by the users. You can also view them by visiting the Questions & Answers » All discussion page.

    Moderate question and answers

    You can sort entries here by ‘Content not approved’ or ‘Unanswered Questions’.

    You can also take your mouse over a question and click ‘Approve’ to make it live.

    To add an answer to a question, you can simply click on the ‘Edit’ link below that question. On the edit screen, scroll down to the ‘Your Answer’ section to answer the question.

    Add your answer

    Repeat the process if you have more unanswered questions.

    This is how the product questions and answers section looked on our demo store.

    Question and answers preview

    2. Adding a Product Q&A Section Using a Free Plugin

    If you want to use a free plugin to add a product Q&A section to your WooCommerce store, then this method is for you.

    First, you need to do is install and activate the Product Questions & Answers for WooCommerce plugin. For more instructions, see our guide on how to install a WordPress plugin.

    Upon activation, click the Product Q&A menu from the WordPress admin sidebar which will direct you to the ‘Product Q&A Settings’ page.

    From here, simply check the ‘Load More’ option if you want to add a ‘load More’ button to your product Q&A section.

    Adding this button will allow customers to load older questions and reduces the page load time if a product gets a ton of questions.

    Simply check the Load more box

    Next, you need to choose a page size.

    This means that you need to select a default number of questions that are shown in your Q&A section.

    All the other questions will be hidden from view. Users will be able to access those questions after clicking the ‘Load More’ button.

    You can also change the text used for the ‘Load More’ button to anything you like. For instance, you can call it ‘Load more questions’.

    Choose a paging button name

    Next, you need to choose a layout for your product Q&A section from the dropdown menu next to the ‘Layout’ option.

    You can choose the ‘Normal’ option if you want to display the Q&A section in paragraphs.

    Select layout and save your changes

    On the other hand, you can also display your questions as an Accordion menu. This means users will need to click on a question to view the answer.

    Once finished, don’t forget to click the Submit button at the bottom to save your settings.

    Managing Product Question and Answers

    After plugin configuration, simply visit any product page on your store. You’ll notice a new Q&A tab added there.

    Click Q and A tab on the product page

    Clicking on it will display the ‘Q&A’ section where customers can submit their questions.

    You will receive an email notification when a user submits a question.

    Type a Q&A question and submit it

    Now, to answer customer questions, you need to go to the Products » All Products page from the WordPress admin dashboard.

    From here, simply click the ‘Edit’ button under a product to open up its’ ‘Edit Product’ page.

    Click the Edit button

    Next, you need to scroll down to the ‘Product Data’ section and click the ‘Q&A’ tab from the left column.

    Here, all the questions submitted on that specific product’s page will be displayed.

    Click the Q&A tab

    Now, you need to simply type the answer to a customer query in the ‘Answer’ field.

    If you want to delete a question because it’s inappropriate or irrelevant to your product, then you can also do that by clicking the Delete icon on the right corner of each question.

    You can also uncheck the ‘Approve’ option if you don’t want to display the question on the product page.

    Answer or delete the question

    After you have answered the product questions, go to the top of the page and click the ‘Update’ button to save your changes.

    Now, you can visit the product page to see the Questions and Answer section in action.

    Visit site

    We hope this article helped you learn how to add product questions and answers in WooCommerce. You can also check out our top picks for the best WooCommerce plugins to grow your store, and our beginner’s guide on how to add web push notification to boost sales.

    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 Product Questions And Answers in WooCommerce first appeared on WPBeginner.

  • How to Add a Mega Menu on Your WordPress Site (Step by Step)

    Do you want to add a mega menu on your WordPress site?

    Mega Menus allow you to arrange dozens or even hundreds of links into user-friendly columns and rows. You can then add rich content like images and videos, to make your mega menus even more helpful.

    In this article, we will show you how you can add a mega menu to your WordPress website, step-by-step.

    How to add a mega menu on your WordPress site (step by step)

    Why Add a Mega Menu on Your WordPress Site?

    WordPress comes with a drag-and-drop builder you can use to create a dropdown menu, header menu, and more. There are even plugins that allow you to create custom navigation menus in WordPress themes.

    If your site has lots of content then you may need to create a mega menu instead. These mega menus allow you to add multi-column dropdowns to the WordPress navigation.

    You can use mega menus to organize your content under different headings and subheadings, so visitors can find exactly the page they’re looking for. For example, if you create an online marketplace then you might arrange all your product categories and subcategories in a mega menu.

    An example of an eCommerce mega menu

    This helps shoppers find the exact product category they want, and make a purchase.

    Mega menus can also show rich content to your visitors, such as videos, text, search, and recent posts.

    Many websites use images, too, because they make mega menus easier to scan. Even if you’re showing dozens of menu items, dividing them into columns and then adding a relevant image can help visitors find exactly the content they’re looking for in seconds.

    An example of a mega menu with rich content

    That said, let’s see how you can easily add a mega menu to your WordPress website.

    How to Create a Mega Menu for Your WordPress Site

    The easiest way to add a mega menu on your WordPress site is by using Max Mega Menu. This plugin allows you to add rich content to your mega menus, including images, text, galleries, and more.

    In this way, you can create more engaging and helpful menus.

    An example of a mega menu on a WordPress website

    You can also style every part of the mega menu by adding different colors, changing the font size, and using different icons.

    First, you’ll need to install and activate the plugin. If you need help, then please see our guide on how to install a WordPress plugin.

    Enable Mega Menus on Your WordPress Website

    Upon activation, go to Mega Menu » Menu Locations to see all the different areas where you can add a mega menu.

    You may see different options depending on your WordPress theme.

    Enabling mega menus on different areas of a WordPress website or blog

    To start, you’ll need to enable mega menus in every location where you want to use them.

    To do this, simply click to expand a location and then check its ‘Enabled’ box.

    Enabling the mega menu feature in WordPress

    After that, you can change the ‘Event’ that’ll open the mega menu.

    The default setting is ‘Hover intent,’ which means the visitor must hover their mouse over the mega menu for a few seconds. This works well for most WordPress websites, but you can also open the ‘Effect’ dropdown and choose ‘Hover’ or ‘Click’ instead.

    If you choose ‘Click’ then the visitor will need to click to explore the mega menu. This can be useful if you’re worried visitors might trigger the menu by accident, which can be frustrating.

    Meanwhile, ‘Hover’ will open your mega menu as soon as the visitor moves their mouse over it. This can encourage visitors to explore different areas of your site, so you may want to use ‘Hover’ on landing pages or your website’s homepage.

    Changing the mega menu trigger event

    After making this decision, you can change how the menu opens using the ‘Effect’ settings.

    Max Mega Menu has different animations you can try, including fade and slide up. You can also change the animation’s speed. By trying different animations, you can create a mega menu that grabs the visitor’s attention.

    Changing the animation effects on a mega menu

    If you don’t want to use any animations, simply open the first dropdown and select ‘None.’

    By default, Mega Menu doesn’t use animations on mobile devices to prevent performance issues. If you want to create a unique animation for mobile visitors, then you can use the settings in the ‘Effect (Mobile)’ area.

    If you want to test your mega menus on mobile, then check out our guide on how to view the mobile version of WordPress sites from desktop.

    Also, if you set the ‘Event’ dropdown to ‘click,’ then make sure you select the ‘Advanced’ tab next.

    Here, you can use ‘Click Event Behavior’ to define what happens when the visitor clicks your mega menu. For example, the second click might close the menu or open a new link.

    Changing the event click behavior in a mega menu

    There are more settings you can look through, but this should be enough for most WordPress blogs and websites.

    When you’re happy with how the plugin is configured, click on ‘Save Changes.’

    To enable mega menus for more locations, simply follow the same process described above.

    Enabling mega menu for multiple locations

    Customize How the Mega Menus Looks on Your Website

    The next step is configuring how the mega menus will look on your website.

    You can do this by selecting the ‘Menu Themes’ tab to the left of the screen.

    Creating a custom theme for a mega menu

    On this screen, you can change the direction of the arrow icons, use a different line height, and add a shadow.

    When you’re happy with your settings, don’t forget to click on ‘Save Changes.’

    Customizing how the mega menu looks on your WordPress website

    If you want to remove these changes at any point, then simply check the ‘Reset Widget Styling’ box and then click on ‘Save Changes.’

    Next, you can customize the menu bar, which is the bar visitors see when the menu is in its default, collapsed state.

    An example of a menu bar, in a WordPress mega menu

    To make these changes, click on the ‘Menu Bar’ tab and then use the settings to change its background color, padding, border radius, and more.

    You can even create a color gradient by selecting two different colors in the ‘Menu Background’ section.

    Adding custom colors to a WordPress megamenu

    If you scroll down, then you can change how the top-level menu looks.

    This is the first row of items, which is visible when the mega menu is in its collapsed state.

    Customizing how the top level menu items look

    Since they’re so important, you might want to make the top-level menu items stand out.

    For example, in the following image, we’re using a different background color.

    An example of a website mega menu

    In the ‘Hover State’ section you can highlight the currently-selected top-level menu item.

    For example, in the following image, we’re using an underline effect.

    Adding a hover state to a WordPress mega menu

    This can help the visitor see where they are in the menu, which makes it particularly useful for sites that need to have large mega menus.

    If you do add a hover state, then scroll to the bottom of the screen and check the ‘Highlight Current Item’ box.

    Highlight the current item in a mega menu

    After that, you can change how the submenu looks.

    This is the menu that appears under a top-level parent, as you can see in the following image.

    An example of a website sub menu

    To customize the submenu, click on the ‘Mega Menus’ tab.

    You can now use these settings to change the submenu’s background color, increase the radius to create curved corners, add padding, and more.

    Customizing the sub menu on a website or blog

    You add content to your mega menus using widgets. For example, you might add a Gallery widget and display your most popular WooCommerce products, or embed a tag cloud inside the mega menu. These widgets can provide extra information, or encourage visitors to click on certain menu items.

    You can customize how these widgets will look by scrolling to the ‘Widgets’ section. For example, you might change the color of the widget’s title, increase the font size, add padding, and adjust the alignment.

    How to add a mega menu on your WordPress website, step by step

    On this screen, you can also customize how the second-level menu items and third-level menu items will look on your website. These are the children of the top-level menu items.

    When building your menus, it’s possible to add four or even more levels to create a nested mega menu. If you do this, then WordPress will simply use the third-level styling for all the subsequent levels.

    You can see this in action in the following image. The second level has red text, and both the third and fourth levels use the same yellow text.

    A nested menu with multiple levels

    When you’re happy with how the menu is set up, don’t forget to click on ‘Save Changes.’

    How to Add a Mega Menu on Your WordPress Site

    Once you’ve finished customizing the mega menu using Max Mega Menu, it’s time to add it to your website.

    Simply head over to Appearance » Menus.

    Editing a menu on your WordPress website

    If you want to turn an existing menu into a mega menu, then open the ‘Select a menu to edit’ dropdown and choose it from the list. Just be aware the menu you choose must be assigned to a location where you’ve enabled the mega menu feature.

    If you want to start from scratch, then click on ‘Create a new menu’ and then type in a title for your new mega menu.

    Creating a navigation menu in WordPress

    You can then select the location you want to use, and click on ‘Create Menu.’ Once again, this must be a location where you’ve enabled mega menus.

    Add Content to Your WordPress Menu

    After that, add all the pages, posts, and any other content you want to include in the menu. For step-by-step instructions, please see our beginner’s guide on how to add a navigation menu in WordPress.

    Next, you’ll need to arrange your items into parents and submenus. To create a submenu, drag an item below the parent, and then drag it slightly to the right before releasing it.

    Arranging pages and posts into a parent and child layout

    To create multiple levels, simply keep dragging items to the right so they appear indented below one another. This is similar to creating a dropdown menu in WordPress.

    No matter whether you’re creating a new menu or updating an old one, at this point you’ll have all the items you want to include in the mega menu.

    Enable the Mega Menu Feature

    With that done, click to expand the ‘Max Mega Menu Settings’ and check the box next to ‘Enable.’

    Enabling the mega menu feature

    In this box, you can also override the default mega menu settings. This allows you to create unique mega menus for different areas of your site, so go ahead and make any changes.

    After that, click on ‘Save.’

    Create the Mega Menu Layout

    Now, hover your mouse over the first top-level item and you’ll see a new ‘Mega Menu’ button. Go ahead and give the button a click.

    Configuring the Max Mega Menu settings

    You will now see all the settings for this top-level item.

    By default, Max Mega Menu will use the flyout style, where the submenus ‘flyout’ from the side. To create a mega menu instead, open the ‘Sub menu display mode’ dropdown and choose either ‘Standard Layout’ or ‘Grid Layout.’

    Standard layout shows all the submenus in columns.

    Using the Standard Layout on a WordPress website or blog

    Meanwhile, grid layout allows you to organize submenu items into columns and rows.

    This is ideal if you want to show lots of content, or have a very specific layout in mind.

    Arranging menu items into rows and columns

    After selecting the standard or grid layout, you’ll see all the submenus assigned to this parent.

    Now, you can go ahead and change how these items are arranged in the mega menu.

    Adding a Standard Layout to a navigation menu

    If you’re using the standard layout, then you can change the number of columns using the dropdown menu in the top right corner.

    If you’re using a grid layout, then you can add columns and rows using the ‘+Column’ and ‘+Row’ buttons.

    Adding a grid layout to a WordPress menu

    When you’re happy with the layout, you can arrange the submenu items into different columns and rows using drag and drop.

    After that, it’s time to change how much space each item takes up in the column. Max Mega Menu shows the current size as a fraction of the total available width.

    For example, in the following image, both columns take up half the available space.

    Creating a custom layout for a WordPress menu

    To make an item bigger or smaller, simply click on its arrow buttons to increase or decrease the fraction.

    Create a Mobile-Friendly Mega Menu (Grid Layout Only)

    By default, Max Mega Menu will show the same content on desktop and mobile devices. This can be a problem with grid layouts, as smartphones and tablets typically have smaller screens, and scrolling horizontally can be difficult.

    If you’re using the grid layout, then you can create different mega menus for mobile devices. For example, you might use fewer columns so users don’t have to scroll horizontally.

    You can hide entire columns or rows using the ‘Hidden on mobile’ icon, which looks like a small mobile phone.

    How to create a mobile-responsive menu in WordPress

    Simply toggle the icon on and off, to hide and show different content on desktop and mobile.

    Add Rich Content with Mega Menu Widgets

    With that done, you can start adding widgets to the mega menu. This allows you to show extra content in the submenu, such as WordPress galleries, text, videos, recent comments, and more.

    For example, you might use images to promote a sale on your online store, or highlight your latest products.

    Rich content in an online store menu

    To add a widget, simply click to open the ‘Select a widget….’ dropdown.

    You can now choose a widget from the list.

    Adding rich, multimedia content to a website's navigation

    WordPress will add the widget to a column or row automatically, but you can move it to a new location using drag and drop.

    To configure the widget, go ahead and click on its little wrench icon.

    Configuring widgets in your mega menu

    This opens a popup where you can add content to the widget and change its settings.

    You’ll see different options depending on the kind of widget you’re creating.

    Adding images to a WordPress navigation menu

    For example, if you added an Image widget, then you can click on ‘Add Image’ and either choose a picture from the media library or upload a file from your computer.

    If you add a ‘Text’ widget then you’ll see a small editor where you can type in your text.

    Adding extra text to a navigation menu

    All widgets have a ‘Title’ field where you can add text that will be displayed above the widget.

    When you’re finished, click on ‘Save’ to store your changes and then select ‘Close.’ To add more widgets to the mega menu, simply follow the same process described above.

    Arranging pages and posts into a grid layout

    Review the Default Mega Menu Settings

    Next, just click on the ‘Settings’ tab.

    Here, you can use checkboxes to hide or show different content in the submenu.

    The Max Mega Menu settings

    You can also hide or show the submenu on mobile devices and desktop, and change the alignment so the submenu opens to the left or right of the top-level parent.

    If you make any changes to the default settings, then don’t forget to click on ‘Save Changes.’

    Add Image Icons to the WordPress Mega Menu

    Image icons help visitors understand what a menu item is about, without even having to read the navigation label. This is particularly useful for large menus where a visitor may prefer to scan the content quickly rather than reading each navigation label.

    A mega menu with image icons

    You can use icons to make the most important content stand out. For example, you might encourage visitors to complete their purchase by adding a cart icon to the ‘Checkout’ menu.

    To add image icons to your navigation menu, click on the ‘Icon’ tab.

    Adding dashicons to a WordPress menu

    You can now choose any dashicon from the built-in library. If you upgrade to Max Mega Menu pro, then you’ll also have access to other icon fonts, Genericons and FontAwesome, or you can choose a file from your WordPress media library.

    Finish Configuring the Mega Menu on Your WordPress Site

    After working your way through all these settings, you can close the popup window to return to the main Appearance » Menus page.

    You can now repeat this process for each top-level parent.

    When you’re happy with how the mega menu is set up, click on the Save Menu button to make it live.

    Publishing a mega menu to your WordPress site

    Now, simply visit your website to see the mega menu in action.

    We hope this article helped you learn how to add a mega menu on your WordPress site. You can also go through our guide on the best drag and drop WordPress page builders and how to increase your blog traffic.

    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 a Mega Menu on Your WordPress Site (Step by Step) first appeared on WPBeginner.

  • How to Easily Organize Media Uploads by Users in WordPress

    Do you want to organize media uploads by user in WordPress?

    If you run a multi-author website, then you may want to restrict each author’s media library access to only their own uploads. This can prevent an author from accidentally deleting another user’s images, and help keep subscriber-only content private.

    In this article, we’ll show you how to organize media uploads by users in WordPress.

    How to organize media uploads by users in WordPress

    Why Restrict Author Access to Media Uploads?

    If you have a multi-author WordPress blog, then people might be uploading lots of different images. This can make it difficult for an author to find the right image, or they might delete or edit another person’s media file by accident.

    This can cause all sorts of problems including poor productivity, lots of extra work for site admins and editors, and a complicated editorial workflow.

    This unlimited access can also be a privacy concern. For example, if you’re working on a new product or idea, then other authors might see confidential images in the media library before you make a public announcement.

    If you have a WordPress membership site, then contributors and subscribers may be able to access premium media files they shouldn’t have access to. For example, if you sell online courses then a contributor might use their media library access to download premium PDFs and other course materials, without buying a subscription.

    That being said, let’s take a look at how to restrict who can see media uploads inside your WordPress admin area. Simply use the quick links below to jump straight to the method you want to use.

    Method 1. Organizing Media Uploads by Users With a Plugin (Quick and Easy)

    The easiest way to restrict access to media uploads is by using the Frontier Restrict Access plugin.

    This free plugin checks whether a user has the edit_others_posts permission, which allows them to edit another user’s posts.

    By default, this ability is granted to everyone who has the site admin or editor role. If you want to change this, then you can add or remove capabilities to user roles in WordPress.

    If the user doesn’t have this permission, then once this plugin is activated, they won’t be able to access another user’s files in the WordPress media library. This allows you to organize media uploads by users, without restricting access for admins and editors.

    This plugin works out of the box and there are no settings for you to configure, so you can simply install and activate the Frontier Restrict Access plugin. For more details, see our guide on how to install a WordPress plugin.

    Method 2. Organizing Media Uploads Using Code (Advanced)

    Another option is to restrict access to files in the media library using code. This method requires you to add a code snippet to your WordPress blog or website, so it isn’t the most beginner-friendly method. However, you won’t need to install a separate plugin just to organize your media uploads.

    Often, you’ll find guides with instructions to add custom code to your WordPress theme. However, this isn’t recommended as mistakes and typos in your code can cause common WordPress errors, or even break your site completely.

    That’s why we recommend WPCode.

    WPCode is the best code snippets plugin used by over 1 million WordPress websites. It makes it easy to add custom code in WordPress without having to edit the functions.php file.

    For this method, we’ll be adding code that checks whether the user has the edit_others_posts permission. If they don’t have this permission, then the code snippet below will stop them from accessing other people’s files in the WordPress media library.

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

    Upon activation, head over to Code Snippets » Add Snippet.

    How to add custom PHP snippets to your site using WPCode

    Here, simply hover your mouse over ‘Add Your Custom Code.’

    When it appears, click on ‘Use snippet.’

    Adding a custom code snippet to WordPress

    To start, type in a title for the custom code snippet. This can be anything that helps you identify the snippet in the WordPress dashboard.

    After that, open the ‘Code Type’ dropdown and select ‘PHP Snippet.’

    Restricting access to the media library using WPCode

    In the ‘Code Preview’ area, paste the following code snippet:

    add_filter( 'ajax_query_attachments_args', 'user_show_attachments' );
     
    function user_show_attachments( $query ) {
        $user_id = get_current_user_id();
        if ( $user_id && !current_user_can('activate_plugins') && !current_user_can('edit_others_posts
    ') ) {
            $query['author'] = $user_id;
        }
        return $query;
    } 
    

    Next, just scroll to the ‘Insertion’ section. WPCode can add your code to different locations, such as after every post, frontend only, or admin only.

    We want to use the custom PHP code across our entire WordPress website, so click on ‘Auto Insert’ if it isn’t already selected. Then, open the ‘Location’ dropdown menu and choose ‘Run Everywhere.’

    Running custom PHP code across your website using WPCode

    After that, you’re ready to scroll to the top of the screen and click on the ‘Inactive’ toggle, so it changes to ‘Active.’

    Finally, click on ‘Save Snippet’ to make the PHP snippet live.

    How to restrict access to media files using code

    Now, users will only have access to the files they upload to the WordPress media library.

    We hope this article helped you better organize media uploads by users on your WordPress site. Next, you can check out our ultimate WordPress security guide or see our expert pick of the best contact form 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 Easily Organize Media Uploads by Users in WordPress first appeared on WPBeginner.

  • How to Disable Emojis in WordPress (Step by Step)

    Are you looking to disable emojis on your WordPress site?

    Emojis are small icons that are used to express feelings or emotions. WordPress loads additional CSS and a JavaScript file to add emoji support and some users may want to remove it to improve performance and speed.

    In this article, we’ll show you how to easily disable emojis in WordPress.

    How to disable emojis in WordPress 4.2

    What Are Emojis?

    Emojis are the tiny icons or smileys used on the internet.

    Originating from Japan, emojis have made their way into the Unicode character set and are now supported by desktop computers as well as iOS and Android mobile devices.

    The emojis feature was first introduced in WordPress 4.2 and the primary reason for adding this feature was to add native support for Chinese, Japanese, and Korean language character sets.

    Emojis example

    By default, WordPress loads an additional JavaScript file and some CSS to add emoji support.

    You can see it by viewing your website’s source code or by using the Inspect tool.

    Emoji JavaScript in WordPress

    However, some site owners may want to disable this extra emoji support to boost WordPress speed and performance by not downloading additional code and scripts.

    Note: When we say disabling Emoji in WordPress, we mean disabling the extra checks and scripts used by WordPress to handle Emojis. You can still use Emoji on your site, and the browsers that support them will still be able to display them.

    Having said that, let’s take a look at how to easily disable Emoji support in WordPress.

    Method 1. Disabling Emojis in WordPress Using Code

    For this method, we’ll be using a custom code snippet to disable emoji support in WordPress.

    You can add this code snippet to your WordPress theme’ functions.php file or a site-specific plugin. However, a tiny error in the code could easily break your website and make it inaccessible.

    To avoid this, we recommend using WPCode. It is the best code snippets plugin for WordPress and offers the safest way to add custom code to your site without breaking it.

    First, you need to install and activate the WPCode plugin. For more instructions, see our guide on how to install a WordPress plugin.

    After activation, simply go to the Code Snippets » All Snippets page from the WordPress admin dashboard.

    From here, you need to click the ‘Add New’ button at the top.

    Add new code snippet

    This will take you to the ‘Add Snippet’ page.

    From here, take your mouse over to the ‘Add Your Custom Code (New Snippet)’ option and then click the ‘Use snippet’ button.

    Click Use Snippet button

    This will bring you to the ‘Create Custom Snippet’ page. You can start by typing a name for your code snippet. It can be anything you like.

    After that, you need to select ‘PHP Snippet’ as your ‘Code Type’ from the drop-down menu present in the right corner.

    Type a name for your code snippet and choose PHP as code type

    Now all you need to do is copy and paste the following code in the ‘Code Preview’ box.

    /**
     * Disable the emoji's
     */
    function disable_emojis() {
     remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
     remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
     remove_action( 'wp_print_styles', 'print_emoji_styles' );
     remove_action( 'admin_print_styles', 'print_emoji_styles' ); 
     remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
     remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); 
     remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
     add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
     add_filter( 'wp_resource_hints', 'disable_emojis_remove_dns_prefetch', 10, 2 );
    }
    add_action( 'init', 'disable_emojis' );
    
    /**
     * Filter function used to remove the tinymce emoji plugin.
     * 
     * @param array $plugins 
     * @return array Difference betwen the two arrays
     */
    function disable_emojis_tinymce( $plugins ) {
     if ( is_array( $plugins ) ) {
     return array_diff( $plugins, array( 'wpemoji' ) );
     } else {
     return array();
     }
    }
    
    /**
     * Remove emoji CDN hostname from DNS prefetching hints.
     *
     * @param array $urls URLs to print for resource hints.
     * @param string $relation_type The relation type the URLs are printed for.
     * @return array Difference betwen the two arrays.
     */
    function disable_emojis_remove_dns_prefetch( $urls, $relation_type ) {
     if ( 'dns-prefetch' == $relation_type ) {
     /** This filter is documented in wp-includes/formatting.php */
     $emoji_svg_url = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2/svg/' );
    
    $urls = array_diff( $urls, array( $emoji_svg_url ) );
     }
    
    return $urls;
    }
    
    Paste your code snippet

    After that, scroll down to the ‘Insertion’ section to choose an insert method for your code.

    Simply select the ‘Auto Insert’ mode so that the code can be automatically executed on your site upon activation.

    Choose Auto Insert as insert method

    Now go back to the top of the page and toggle the switch on the right from ‘Inactive’ to ‘Active’.

    Finally, click the ‘Save Snippet’ button to save your custom code snippet.

    Click the Save Snippet button to save changes

    That’s all, you have successfully disabled emojis in WordPress.

    Method 2. Disable Emojis in WordPress Using a Plugin

    For this method, we’ll be using a plugin to disable Emojis in WordPress.

    First, you need to install and activate the Disable Emojis plugin. See our guide on how to install a WordPress plugin for more instructions.

    The plugin works out of the box and there are no settings for you to configure.

    Upon activation, it will automatically disable emoji support from your WordPress site.

    We hope this article helped you learn how to disable Emojis on your WordPress site. You may also want to check out our guide on how to create a custom Facebook feed in WordPress and our article on how to add web push notifications to 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 Disable Emojis in WordPress (Step by Step) first appeared on WPBeginner.