How to Change the Placeholder text for the WordPress Search Form

Today we will learn how to change the placeholder text for WordPress search forms.

To display a WordPress search form you can use the following PHP code:-


<?php get_search_form(); ?>

Now, we just need to add the below code to your functions.php /** * Search Form */ function wp_search_form( $form ) { $form = '<section class="search search-form"><form role="search" method="get" action="' . home_url( '/' ) . '" > <label class="screen-reader-text" for="s">' . __('', 'domain') . '</label> <input type="search" class="search-field" value="' . get_search_query() . '" name="s" id="s" placeholder="" /> <input type="submit" id="searchsubmit" class="search-submit" value="'. esc_attr__('Go', 'domain') .'" /> </form></section>'; return $form; } add_filter( 'get_search_form', 'wp_search_form' );

We hope this article has helped you to be able to change the placeholder text for the WordPress search box.

Are you wanting to customise the default WordPress Search?

You may also be wondering how you can customise the default search to only display certain things. For example, you may not want to search for posts, but only display pages or certain CPT (Custom Post Types). This can also be done bespoke, but we tend to find the Relevanssi – A Better Search plugin to do the job perfectly well, and safe quite a bit of time. Relevanssi replaces the standard WordPress search with a better search engine, with lots of features and configurable options. You'll get better results, better presentation of results and your users will thank you.

If you need assistance with setting this up, feel free to get in touch, we look forward to hearing from you.

 

Nathan da Silva - Profile

Posted by: Nathan da Silva

Nathan is the Founder of Silva Web Designs. He is passionate about web development, website design and basically anything digital related. His main expertise is with WordPress, Magento, Shopify as well as many other frameworks. Whether you need responsive design, SEO, speed optimisation or anything else in the world of digital then get in touch. If you would like to work with Nathan, simply drop him an email at [email protected]

It’s good to share

Link Building: What, Why & How

Link building is one of the SEO strategies that have stood the test of time.

Ever since 1998, Google used backlinks (getting hyperlinks from someone’s website back to your own) to assess website quality. So if your site has a lot of links from relevant sources, Google will deem it an authority site, boosting your ranking in the SERPs…

…giving you a major increase in traffic and pageviews!

But before we move ahead, you should know that there are two types of links.

  • Internal links are links that are placed on a domain and point to the same domain.
  • External links are links that are placed on a domain and point to a different domain.

There are many link building techniques, but below we’re going to focus on:

  • Competitor Backlink Analysis
  • Resource Pages
  • Web Directories

We’ll also go through the best backlink checker tools so you know which tool is worth investing in.

Let’s go!

See What Works For Your Competitors

Your competitors spend large sums of money and time developing a backlinking strategy.

So instead of starting from scratch, you should spy on them and reverse engineer their backlinking approach. This way, they’re the ones working hard to get the links. All you need to do is follow them to get the same backlinks!

To begin:

1. Identify Competitors:
List 5 competitors that are ranking for a keyword you’d like to rank for.

2. Backlink Analysis:
Analyse their backlink profiles with Ahrefs’ Site Explorer by adding the link from your competitors. Click on the orange loop button.

Then, click on backlinks.

Here, you can view your competitor’s backlinks. You can also sort the backlinks by selecting the Link Type button.

3. Export and Reverse Engineer:
Finally, export the list and think about what your competitor did to receive that backlink. Is it the quality of their content? Do they offer something valuable and unique?

You might find it a bit difficult at first. But the more you do this, the more you’ll get a good feel for the process.

Get Listed On Resource Pages

Bloggers and influencers often have a resource page that includes:

  • Tools
  • Products
  • Services
  • Website

…they use to run their business.

Getting listed on resource pages is one of the easiest ways to get strong and powerful backlinks.

For example:

I found Loud Digital’s resource page and sent them an email requesting to get listed on their resource page. They included my SEO Guide 2 days later.

…And that is how simple it was to build a backlink from a site with a respectable DR of 37!

To get listed:

1. Undergo Google Footprint Search:
Use an advanced search like [Your niche] + “resources” to find more targeted and specific Google results.

Alternatively, you can also try Inurl:[your niche] + resources to narrow down your results.

2. Scrape the links
Right-click on a search result and click ‘scrape similar.’ Now you will have all the relevant links on the page.

