A bad online presence may be the deal killer. Today, most people looking for a health professional will start their investigation digitally. Even though your organization is mostly physician recommended, individuals will look for your...
Do you want to change the shop page title in WooCommerce?
By default, your main shop page is simply called ‘Shop’. You may want to change the default title to be more descriptive and engaging, and better reflect your brand.
In this article, we’ll show you how to change the WooCommerce shop page title easily.
Why Change the Shop Page Title in WooCommerce?
When you install WooCommerce, it will automatically create pages like your shop page, account page, checkout page, and more.
By default, the shop page title will be ‘Shop’, but you can change this to anything you want, like ‘Boutique’ or ‘Store’ or something more detailed and descriptive. Overall, this can help create a better shopping experience and help build trust with your visitors.
Customizing your shop page title can also help your WooCommerce search engine optimization. Google and other search engines look at the words used in page titles to determine how to rank them in search results. If your shop page title is more descriptive, it can help you get more traffic to your online store.
With that said, let’s show you how to easily change the WooCommerce shop page title. Simply use the quick links below to jump straight to the method you want to use.
Method 1: Changing the WooCommerce Shop Page Title with Built-in WordPress Settings
The easiest and most beginner friendly way to change the shop page title in your online store is by using the built-in settings.
To change the title of your shop page, simply go to Pages » All Pages. You’ll need to find the page that says ‘Shop – Shop Page’ and then hover over it and click the ‘Edit’ button.
From here, you can enter a new page title at the top of the page.
Make sure to click the ‘Update’ button to save your changes.
Now, you can visit your shop page, and you’ll see your new shop page title live.
Changing your shop page title this way will update your breadcrumbs and navigation menu too.
Method 2: Changing the WooCommerce Shop Page Title by Adding Code to WordPress
Some WooCommerce themes might not give you the option to change your shop page title.
add_filter( 'woocommerce_page_title', 'new_woocommerce_page_title');
function new_woocommerce_page_title( $page_title ) {
if( $page_title == 'Shop' ) {
return "New Shop Title";
}
}
Make sure you replace the ‘New Shop Title’ with your own shop page title in the snippet above.
Now, you can visit your online shop page to see your new title live. You’ll notice this method doesn’t change the shop page URL or WooCommerce breadcrumbs, but only changes the title on the page itself.
Method 3: Changing the WooCommerce Shop Page SEO Title with a WordPress Plugin
Another way to change your WooCommerce shop page title is by changing the shop title that shows up in the search engines, which is called the SEO title or title tag.
This can be a great way to get more traffic and target more relevant keywords related to your online store.
The easiest way to do this is by using the AIOSEO plugin. It’s the best WordPress SEO plugin in the market used by over 3 million websites.
You can use the plugin easily optimize your SEO title to improve your search engine rankings.
After that, you can easily change your shop page SEO title by opening up your shop page and scrolling down to the ‘AIOSEO Settings’ box beneath the page editor.
You can use smart tags to automatically generate the shop page title, or enter a custom title instead.
If you want to fully customize the title and page design of your WooCommerce shop page, then we recommend using SeedProd.
It’s a drag & drop design builder that lets you customize every Aspect of your WooCommerce store.
We hope this article helped you learn how to change the WooCommerce shop page title. You may also want to see our expert pick of the best WooCommerce plugins and best WooCommerce hosting for creating a successful online store.
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.
Are you seeing the ‘Comments are closed’ message on your WordPress posts?
This message is displayed when comments have been disabled on a post. However, some users report seeing the message unexpectedly.
In this article, we’ll show you how to fix ‘Comments are closed’ in WordPress.
What Is the ‘Comments Are Closed’ in WordPress Error?
The comment area of your WordPress blog allows your website visitors to give feedback, ask questions, offer their own point of view on the topic, and respond to other comments.
Comments are disabled on all WordPress pages by default, and you won’t see the ‘Comments are Closed’ message on pages. However, you can still follow the steps below to open comments on your pages as well as posts.
For blog posts, you can disable comments on specific posts or on your entire WordPress website. For example, you may wish to disable comments on an announcement post.
When you disable comments on a post that has at least one comment, you will see the message ‘Comments are closed.’ This explains to your visitors that even though there are comments on the post, no further comments can be left.
If you disable comments on a post that has no comments, then you won’t see the ‘Comments are closed’ message. WordPress will simply not display the comment form.
Perhaps you’re seeing the ‘Comments are closed’ message on your website unexpectedly. While WordPress is easy to use, some error messages can be hard to troubleshoot for beginners. That’s why we put together a list of the 50 most common WordPress errors and how to fix them.
This message is most likely being shown because of a WordPress setting that’s not configured correctly. That’s because WordPress has comments settings in multiple areas, which can make it hard for beginners to find the right settings to fix the problem.
In this post, we’ll walk you through all the settings you should check in order to reopen the comments on your blog posts.
With that being said, let’s look at how to fix ‘Comments are closed’ in WordPress.
Comments are often closed on a WordPress site because at some time in the past a setting was checked was that disables comments on new posts by default.
You can check this setting by navigating to Settings » Discussion. Here you’ll find a set of checkboxes that control how comments are handled on new posts.
The first setting to look at is ‘Allow people to post comments on new articles’. This box should be checked so that the default setting for future posts is to allow comments.
Next, look at ‘Automatically close comments on articles older than XX days’. This setting is useful if you don’t want users to be able to comment on older posts. However, if you want to allow comments on all posts, then you should make sure this box is unchecked.
Once you’re happy with the discussion settings, make sure you click the ‘Save Changes’ button at the bottom of the screen to store the settings.
This will make sure comments are open on all new posts you create. But it will not enable them on posts that have already been created.
That’s what we’ll do in the next step.
Enable Comments on a Specific Post
This method will show you how to enable comments on existing posts one at a time. However, if you wish to enable comments on many posts, then you should follow the ‘Enable Comments in Bulk’ method that we cover below.
If you use the block editor on your WordPress site, then you need to scroll down the settings pane on the right of the screen until you come to the Discussion panel.
Now you should click on ‘Discussion’ to expand the options, and then make sure the ‘Allow comments’ box is checked.
Once you click the Update button at the top of the screen to save the setting, comments will be enabled for this post.
You should repeat these steps to enable comments on other blog posts. You can also follow the same process to enable comments on WordPress pages.
How to Display the Discussions Panel if It Is Hidden
While the Discussions panel is displayed by default, it may be hidden on your website. If you can’t find it, then you will need to click the Options icon at the top right of the screen. This icon looks like 3 vertical dots.
You then need to click on ‘Preferences’ and navigate to the ‘Panels’ tab. Once there, you can toggle the ‘Discussions’ switch on so that the panel is displayed.
Enable Comments on a Specific Post (Classic Editor)
If you are using the classic editor, then the steps for enabling comments on a post are a little different. Here, the Discussion meta box is hidden by default. To display it, you will need to click on ‘Screen Options‘ at the top right of the screen.
Next, you should check the Discussion box under ‘Screen elements’. After that, simply click ‘Screen Options’ again to return to your post.
You can now scroll down to the bottom of your post where you will find the Discussion meta box. You should make sure the ‘Allow comments’ box is checked.
After you click the Update button to save the setting, comments will be enabled for this post.
Enable Comments on Posts in Bulk
If you need to enable comments on multiple posts, then you can update them in bulk. To do that, navigate to the Posts » All Posts page where you will find a list of all of your posts.
You need to select the posts that have comments disabled by clicking the checkbox next to each post.
After that, you should choose ‘Edit’ from the Bulk Actions dropdown box and then click the ‘Apply’ button. This will open the bulk edit screen.
Here you need to click the ‘Comments’ drop down menu and then select ‘Allow’.
Don’t forget to click the ‘Update’ button to change the setting for all selected posts.
How to Select All Posts At Once
If you want to enable comments for every post on your website at once, then following the steps above would take a lot of time if you have hundreds of blog posts on your site.
To do it faster, there are a few extra steps you should take. First, you will need to make sure that all posts are displayed on a single page.
You can see a count of all the posts on your website under the ‘Posts’ title at the top of the screen. If you have 20 posts or less, then they are already displayed on one page. If you have more than 20 posts, then you will have to increase the number of items per page.
To do that, you should click ‘Screen Options’ at the top of the page. Then, under Pagination, find the ‘Number of items per page’ setting. Here you will need to type a number larger than the total number of posts on your site.
For example, if you have 65 posts on your website, then you could type the number 70.
After that, you need to click the ‘Apply’ button and all of your posts will be displayed on one page. You can now click ‘Screen Options again to hide the settings.
You can now select every post on your site by simply clicking the checkbox next to ‘Title’.
To enable comments on all of these posts, you should click ‘Bulk Actions’ then ‘Edit’, and follow the steps we covered earlier in this section to change the Comments setting to ‘Allow’.
Note: We don’t recommend trying to update hundreds of blog posts at once if you have slow web hosting, since your site may time out or freeze up before completing all the updates.
Check for Incompatible Themes or Plugins
If you have tried all of the steps above and comments are still disabled on your site, then it may be because of an incompatibility with your theme or one of your plugins.
Sometimes poorly coded WordPress themes may wrongly display the ‘Comments are closed’ message even when comments are open.
To check if your theme is the problem, you should navigate to Appearance » Themes and temporarily activate some other theme.
If the ‘Comments are closed’ message is now fixed, then your theme is the problem. You can ask the theme developer to fix the issue. For more details, see our guide on how to properly ask for WordPress support and get it.
Alternatively, if you’re an advanced user, then you can try to fix the issue yourself. You need to refer to our guide on how to disable comments in WordPress, and then follow the instructions under ‘Remove “Comments Are Closed” in WordPress’.
If you think a plugin may be causing the issue, then you can head over to Plugins » Installed Plugins and make sure you haven’t installed a plugin designed to disable comments, such as Disable Comments. If you have, then simply disable that plugin and test to see if comments are now working.
If comments are still closed, then you need to test for incompatible plugins. You’ll need to temporarily deactivate one plugin at a time by clicking its ‘Deactivate’ link.
Now test to see if comments are enabled on your site. If they are still not working, then this plugin is not the problem. Simply click its ‘Enable’ link and move on to the next plugin.
Do you want to display your form in a single line?
Single line forms give you more flexibility with form placement. This means you can easily add forms to high traffic areas of your site and improve your conversions.
In this article, we’ll show you how to display your form in a single line in WordPress easily.
Why Display a Single Line Form in WordPress?
Single line forms give you more flexibility when choosing where to place your forms. Since this style of form is only a single line, they don’t take up much space and can easily be integrated with your existing content.
Email newsletter sign up forms are often displayed in a single line above or below blog post content. Single-line forms also work well on landing pages, contact pages, and other important pages on your website.
Beyond generating more subscribers and leads, you can turn any kind of form into a single line form. For example, it might make sense to display your contact form in a single line to save space on the page.
That being said, let’s show you how to display a single line form on your WordPress website.
Creating Your Single Line Form in WordPress
For this tutorial, we’ll be using the WPForms plugin to create a single line form. It’s the best lead generation plugin for WordPress used by over 5 million websites.
You can use the drag and drop builder to quickly create any form for your site. Plus, it integrates with popular email marketing tools so you can easily grow your email list.
There is a premium version of the plugin with many more features, but we’ll use the lite version for this tutorial since it lets you create a simple form and connect it to Constant Contact for lead generation.
First thing you need to do is install and activate the plugin. For more details, see our beginner’s guide on how to install a WordPress plugin.
After that, go to WPForms » Add New in your WordPress admin panel and give your form a name. Then, you need to choose your form template.
We’ll select the ‘Opt-In Form’ template. Simply hover over the template and click the ‘Use Template’ button.
This brings up the drag and drop form builder.
You’ll see that the template we chose automatically includes the name and email fields and a submit button.
Every field can be edited by clicking on them and making changes in the left hand column.
You can also drag and drop the fields to change their order.
Once you’re done customizing the fields, you can display your form in a single line.
To do this, go to Settings » General and then click on the ‘Advanced’ drop down tab.
Next, type ‘inline-fields’ in the ‘Form CSS Class’ box (without quotes).
This will apply that CSS class to the form. Since WPForms includes styling for the ‘inline-fields’ class, it will automatically make your entire form display nicely on a single line.
After that, you can make your form even smaller by hiding the field labels.
Simply click on the ‘Fields’ navigation option, then select the ‘Advanced’ menu option, and click the ‘Hide Label’ toggle to turn it on.
Then, you need to do the same thing for all of the form field labels.
After that, in the same ‘Advanced’ section, you can enter text into the ‘Placeholder’ box.
This tells your users what each form field is for.
Once you’re done customizing your form, make sure to click the ‘Save’ button to save your changes.
If you’re using your form to generate leads, then you can connect your form to your email marketing provider. For more details, see our guide on how to create an email newsletter the right way.
Adding Your Single Line Form to Your WordPress Website
Now, it’s time to add your single line form to your website. You can add it to any page, post, or widget area.
We’re going to add it to an existing page, but the process will be similar if you’re adding it to another area of your WordPress blog.
Simply open up the page where you want the single line form to display, click the ‘Plus’ add block icon, and search for ‘WPForms’.
Then, click on the ‘WPForms’ block to add it to your site.
This brings up a drop down box to choose the single line form you created earlier.
Once you choose your form, the plugin will load a preview of your form inside the content editor. Then, click the ‘Update’ or ‘Publish’ button to make your new form live.
Now, you can visit your website to see your new form in action.
If you’re reading this right now, I’m going to take a guess and say that you’re a newly launched business that wants to grow in its community using digital marketing? Am I on to something?...
In the last year, digital transformation became a fact for businesses of all sorts as the pandemic expedited the speed of change by the years. The expected trends you were using to manage your digital...
The phrase “looks matters” is relevant when it comes to a website. Getting a visually appealing website helps your business considerably. Website design helps attract customers if it has a unique and eye-catching design. Imagine,...
Do you want to add a simple user password generator in WordPress?
Many WordPress users end up using weaker passwords for the sake of convenience. These passwords can be easily cracked by hackers, which makes your WordPress website vulnerable.
In this article, we’ll show you how to easily add a simple user password generator in WordPress. This would allow you or other registered users on your website to generate a strong password.
Why Use a Stronger Password Generator in WordPress?
By default, WordPress allows you to choose a password for your user account, but it doesn’t require that the password be secure.
The built-in password generator appears during WordPress installation, on the user registration page, and on the user profile page.
By clicking on the Generate Password button, users can generate a new strong password.
Similarly, when changing a password by editing their user profile, users can click on the ‘Set New Password’ button to generate unlimited combinations of unique strong passwords.
However, you’ll notice that it allows you to skip the password strength check by checking the ‘Confirm use of weak password’ option.
Similarly, any users registering on your website can also escape the strong password requirement by checking this option on the user registration page.
If you run a membership site or online store where many users have accounts, then this can seriously affect the security of your WordPress site.
That being said, let’s take a look at how to easily enforce secure passwords and require users to use the strong password generator instead.
Method 1. Enforce Strong Password Generator in WordPress
Upon activation, you need to visit Password Policies page in WordPress admin area and click on the Enable Password Policies check box.
After that, you can set a site-wide password policy for all users. You can choose minimum password strength, enforce special characters and number usage, expire passwords after a period of time, and more.
Below that you can set additional advanced options for password security.
For instance, you can automatically reset passwords for inactive users, prevent users from reusing old passwords, or disallow users from resetting passwords on their own.
The plugin also allows you to limit login attempts to prevent brute force attacks. You can choose the number of login attempts a user can make, after which their account will be locked and login will be disabled for 24 hours.
You can also set a lock duration after which the accounts will be automatically unlocked. Alternatively, you can choose to manually unlock accounts by an administrator only.
Set Password Policies Depending on User Roles
The plugin also allows you to set different password policies based on user roles.
For instance, you can set different password requirements and security settings for authors, subscribers, customers, or members on your membership website.
Seeing the Password Generator in Action
The plugin will now automatically display a strong password generator on registration, profile, and password change screens in WordPress.
It will also prevent users from setting weaker passwords or bypassing your password policy.
Method 2. Strong Passwords in Custom User Registration and Login Forms
The password policy method above works well for default WordPress user registration and password reset forms.
However, if you are using a custom user registration and password reset form, then users may still find ways around your stronger password requirements.
One easy way to enforce strong passwords is by using WPForms. It is the best WordPress form builder plugin and allows you to easily create any kind of form including custom user registration and login page forms.
Note: You’ll need at least the Pro plan to access User Registration addon.
Upon activation, you need to visit the WPForms » Settings page to enter your license key. You can find this information under your account on the WPForms website.
After that, you need to visit the WPForms » Addons page and click on the Install Addon button under the ‘User Registration Addon’.
You are now ready to create your custom user registration and login forms.
Simply head over to WPForms » Add New page. First, you need to provide a title for your form and then choose the user registration form template.
This will load the form builder where you can edit form fields.
Simply click on the password field to edit and turn on ‘Enable Password Strength’ switch. Below that you can choose minimum password strength and set it to ‘Strong’.
You can now save your form and exit the form builder.
WPForms makes it super easy to add your forms anywhere on your website. Simply edit the post or page where you want to display your custom user registration form, and add the WPForms block to your content area.
After that, you need to select your custom user registration form under the block settings.
WPForms will then load a live preview of your form inside the editor.
You can now save and publish your post / page and preview your custom user registration form.
You’ll notice that as users fill in the password field they will be asked to use a stronger password. The form will not be submitted with a weaker password.
Do you want to learn how to add tags, attributes, and categories to your WooCommerce products?
By optimizing your WooCommerce product listings, you can help your visitors find what they’re looking for and get more traffic from search engines and social media.
In this article, we’ll show you how to add product tags, attributes, categories, and more in WooCommerce, step by step.
Why Add Product Tags, Attributes and Categories to WooCommerce Products?
Adding the right product tags, attributes, and categories in WooCommerce will help you to get more traffic to your online store, make more sales, and improve the overall user experience for your customers.
Firstly, using categories, tags, and attributes in WooCommerce will make your store more organized, helping visitors find the products they’re looking for much faster.
They can also help to improve your store’s search engine optimization. That’s because using descriptive tags, attributes, and categories will help your products to appear in more searches, growing your traffic and sales.
What’s the Difference Between Categories, Tags, and Attributes in WooCommerce?
Many beginners get confused about the differences between categories, tags, and attributes.
Categories are meant for a broad grouping of your products, like men’s, women’s, or children’s clothing.
Tags are more like keywords for a specific product. A women’s shirt could have tags like summer, discount, casual, soft, and more.
Attributes are for specific characteristics of a product. For example, you can give important information about the product’s weight, material, color, and more.
This is common in clothing stores, where customers can filter products by a specific size, color, or fabric.
Here’s an example of a WooCommerce product with the category ‘Accessorites’ and an attribute for the color red listed on the product page.
Categories and tags are used for your WordPress blog posts as well. You can read more about the difference in our guide to categories vs tags.
That being said, let’s show you how to add product categories, tags, and attributes to your WooCommerce products.
Adding Product Categories, Tags, and Attributes to WooCommerce Products
WooCommerce has built in settings to add categories, tags, and attributes right out of the box.
To add categories, navigate to Products » Categories in your WordPress admin panel.
Then, you can give your category a name, add a slug, and choose whether or not it has a parent category.
Next, you can optionally give your category a description and choose the ‘Display type’ from the ‘Default’ drop down.
This controls what the category landing page will look like. Here you can choose to display your ‘Default’ theme options, ‘Products’, ‘Subcategories’, or ‘Both’.
The Default option will depend on the theme you’re using. ‘Products’ would display all the products in that category and any subcategories on the main category page (for example, wpbeginner.com/shop/jackets). ‘Subcategories’ would simply display the subcategories, and the visitor would have to click on one of the subcategories to view those products.
If you want to add a category thumbnail, then click the ‘Upload/Add image’ button.
Make sure you click the ‘Add new category’ button to save your changes.
To add more categories or subcategories, simply follow the same steps as above.
Now you can assign a product to a category by going to your product page, then checking the category box in the ‘Product categories’ section.
You can also click the ‘Add new category’ link.
This brings up a section where you can quickly create new categories on the fly.
Once you’re finished assigning categories, make sure to click the ‘Publish’ or ‘Update’ button.
Adding and Editing Product Tags
Your product tags are similar to tags in your blog posts. You can use product tags to make it easier for your visitors to find the exact products they’re looking for.
To add new tags, simply go to Products » Tags and enter the name of your tag, the slug, the description, and then click the ‘Add new tag’ button.
To add more tags, simply follow the same steps as above.
You can also add individual tags to your product pages. Simply open up the product page you want to edit, then enter your tags into the ‘Product tags’ box and click the ‘Add’ button.
Once you’re finished, make sure to click ‘Publish’ or ‘Update’ to save your changes.
Adding and Editing Product Attributes
Finally, you have product attributes. These help group products together and offer users a way to filter your products.
To add product attributes, you need to go to Products » Attributes and then give your attribute a name and slug.
You can also enable archives by checking the ‘Enable Archives’ box. This gives you the ability to display all items that share that attribute on a page.
After that, you need to choose the ‘Default sort order’. This is the order your products will appear on the shop page for that attribute.
We’ll choose the ‘Custom ordering’ option to give more control, but you can also order by name, and term ID.
Then, click the ‘Add attribute’ button to add it to the attribute table.
Now, you need to click the ‘Configure terms’ link to add terms to the attribute.
For example, if you created an attribute called ‘Color’, then you can add the individual colors as terms.
This brings up a screen similar to the main attribute screen, where you need to enter the name, slug, and optional description.
Then, click the ‘Add New Color’ button to save your attribute terms. You can add as many attribute terms as you want by repeating the process.
Once you’ve done that, you can add your attributes to individual products.
Simply open up the product page you want to edit, then click the ‘Attributes’ option in the ‘Product data’ section under the text editor.
Next, select your attribute in the ‘Custom product attribute’ drop down.
Then, click ‘Add’.
This adds the attribute to your product.
Now, you can select your attribute terms from the ‘Value(s)’ box.
Once you’re done adding your attributes, click the ‘Save attributes’ button.
After that, make sure to click ‘Publish’ or ‘Update’ to save your product.
Optimizing Your Product Listings for WooCommerce SEO
Once you’re done creating tags, attributes, and categories, you can improve your product pages even more with the help of an SEO plugin.
It’s very easy to use and lets you optimize your website for SEO without any technical skills. This means more traffic from the search engines and social media, and more eyes on your products.
Note: There is a free version of the plugin, but we’ll be using the Pro version since it includes the WooCommerce SEO features we need.
After that, you can optimize your product titles by opening the page for a product and scrolling down to the ‘AIOSEO Settings’ box below the product editor.
Here you can change the product’s SEO title and description. You can use the smart tags to automatically generate descriptions based on your product details, or enter a custom title and description instead.
Make sure that you use your main product keyword in both the title and meta description fields.
After that, click on the ‘Social’ tab to optimize how your product will display across social media.
You have complete control over the product image you want to use, which will help you get more engagement from your followers.
Next, click the ‘Schema’ tab. Schema markup lets the search engines better display your content in the search results.
If you’ve seen product listings with prices, star ratings, and more, then you’ve seen product schema in action.
All in One SEO will automatically choose the right schema type for your products and fill in the pricing, availability, and more.
You can also add additional schema markup, including the brand, identifier type, and identifier fields. Identifiers can be any unique ID such as ISBNs, GTIN codes, or UUIDs.
Once you’re done customizing your product listing for SEO, make sure to click the ‘Update’ button to save your changes.
For more details, see our ultimate WooCommerce SEO guide for ranking higher in Google.
We hope this article helped you learn how to add product tags, attributes, and categories to WooCommerce. You may also want to see our expert picks of the best WooCommerce plugins for your store and our guide on how to create an email newsletter the right way.
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.
Do you need to add a scrolling news ticker to your WordPress site?
You’ll often see news tickers used by television networks to highlight breaking news. You can add a news ticker to your website to highlight special deals or popular posts.
In this article, we’ll show you how to add a scrolling news ticker in WordPress.
What Is a Scrolling News Ticker?
A news ticker scrolls a single line of information continuously across the screen. They typically display current news items, sporting results, live financial and currency information, and weather information.
They are a great way to display small snippets of information that are always changing. You’ll find that a news ticker can display quite a lot of information in a limited space on your WordPress blog.
For example, you could use a news ticker to display your best performing posts, items in your store that are on sale, or any other information that you want to highlight.
Upon activation, the plugin adds a News Ticker menu item to your WordPress admin area.
You need to navigate to News Tickers » Add New to add a news ticker. On the next screen, you will have the ability to give this particular news ticker a name, ticker text, and link.
For each ticker, you can add as many ticks as you like. These are the separate pieces of information you want to display, and each can have its own link.
If you want to add another ticker item, then press the plus + button at the top right of the current tick. A new ticker item will be added.
Once you are done adding ticker items, you should click on the Ticker Mode tab. There are three different ticker modes available: scroll, rotate, and list.
Scroll mode is the default setting because it is the most commonly used in television networks. Rotate is another good option if you want to show one ticker at a time.
The settings on the rest of the page allow you to adjust the behavior of the news ticker. You can configure scroll speed and direction, override the default ticker dimensions, and choose the spacing between each tick.
The plugin generates a shortcode as well as a PHP function for each news ticker you create. You can either add the shortcode to a post, page, sidebar widget, or you can directly insert the PHP function into your theme files.
Once you insert the ticker shortcode or PHP function, then you can visit your website to see it in action.
Do you need to add custom styling to the first and last items of your WordPress navigation menu?
You could simply add a custom CSS class to the first and last menu items, but if the menu is rearranged, then those items will no longer be first and last.
In this article, we’ll show you how to add a .first and .last class that will style the first and last menu items even if the menu items are reordered.
Why Style the First and Last Navigation Items Differently?
In a past custom design project, we needed to add some custom styling to the navigation menu items of a WordPress website. This design in particular required different styling for the first menu item and the last menu item.
Now we could easily edit the menu and add a custom CSS class to the first and last menu item. But because we were delivering the project to a client, our solution had to work even if they rearranged the order of the menus.
In this tutorial, we’ll show you two ways to style the first and last items of your navigation menu. You can choose your preferred method from the list below:
This creates .first and .last CSS classes for your first and last navigation menu items respectively. You can use those classes to style the menu items.
For this tutorial, we’ll add the following basic CSS formatting to our theme’s style.css stylesheet to simply bold the first and last menu items:
.first a {font-weight: bold;}
.last a {font-weight: bold;}
Here you can see screenshots before and after we added the code to our demo site.
Method 2: Styling First and Last Items Using CSS Selectors
A second way to style the first and last menu items differently is to use CSS selectors. This method is simpler, but it may not work with some older browsers, such as Internet Explorer.
Note that you will need to replace ‘yourmenuid’ with the actual ID of the navigation menu. The selectors ‘first-child’ and ‘last-child’ select an element if it is the first and last child of its parent, which is the navigation menu.
For example, we used this code to bold the first and last navigation menu items on our demo site:
ul#primary-menu-list > li:first-child a {
font-weight: bold;
}
ul#primary-menu-list > li:last-child a {
font-weight: bold;
}
We hope this tutorial helped you learn how to add the .first and .last class to WordPress navigation menus.
The trickiest part in writing an essay is how to avoid plagiarism. You may be passing somebody else’s work as your own in your paper and not even know about it. However, such carelessly done...
Many businesses don’t consider branding to boost their online presence, and ultimately, e-commerce sales. Your logo can be a significant factor in creating an online presence, as it represents the face of your company and...
Do you want to resend welcome emails to your WordPress users?
A welcome email helps build trust with new users and ensures that people remember your website and business.
However, your welcome emails can sometimes end up in the spam folder, or users don’t receive the messages. That’s why it’s important to resend welcome emails.
In this article, we will show you how to resend new user welcome emails in WordPress.
Why Resend Welcome Emails to New Users in WordPress?
Creating welcome emails is a great way to customize the emails that new users receive when they register on your website. This helps build your brand and makes your site memorable for customers, members, and subscribers.
However, the welcome emails that you send might not make it to your users’ inboxes. Plus, email providers like Gmail can also flag your emails as spam.
One of the reasons for this issue is that WordPress hosting services don’t configure the mail function properly. As a result, your welcome emails fail to reach your users or land in the spam folder.
To overcome this issue, you can use an SMTP (Simple Mail Transfer Protocol) service. It allows you to use an SMTP server to send WordPress emails and ensure that they reach your users.
An SMTP service also allows you to log any emails that don’t get delivered so that you can easily resend them.
That said, let’s look at how you can log welcome emails that didn’t reach new users in WordPress.
With WP Mail SMTP, you can track email deliverability in WordPress. The plugin keeps a record of every email sent from your website and lets you resend emails that haven’t been delivered.
Upon activation, you can head over to WP Mail SMTP » Settings from your WordPress dashboard and then enter the license key.
You can find the key in your WP Mail SMTP account area.
After entering the license key, go ahead and click the ‘Verify Key’ button.
Next, you can scroll down to the Mailer section and choose how you would like to send your WordPress emails.
All you have to do is select your preferred mailer. The PHP mail will be selected by default, but we don’t recommend using this method as it’s unreliable.
After that, you need to go to the Email Log tab in the WP Mail SMTP settings and check the box for the ‘Enable Log’ option.
This way, you will be able to track email deliverability in WordPress.
When you enable the option, you will see additional email tracking settings under the Email Log tab.
Go ahead and check the boxes for Log Email Content, Save Attachments, Open Email Tracking, and Click Link Tracking so that you will get more data about email deliverability.
Next, you can select the time period for keeping the email logs.
Simply choose an option from the dropdown menu for ‘Log Retention Period’ and then click the ‘Save Settings’ button.
How to Resend New User Welcome Emails
After setting up email logs, you can now see which welcome emails didn’t reach your users and which ones need to be resent.
To start, simply navigate to WP Mail SMTP » Email Log from your WordPress admin area.
The plugin will show all your emails in this section. You can see the email subject, who it’s been sent to, the source, and whether users opened and clicked the email.
If you see a red dot for any email, it means it wasn’t delivered. On the other hand, a green dot shows the email has reached the user’s inbox.
To resend a welcome email that didn’t get delivered, go ahead and click the ‘View Log’ option.
Now, you will see logs for the individual email.
After that, navigate to the ‘Actions’ tab and click the ‘Resend’ button.
A popup window will now appear.
Simply enter the recipient’s email address and click the ‘Yes’ button to resend the email.
Next, if you see multiple emails that failed to deliver, you can use the bulk resend feature from the email log screen.
Go ahead and check the box next to the emails you want to resend. After that, select the ‘Resend’ option from the Bulk Actions dropdown menu.
When a popup window appears, you can click the ‘Yes’ button to resend multiple emails.
That’s it! WP Mail SMTP will resend welcome emails and any other email that fails to reach your new users.
Do you want to limit the number of posts in your WordPress RSS feed?
By default, WordPress displays the ten most recent posts in the main RSS feed. You can change that to include more or fewer articles in the feed.
In this tutorial, we’ll show you how to easily limit the number of posts in the WordPress RSS feed. We’ll also show you how to easily create an RSS sitemap for search engines as well.
Video Tutorial
If you don’t like the video or need more instructions, then continue reading.
Change Posts Limit in WordPress RSS Feed
First thing you need to do is go to Settings » Reading page in your WordPress admin dashboard.
From here, you need to change the value next to the ‘Syndication feeds show the most recent’ option. Simply enter the number of posts you want to be shown in your RSS feed.
Below this option, you’ll also see the option to show either the full text or excerpt of your posts in RSS feeds.
We recommend using the Excerpt option because it reduces the feed size and increases your page views.
After that, don’t forget to click on the Save Changes button to store your settings.
That’s all, you have successfully limited the number of posts displayed in RSS feed of your site.
Create RSS Sitemap for Search Engines
If you only want to change the number of posts in your RSS feeds for more search engine visibility, then increasing posts in your main WordPress RSS feeds is not the best way to do this.
Many popular search engines like Google and Bing support RSS sitemaps.
Unlike XML sitemaps which contain most of your content, an RSS sitemap provides search engines with the latest posts on your site.
This helps search engines quickly find the updated posts on your website. You can set a different limit of posts that you want to include without affecting your main WordPress RSS feed.
The easiest way to add anRSS sitemap in WordPress is by using All in One SEO for WordPress. It is the best WordPress SEO plugin on the market and allows you to easily optimize your website without any SEO skills.
Do you want to add a search form to a WordPress post?
Adding a search form to your post or page content is a good way to encourage your visitors to find more content and stay on your website longer.
In this article, we’ll show you how to add a search form in your posts and pages using a WordPress search shortcode.
Why Add a Search Form to Your Posts and Pages?
If a visitor has enjoyed reading a post on your WordPress blog, then they will likely want to read more. Offering a search form in the post will help them find more of your content that they are interested in.
Your visitors are also more likely to join your email list, leave a comment, make a purchase, and follow you on social media.
In this tutorial, we’ll show you how to add the standard WordPress search form to your posts. If you want to add a custom search form, then see our step by step guide on how to create a custom WordPress search form.
We’ll show you two methods to add a search form to your posts, and the first is the simplest. Use the links below to jump to the method you’d like to use.
The first thing you need to do is install and activate the plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit the Settings » SearchWP page and then click on the ‘License’ menu option.
You then need to enter your license key in the License box. You can find this information in your account on the SearchWP website. After that, you should click the Activate button.
Next, you need to click on the Engines menu option. This brings you to a screen where you can choose your search engine settings.
Here you need to create a site-wide search engine. You can adjust your search engine settings by clicking on the Posts, Pages and Media drop downs.
The Attribute Relevance sliders in each section adjust how the search engines value and rank content. For example, if you want to value the post title higher than the content, then you can adjust the sliders accordingly.
After you’ve finished adjusting the settings, make sure to click the ‘Save Engines’ button to save the default search engine.
Adding a Search Form to a Post
Now you need to download the SearchWP shortcodes extension to easily add your new custom post search form to WordPress.
You’ll need to visit the SearchWP Shortcodes Extension website and then click the ‘Download available with active license’ button.
After that, you need to install and activate the extension the same way you installed the plugin above. Now you can add a search form in your posts.
Simply edit the post and place your cursor where you want to add the search form. After that, click the plus ‘Add Block’ icon to bring up the blocks menu.
Next, type ‘html’ into the search box. Then, select the ‘Custom HTML’ block.
Once you’ve added the new block, you can add the following shortcodes and HTML to your page. If you need more help, then see our guide on how to add a shortcode in WordPress.
This code will add a search form to the post, create a section to display the search results, show a no results message if necessary, and add pagination if the results go into multiple pages.
Make sure you click Publish or Update to save your post and make it live.
To see the search form in action, simply view the post on your WordPress website. This is how it looks on our demo site running the Twenty Twenty-One theme.
You can also add a search form to your WordPress posts by use of a code snippet. This method is not recommended for beginners, so if you’re not familiar with code, then you should use Method 1 instead.
In this method you will have to edit your theme’s functions.php file.
Do you want to stop receiving new user email notifications in WordPress?
If you have enabled user registration on your site, then WordPress sends a notification email to the admin email address every time a new user registers. As your site grows, you will get many new users joining every day, which can make these emails annoying to deal with.
In this article, we will show you how to disable new user notifications in WordPress.
Why Disable User Notification Emails in WordPress?
Allowing user registration in WordPress has a lot of benefits. If you have a multi-author blog, online store, or membership website, then user registrations are necessary.
However, there is also a downside. WordPress will send an email by default to the admin email address, notifying you whenever a new user registers.
While these emails are good for keeping an eye on who is registering on your website and keeping out spam registrations, they can be annoying to deal with if you have several people joining each day.
Having a lot of new user notifications can clutter your email inbox, making it difficult to spot important emails from your clients and customers.
This is where disabling emails about new users can come in handy. We will look at two beginner-friendly ways to help you turn off email notifications. The best part is that you won’t have to know how to write code.
Let’s look at how to disable new user notifications in WordPress using WP Mail SMTP and WPCode:
The plugin fixes the problem of emails not being delivered to your customers. That means that all your emails will reach your users instead of ending up in their spam folders or being blocked completely.
WP Mail SMTP also offers different settings to take control of your WordPress emails, such as disabling automatic update notifications. Among these settings is the option to disable new user notification emails sent to the admin’s email.
Note: For this tutorial, we will be using the WP Mail SMTP Pro version since it includes the Email Control options. There is also a free version of WP Mail SMTP that you can use to fix email deliverability issues on your site.
First, you will need to install and activate the WP Mail SMTP plugin on your WordPress site. If you need help, then follow our step-by-step guide on how to install a plugin.
Upon activation, go to WP Mail SMTP » Settings from your WordPress admin panel and then enter your license key. You can find the license key in your WP Mail SMTP account area.
After entering the key, go ahead and click the ‘Verify Key’ button.
You will now see a popup showing that you have successfully verified the key, and your WordPress website will receive automatic updates.
Next, you can head over to the ‘Email Controls’ tab from the menu on the top in WP Mail SMTP.
This is where you can customize your new user registration email notifications.
After that, simply scroll down to the New User section.
Then, you need to click on the toggle to disable the ‘Create (Admin)’ option. And don’t forget to hit ‘Save Settings’ when you are done.
Once this setting is toggled off, the admin won’t receive the default WordPress email from new users. However, the new user who registered will still get an email confirmation.
That’s it! You’ve successfully disabled new user notification emails for admins using the WP Mail SMTP plugin.
Method 2: Disable New User Emails in WordPress Using WPCode
If you don’t want to use an SMTP plugin, then you can add a code snippet to your theme’s functions.php file or use a code snippet plugin to disable email notifications:
<?php
function wpcode_send_new_user_notifications( $user_id, $notify = 'user' ) {
if ( empty( $notify ) || 'admin' === $notify ) {
return;
} elseif ( 'both' === $notify ) {
// Send new users the email but not the admin.
$notify = 'user';
}
wp_send_new_user_notifications( $user_id, $notify );
}
add_action(
'init',
function () {
// Disable default email notifications.
remove_action( 'register_new_user', 'wp_send_new_user_notifications' );
remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications' );
// Replace with custom function that only sends to user.
add_action( 'register_new_user', 'wpcode_send_new_user_notifications' );
add_action( 'edit_user_created_user', 'wpcode_send_new_user_notifications', 10, 2 );
}
);
We don’t recommend editing your functions.php file directly. That’s because even the tiniest of mistakes in the code snippet can make your site inaccessible.
The first thing you will need to do is install and activate the WPCode plugin in WordPress. For more detailed instructions, see our step-by-step guide on how to install a WordPress plugin.
Head over to Code Snippets » + Add Snippet in the WordPress site admin area. There, you will see a library of code snippets to choose from.
The good news is that WPCode has a pre-made template for disabling new user notification emails. Just type in ‘user’ in the search bar and click ‘Use snippet’ under the ‘Disable New User Notifications’ snippet.
Since the template already has the code inside, you don’t have to write your own.
You will see the code already in place with the ‘Code Type’ set as a PHP snippet.
If you want to adjust where this code runs, you can scroll down. The Insertion method should be set to ‘Auto Insert’.
You can open the dropdown menu to decide where you want the code to be executed or even set a schedule for when you want the code to be active.
For example, you can set the code snippet to disable user registrations from certain pages. This could be handy if you have custom user registration pages for different membership programs.
But for most website owners, leaving the default setting to ‘Run Everywhere’ is the way to go.
Once you are done configuring where to execute the code snippet, you can scroll to the top right corner and toggle the ‘Inactive’ button to ‘Active’ to activate the code.
You have now successfully disabled the new user notification emails.
Don’t forget to click the ‘Update’ button to save your changes.
Bonus: Turn Off Comments Notifications in WordPress
WordPress notifications can be super annoying. If your website receives a high volume of traffic, particularly on older posts, then you may also be flooded by comment notification emails.
The good news is that there’s a quick fix for this.
All you have to do is go to Settings » Discussion. The comment notification emails are automatically enabled by default in WordPress.
You can disable comment notifications by unchecking the boxes next to ‘Anyone posts a comment’ and ‘A comment is held for moderation’. That way, you won’t receive emails when someone posts a comment or when a comment is held for moderation.
If your business is not online, you’re either not sold on the idea, or you’re living under a rock. The first place the average millennial looks to find products or services is not a store...