Then click ‘export to Google Docs.’

3. Analyse a Resource Page:
To see whether the site will be a good fit, you’ll need to assess:

  • Relevancy: Does your product fit well for their site and yours?
  • Types of Links: What other links do they have on their resource page?
  • Page Type: Is there a better fit?
  • Special Offers: Can you give users a discount or free trial so you get features?

4. Pitching your site:
First, begin thanking the site owner for their resource page and how it’s helped you learn more about a topic. You can then offer something in return, like an evergreen detailed guide within the same niche that would be helpful to their audience.

Take Advantage of Web Directories

Web directory link building is the process of adding your website into an online database.

The directories should be:

  • Active
  • Relevant to your industry
  • Well moderated

…so you can stay on-topic with Google!

If your site is new and recently indexed, getting links from a directory is a great way to start. It shouldn’t form the backbone of your backlinking strategy. However, it can help give your website that much needed link juice boost!

To start:

1. Identify a high-quality directory:
See if the site’s internal page is indexed to Google’s database. You can check this by doing a Google search for the directory’s homepage URL, to see whether the page comes up.

Low-quality directories don’t tend to show up and are not generally indexed by Google.

You can also run the site through Ahrefs to see how authoritative the domain is.

2. Create a Good Directory Submission:

Ideally, each submission is:

  • Unique
  • Descriptive
  • Brand name or URL focused

For example, here’s how I would phrase my submission if I submitted my site to two different directories:

  • Matthew Woodward provides SEO and Affiliate marketing advice to beginner and intermediate internet marketers.
  • Matthew Woodward is a seven-figure blogger who provides actionable marketing and SEO advice for new and experienced bloggers who are keen to increase their traffic

Here, I’ve conveyed the same message. But I wrote it in different ways so I can avoid issues like over-optimization, duplicate content, and manipulative link building.

Tried and Tested Directories

Here are 10 directories with high domain authority and thousands of indexed pages:

Best Backlink Checkers

A backlink checker can be extremely helpful when it comes to carrying out the backlinking strategies above.

1. Ahrefs: Ahrefs has the biggest and most usable database and starts at $99 per month.

2. SEMRush: SEMRush also has an intuitive dashboard. The subscription starts at $99.95/month.

3. SEO SpyGlass: SEO Spyglass had a major update recently, making it significantly more user-friendly. It’s customizable, rapid fast, and a more budget-friendly option. SEO Spyglass costs $124.75 for the first year and then you only pay $4.17/month afterward.

Rounding Up

In the eyes of a search engine, your content is:

  • High quality
  • Worth ranking

..if you have many high quality, spam-free backlinks.

The more quality backlinks, the better.

Backlinking doesn’t have to be difficult and challenging. But the process of gaining backlinks does take time. Remember to be consistent with your SEO efforts and persistent with your outreach.

Get started today!

Posted by: Matthew Woodward

Matthew Woodward became fascinated with all things internet at a young age. He started building his own websites as a young teenager, then moved to the corporate world of marketing and finally broke free in 2012 to begin his own blogging journey. Since that time he has used his blog to share his expertise in SEO and online marketing and in the process has helped thousands of people build and grow their businesses.

 

It’s good to share

The 4 best SEO practices for 2020 and beyond

Let’s face it, most businesses are looking to get their websites ranked higher on search engines. In fact, many companies spend small fortunes doing exactly that. But what if you don’t have a budget that could rival the GDP of a small country? There are tonnes of articles on the web that are geared toward telling people what the best SEO practices for 2020 are, just as there were last year and just as there will be next year. The truth is best practices are not year dependant – search engine algorithms don’t really care what the date is.

Why did we choose this title for the piece, then? Well, because it does happen to be 2020 and the best practices we will outline here are going to be just as valid next year too… and the year after, and… you get the idea.

The SEO best practices that we will be detailing here are proven to work and are used by the majority of successful businesses. With the shuttering of Google Plus by Google (who else?), one of these practices has suffered something of a body blow (more on that a little further down) but is still extremely useful.

Let’s get to it than with our, tested and proven, 4 best SEO practices for 2020 and beyond!

Be sure to create and publish epic content

At the core of all successful SEO campaigns is, of course, content. Even in the early days, when sites were garish and content filled with poorly crafted spam, content has always been the cornerstone of every campaign. These days internet searchers and indeed search engines are much more finely attuned to what makes great content, and nothing but engaging and well-created content is going to cut the mustard.

For that reason, as far as SEO best practices go, well-written content that engages users and encourages them to take action, without screaming it at them, is one of the best things that a business of any size could start with.

The skyscraper content methodology is one way for businesses to rank better in search, and to do it legitimately. What this involves is finding the best piece of content on a particular subject, then substantially improving it. For instance, if a really high ranked piece had ten ideas or points for/on a subject, double it. Add infographics, video, research and cite sources, use relevant quotes on the subject from recognised experts in the field.

As mentioned, this is a perfectly legitimate method of improving site authority and rankings. When you become proficient in creating powerful, leading content, you will find that you yourself will begin to be cited and quoted as an industry expert.

Get used to keyword research

While this one does seem rather obvious, keyword research has been the backbone of SEO practices ever since content creators became aware that search engines were starting to ‘evolve’ to look for and rank them in terms of importance, or strength.

Which keywords or phrases are you going after, and are the keywords even relevant? Great keywords and phrases are the very foundations upon which successful campaigns using SEO best practices lean on. If you are not taking aim at the right keywords then more likely than not, your SEO campaign is going to fall flat on its face. What you need to do is assessing competing businesses for the correct keywords and phrases.

If your niche is particularly tough to get ranked in, marketing companies, for example, are everywhere and it is notoriously difficult to rank without spending an exorbitant amount on paid ads, then you should be focused on key phrases. Many call those long-tail keywords, but whichever terminology you use, the result is the same.

Searchers generally use whole phrases when they are further along in the purchasing decision and know exactly what they want: “medium sized dog collar for sale near me” types of search, as opposed to “dog collars”. The first is the kind of specificity that you should be gearing your key phrases toward, keeping in mind that search engines are smart enough to interpret intent. If you happen to sell dog collars there is no need to aim for exactly that kind of search, so be creative.

There are lots of keyword and key phrases research tools available on the web, including the one provided by Google (Google Keyword Planner).

Make use of on-page optimisation techniques

What should be next on your to-do-list is making sure that your website itself is optimised for your targeted keywords and or key phrases. SEO experts and others ‘in the know’ all agree that on-page SEO best practices, properly executed, influence website rankings by 40%. This means paid ads aside, all you need to do in order to find your website on the first two pages of search results is to get your on-page optimisation done correctly.

“that’s great, but how do I do that?”. Good question. The first element that you should begin with is title tags. Only shoot for one keyword or key phrase per page and insert that right into the title tag and in the first 30 words of the page content.

Use it again somewhere near the centre and in the final paragraph. Depending on the length of the page, you should also sprinkle it elsewhere on the page to really hit the SEO best practices sweet spot. How many? It’s generally accepted that between 3 and five occurrences per 500 words is enough, just be wary of using it too much. If it doesn’t read naturally, you have probably overdone it.

Content syndication

Just writing awesome content is not enough, search engines have to collate it first. Known as indexing, the process can take much longer than it used to (there’s a lot of pages on the web these days, far more than even just a few short years ago).

Content syndication is one of those SEO best practices techniques that make some people think “huh, why didn’t I think of that?”. It not only helps get your content indexed faster, but it also helps it rank higher by having it appear in multiple places with much more traffic generation. Facebook and LinkedIn are great for content syndication as they are crawled by search engine ‘spiders’ on a regular basis.

Simply put, you copy your content in its entirety to these sites, and if you add a link at the bottom like “originally published at yoursite.com”, then there’s a handy backlink for you too. Now, this DOES NOT mean that it is ‘duplicate content’. It’s not the same thing, at all. Duplicate content is where the same content appears more than once on the same website.

To conclude

Following SEO best practices for 2020, or any other year, does not have to mean hiring an SEO specialist, especially if your budget does not allow for it. It is relatively straightforward and can be done by anybody that is responsible for creating your content. Help move your business forward by taking care of these details.

 

Vanessa M - Profile

Posted by: Vanessa M

Vanessa Marcos is a writer and social media manager whose passion is copywriting and getting words together to create new stuff. #creativewriting #copywriting Love her writing? Find out more at Calma Copywriting.

It’s good to share