, ,

How to Create a Self-Hosted WordPress Blog With a Custom Domian And Web Hosting

Build a website blog using WordPress: 

Do you want to create a Self-Hosted WordPress Blog, How? You can Build a website. Everyone in today’s world is using online platforms. So if you have a social presence. You must try to build a website and can earn some bucks from it. So if you planning to build a website blog I will guide you step by step. So, first of all, you have to purchase a domain name and web hosting. Here is a full guide to Purchase cheap domain name and web hosting. So you can get an idea to purchase it. Many peoples were earning money from their blogs. You also can make money. Therefore it was a nice idea to publish your work on your own website. Today I will tell you how you can build a website blog. So after purchasing a domain name and hosting you have to link your domain name to web hosting.

Build your own website blog using WordPress:

Build a website After linking your domain name to your web hosting. You have to install WordPress.After installing WordPress you have to select a theme for your site.You can check that your website will be now online. You can select the different plugin. Hence plugin is always useful. First of all, customize your theme by going to appearance settings. You can upload your logo. After making all the basic settings you need to install following some basic plugins.

  1. Yoast SEO: Yoast SEO is the best all in one SEO plugin you need for on page SEO of your website. You can purchase it or use it for free. By using Yoast SEO you can easily generate your website sitemap and submit it to the Google , Bing, and handed webmaster tools. Therefore your site will be added to search engines. It helps search engine to easily index your site. Yoast SEO helps you to write good SEO posts.
  2.  Akismet plugin: The Akismet plugin is another best plugin which filters the spam comments on your site. It is a very useful plugin. You just have to install it and activate. After activation, you have to verify through API key. After activating you can select your basic settings and it filter out the spam comments.
  3. Google analytics: Google analytics is Google’s own product and free as well. You can easily track the traffic using it. It is very useful to give you an idea how to improve your website traffic. You can see your bounce rate. Page views as well as new and returning visitors. Just install it and activate and link it to your Google analytic account.
  4. Cache plugins: Cache plugins are very useful for your website. By using these visitors can easily access your website and increase your website speed.So make sure to install it. And tell about it to your users in your privacy policy.

Web design: How to design your website:

There are much paid web designing available online.But if you are a newbie and don’t want to purchase. You can easily design your website in WordPress there are many themes available in WordPress for free. You can use them and can customize them.Hence it is not a big deal.But make sure that you are using a clean and neat theme because it is easy to load and can improve your rankings.


Things to keep in mind before designing a website with WordPress.


  1. Make sure your theme is neat and clean: First of all, you have to select a theme for your website. Make sure your theme is not that heavy. The theme should be neat and clean. There should be a limited image in it. Because Google just hates images in blogs. Hence Google news also don’t include media files to it.
  2. Make sure to make categories for your post: If you are writing about a particular niche. Then you don’t have to care about it. But if you are writing about technology and on another thing. You have to create categories section so that viewers can easily locate their interests.
  3. Make this pages for sure: You have to make pages for your website. The must have pages are About us Privacy policy, contact us, disclaimer pages you can make them in pages section easily in WordPress.
  4. Customize your layout: layout customization is good for the website. Add a useful widget to your layout you can easily custom your layout.By going to customize layout section in WordPress.

Tips to improve your Website rank:


  1. Post regular: Always try to post your work regularly.If you post regularly then chances of your growing are increased. Always try to update your post it can help your audience as well as your traffic rank.
  2. Don’t steal anyone content: Don’t ever try to be smart. Copying and pasting others work is prohibited and illegal. If you want to use Adsense on your site make sure that all the content on your site belongs to you.
  3. Do proper on page SEO: on page SEO is the best thing you can do with your post.It was increased the chance to get rank.Using Yoast plugin is best ways to do on page SEO.
  4. Off page SEO: off page SEO is very important for your site and post to rank. Make some good quality back links.
  5. Be active on social media: Always try to get active on social media. Share your post on social media. It can drive traffic to your website.

If you have any questions or queries feel free to comment below I will try to answer it as soon as possible.

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, , ,

A Step-by-Step Guide to Monetizing Your Blog With Affiliate Marketing

How do you monetize your blog?

If the answer is Advertisement, then I know you have a hard time generating money from your blog unless you have tons of traffic.

When I started blogging, I thought Adsense is good enough to make some serious money from my blog. But the reality was different. Adsense requires a lot of traffic to generate some good amount of money.

As I didn’t have a lot of traffic, I started looking for other monetizing methods. Then I came to know about Affiliate Marketing.

At that time, I didn’t find any step by step guide about monetizing blog through affiliate marketing. However, I was able to learn some basic affiliate marketing tips from different blogs (for example, for Amazon affiliate marketing, I’m following Market ever).

After having some ideas about affiliate marketing, I started trying it on my blog. It took almost six months to get my first affiliate sale. It seemed a slow process to me.

Recently I’ve bought a new blog and monetized it through affiliate marketing. I followed some steps that I’ve learned from my four years of blogging journey.

If you want to monetize your blog with affiliate marketing but don’t know where to start, this post is for you.

In this post, I am going to share those 7 steps that I followed to monetize my new blog through affiliate marketing.

Step #1 – Check If You are Already Promoting Products/Services That Offer Affiliate Programs

If you’ve been blogging for few months, chances that you’ve already linked to a number of recommended products/services on your blog posts that have affiliate programs.

The easiest way to get started with affiliate marketing is to find those products/services and join their affiliate programs. As you are already sending traffic to those products/services, it will be easier for you to earn affiliate commission from them.

Now let’s see how to find those affiliate programs. Follow these simple steps…

At first, you need to find where you are sending traffic from your blog. You can use Jetpack stats to see which links users clicked to leave your blog. Just install Jetpack plugin and connect it with your WordPress.com account. Most of the features of Jetpack including ‘Site Stats’ will be activated automatically. You need to give it few days to collect data for you. However, sometimes one-day data is good enough to get started.

If you are already using Jetpack plugin, that’s awesome. Just go to your WordPress dashboard and click on “Site Stats” from Jetpack.

You will find a “Clicks” section there showing external links that users clicked.

Then click on “Summaries” to see the overall clicks.

Now you have the list of sites where you are sending traffic. Make a list of those sites that offer products/services. Then go to those sites one by one and look for a link (mostly on the footer) that says “Affiliates”, “Affiliate Program”, “Become An Affiliate” or “Referral Program”. Follow the link and sign up for their affiliate programs.

You can also search on Google to check if there is any affiliate program for a particular product/service. Just search for terms like “[Product/Service] Affiliate Program” or “[Product/Service] Referral Program”

If there is an affiliate program for searched term, just join the affiliate program. If you haven’t found any affiliate program for the product/service, just set up a Google Alerts for the terms “[Product/Service] Affiliate Program”. You will get notifications about the affiliate programs.

I hope you’ve found some affiliate programs. But remember, just because it has affiliate program doesn’t mean you should promote it. You have to make sure that you are promoting the right products. If you end up promoting a bad product, you will loose TRUST of your audience which is very important for affiliate marketing. So choose wisely.

Now join the available affiliate programs that seem right to you. It might take some times to get approved by Affiliate Program.

Keep a list of the affiliate programs that you’ve joined.]

Step #2 – Find Relevant Affiliate Programs

If you haven’t found any affiliate programs (or just found a few programs) by following step #1, don’t worry.

In this step, I will show you how to find relevant affiliate programs for your blog.

Finding relevant affiliate programs is very important to get success in affiliate marketing. Just because someone makes huge money from Web hosting affiliate programs doesn’t mean this will work for you too. You have to find products/services that are relevant to your blog.

Here are some ways to find out the right affiliate programs for your blog.

  1. Think of some relevant products/services you like and check if there are any affiliate programs for those products/services.
  2. Do some research on successful blogs on your niche. Discover what products/services they are promoting on their blogs. Take a look at their sidebar banners and resource/tools page. Check if there are any product review posts on their blogs.
  3. Search on Google. If you are running a health blog, search for the term “Health-related affiliate programs”
  4. Use an Affiliate Network. It acts as a mediator between publishers (you) and merchant affiliate programs. It’s a marketplace of affiliate programs. You will get thousands of affiliate programs on a single affiliate network. There are a lot of affiliate networks and here are some best affiliate networks.
  • Shareasale is one of the most popular affiliate marketing networks that has over 3900 affiliate programs. It has affiliate programs for almost every niche.
  • ClickBank is the best marketplace for digital products. It has digital products for every niche.
  • CJ Affiliate by Conversant (formerly Commission Junction) is one of the oldest networks.
  • Impact Radius is very popular for tracking, reporting, and payment.
  • Amazon Associates is the biggest affiliate program offered by Amazon. If you are planning to promote physical products, join Amazon associates.

ShareASale is an Affiliate Network that is used by thousands of bloggers.

Make a list of relevant affiliate programs for your blog. And start joining them one by one.

Step #3 – Cloak Your Affiliate Links & Add Those Links Automatically into Your Posts

I hope you already got approved by some of the affiliate programs you’ve joined.  If you haven’t got approved by all programs immediately, don’t worry. While some affiliate programs approve immediately, others might take some times.

Every affiliate program provides you a unique affiliate link to track your sales. This link may look something like this:

http://partners.xyz.com/c/214426/177309/3094

This is pretty ugly and scary. You’d not love to add this link to your blog posts.

What you can do is cloaking the affiliate link. It means masking the affiliate link. Your cloaked affiliate link will be something like this:

https://earnwebtech.com/go/xyz/

It looks good and it’s easy to remember.

Like everything, you can do it by using a WordPress plugin. There are a lot of affiliate link manager plugins out there.

I am using ThirstyAffiliate to manage my affiliate links. It’s very easy to use. Just Install the plugin and go to WordPress Dashboard > Affiliate Links > Add New.

Yes, it’s that much easy.

I’ve seen a lot of bloggers not to cloak affiliate links. It’s a huge mistake!

If you don’t cloak your affiliate links, you’ll be in trouble when one of your affiliates decides to change its affiliate link. Recently HostGator has moved its Affiliate Program to Impact Radius from in-house. As an HostGator affiliate, I have to update all HostGator links with the new affiliate link. It’d be tough for me if I wasn’t using an affiliate link manager plugin.

So cloak your affiliate links right away.

Now let’s see how to add affiliate links automatically to your blog posts.

As you weren’t in affiliate marketing from day 1 of your blogging journey, chances that you’ve linked to recommend products/services several times. But those were just plain links, not affiliate links. Those won’t generate commission for you.

It’d be tough for you to find those links and replace those links with affiliate links one by one.

Here’s an easy way. Thirsty Affiliate has an add-on named Autolinker that will do it for you.

ThirstyAffiliate Autolinker scans your all blog posts and replaces all specified keywords into affiliate links. Just setup your affiliate links with a list of Keywords and it takes care of the rest.

However, it’s a premium addon-on which costs $49 AUD (about $35 USD). But it worths your money.

Once you’ve installed the add-on, you will notice “Autolinks Keywords” section when you’re about to add a new affiliate link. Just specify the keywords that you want to replace with affiliate links.

You can also add Keywords to your old affiliate links. Just edit those links.

You can select the number of times you want Autolinker to add affiliate links.

Automatic affiliate linking will surely increase your revenue.

Step #4 – Use An Affiliate Aggregator Service

If you write about many topics on a single blog, then you will have to join a lot of affiliate programs to monetize your blog properly.

It will be time-consuming. On that case, you might consider using an affiliate aggregator service like VigLink which will automate access to thousands of affiliate programs.

VigLink is connected with more than 30,000 affiliate programs. It converts your website’s outbound links into affiliate links. It also adds links to products or brands within your content.

For example, if you mention the word “iPad” on your blog post, VigLink will automatically add an affiliate link to this word. You don’t have to join any specific affiliate program for that. VigLink will take care of that.

If you mention lots of products name on your blog posts, I’d suggest you to start using VigLink on your blog.

Step #5 – Update Your “Most Popular Posts” With Affiliate Links

No matter how you have been blogging, some of your posts will be generating more traffic than others. Those are the most popular posts of your blog.

These posts can help you to generate affiliate sales. All you have to do is adding affiliate links properly to your most visited posts.

Here’s how to do it.

  1. At first, login to Google Analytics/Jetpack/Clicky or whatever you are using to track your visitors.
  2. Find the most visited posts of your blog. If you are using Jetpack, just go to WordPress Dashboard > Jetpack > Site Stats and click on “Summaries” from “Top Posts & Pages”.

3. Make a list of top 10 posts and start with the first one.

4. Review the post and look for affiliate opportunities. But don’t be aggressive.

5. Check how other bloggers are monetizing the same topic post.

6. If you haven’t found any relevant affiliate links for the post, at least, try to link a post which you’ve monetized with affiliate links.

7. Do the same for other posts.

I’d suggest you not to be aggressive while adding affiliate links to your most popular posts. If there is no relevant affiliate link for the post, just keep as it is. But you can optimize the post for subscribers, social exposure etc.

Step #6 – Write Blog Posts That Generate Sales

By now you should have a good idea of what products/services to promote on your blog. But if you don’t know how to promote it properly, you won’t be able to increase your sales.

Now I’ll be sharing few blog post types that generate sales.

Review Posts – Though product reviews shouldn’t be written just for the sake of affiliate sales, but you can expect some sales from your reviews. Just make sure that you are honest with your reviews. No product is perfect. So don’t hesitate to write the cons of the products.

Here are some essential tips for writing product reviews.

  • Write pros and cons of the product/service.
  • Share your personal experience how you use the product.
  • Use keywords like price, problem, and review to generate traffic from Search Engines.
  • Give rating to the product. I use WP Rich Snippets Plugin to do that. It will increase your CTR.
  • Add a clear recommendation.
  • Share special discounts or free trial if there is any.

Comparison Posts – These posts are very effective for affiliate marketing. People often search for comparison between products. You can take this advantage.

Just pick two products that are very similar and people get confused about which one to choose.

For example, HostGator and Bluehost are two best web hosting companies. People often search for the term “HostGator Vs Bluehost”. You can help people to choose one and expect some sales.

‘How to’ Posts – These are the most popular posts on the internet. You can use these posts to generate affiliate sales from your blog. For this, you have to find out how your affiliate products/services can solve others’ problems. And write ‘How to’ posts based on affiliate products.

You can also write List Posts, Alternative List Posts etc to generate sales. Just be creative.

Step #7 – Drive Traffic to Your Affiliate Links

The more traffic you drive to your blog, the more affiliate sales you’ll generate.

The key to getting success in affiliate marketing depends on driving relevant traffic to your affiliate links. When I say driving traffic to affiliate links, I mean driving traffic to your blog and it will automatically increase your affiliate link clicks.

Here are some tips for driving traffic to your blog.

  1. Write better titles.
  2. Do keyword optimization.
  3. Write SEO Optimized posts.
  4. Blog consistently.
  5. Leave comments on other people’s blogs.
  6. Be active on social media.
  7. Be creative.

Your Turn

Affiliate Marketing can be the best way to make money from your blog if you can do it rightly.

If you follow the steps in this post, I guarantee that you will get your first affiliate sale very soon.

However, learning affiliate marketing monetization in one post can be a little overwhelming, so leave a comment if you have any questions.

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
,

How To Add Random Header Images In Your Blog

Do you want to add random header images in your WordPress blog? Most WordPress themes come with built-in support to add header images. These images can completely change your site’s look and feel. In this article, we will show you to how to add random header images to your WordPress blog without writing any code.

Most free and premium WordPress themes come with custom header support. Custom headers in WordPress are a theme feature which allows WordPress themes to designate a header area showing an image.

The custom header is different than background image feature which allows you to set a custom background image on your WordPress site.

Having said that let’s take a look at how to add random header images to your WordPress blog.

Method 1. Random Header Images Using WordPress Theme Customizer

This method is easier and is recommended for most WordPress users.

You need to head over to Appearance » Customize page to launch WordPress theme customizer.

Next, you need to click on ‘Header’ tab to expand it. The header option can also be labeled as header image or header media in your theme.

You will see your site’s current header image, and any other header images available to use.

You need to click on the ‘Add image’ button to upload the images you want to use as header images.

Once you have uploaded a few images, they will appear under recently uploaded images.

Now you need to click on ‘Randomize uploaded header’ button under recently uploaded images and then save your changes.

You can now visit your website and reload it to see header images change randomly.

Method 2. Add Custom Header Images on Select Pages Using Plugin

This method is more flexible and gives you more control on how to show different or random header images for WordPress posts, pages, category, or tag archives.

The first thing you need to do is install and activate the WP Display Header plugin.

Upon activation, you need to edit a post or create a new one. You will notice a new meta box labeled ‘Header’ below the post editor.

Here you can select a previously uploaded header image to your theme and use it as a header for this post. You can also check the ‘Random’ option to randomly display a background image from your uploaded header images.

If you want to add more header images, then head over to Appearance » Customize and click on the Header tab.

Next, you need to click on the ‘Add image’ button to upload more header images. You don’t need to change the header of your theme just upload the images and exit the customizer.

The plugin also allows you to change header image for your category and tag archive pages.

You will need to go to Posts » Categories page and then click on the Edit button below category you want to change.

On the category edit screen, you will notice the new header section where you can select a header image or show random header images.

Don’t forget to click on the ‘Update’ button to save your changes.

That’s all, we hope this article helped you learn how to easily add random header images to your WordPress blog.

If you liked this article, then please subscribe and share on Twitter and Facebook.

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, ,

How to Use Categories Properly in WordPress for SEO & Usability

I am here again to help you with the new article – How to Use Categories Properly in WordPress for SEO & Usability. If you love WordPress you need to read this informative article. Through Earn Web Tech we are providing you latest information about WordPress and some other things for more read this article, If you like this article don’t forget to share this.

WordPress categories and tags help you to structure your blog. They also play a vital role in the SEO of your website. Whenever I talk about the SEO of a WordPress site, I always follow one simple rule:

  • Keep low-quality pages out of the search index.

Today, I will be talking about WordPress categories and SEO.

I’ll also answer the question of:

  • Should we keep categories as no-index or do-index?

Related reading: How To Write Perfectly SEO-Optimized Articles in WordPress)

WordPress categories and tags are the two most important aspects from the user experience point of view.

For example, most of the related posts plugins use categories and tags to show related posts. If your categories are not well structured, related posts will show irrelevant articles, and it will have a negative effect on the bounce rate of your WordPress blog.

How To Structure WordPress Categories:

Planning the categories of your blog should be done from day one; do it as you are writing your blog’s business plan. For example, when I created the Myonlinebazzar.com, I used the following categories:

  • WordPress Themes
  • WordPress Plugins
  • WordPress SEO
  • WordPress News
  • WordPress Hacks
  • Editorial

This helps me to stay focused on my content strategy, and moreover, if I’m writing off-topic, this guide gives me the warning to get back on track.

Now, the question arises:

  • Are WordPress categories good for SEO?

As I mentioned above, WordPress categories are useful for structuring your blog. From a search engine perspective, Google is much more interested in your content (posts). Moreover, category archive pages are considered a “low-quality page” as it doesn’t add any value in terms of search engine optimization.

Categories and SEO:

Usually, people think that the more pages we have in search results, the more traffic will we get.

This was true in 2011 when search engine bots were not so smart. The more indexed pages, the higher the traffic.

But with the Google Panda update, search engines made it clear that they hate content farming– adding pages into search engines that serve no value.

A category page usually contains the archive of a select category, and depending on your blog design, it may show a complete post or a post excerpt.

Now, here are two questions that you should ask yourself:

  • Is your category page solving any problem to a user using Google Search?
  • If your category page is indexed, isn’t it showing the same content as your post?

You are now creating duplicate content.

In short, category pages are useless from an SEO perspective but beneficial from the user experience point of view as it offers another way to navigate your site. It’s also helpful for search engine bots to crawl your website deeper.

My recommendation:

  • For better SEO, keep WordPress categories as “no-index but “do-follow”.

This will ensure that search engine bots can crawl all links, but will not index category pages.

If you are planning to change your existing category names to something more sensible, make sure your permalinks are not affected by this change.

If you use permalinks like “%category% / %posts%”, I would not advise you to change your categories or use a permalinks migration plugin for your blog.

Though some SEO experts suggest that using “%category% / %posts%” or %date% / %posts%” is a Google friendly permalinks structure, I would rather stick with a %post%.html” structure. The reason for this is that my posts will never get old and I can reuse them whenever I want.

Also, if I make any changes, it will not break my sitemap.

Do you have any questions? I love questions. Ask away in the comments below.

Don’t forget to subscribe to the Earnwebtech

And don’t forget to share this post!

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, ,

The Divi Guide for Beginners: Why This Is An Awesome Theme

Divi guide – I’ve set up my another blog website with WordPress, however, I didn’t compose any lines of codes like some other web designers do.

So how could I isn’t that right?

I did it with the Divi topic from Elegant Themes.

I found Elegant Themes a couple of years back when I first set up my blog. When I figured out how the Divi Page Builder functioned, I in a split second concluded that it was the ideal topic for me, the non-coding blogger.

In case you’re quite recently beginning with blogging and you need a topic with unfathomable plan choices, look at Divi. Divi will make website architecture a ton less demanding for you. This topic is awesome for planning your site any way you need without making propelled changes to the subject’s code.

The Divi WordPress Theme Options Panel

Much the same as any present day subject, Divi accompanies a “Topic Options” board to deal with the fundamental settings.

To open this board, go to Divi > Theme Options.

The primary thing you need to do subsequent to introducing the topic is to change the site logo and favicon. The web page logo is your site’s logo that ought to go in the header. The favicon is the little symbol that shows up next to your site’s name in program tabs.

Different settings you can change in the “General” tab are the accompanying:

  • Empower/Disable Divi Gallery
  • Empower/Disable Blog Style Mode
  • MailChimp API Key
  • Google API Key
  • Appear/Hide online networking symbols
  • Empower/Disable responsive shortcodes
  • Date Format
  • Custom CSS

Notwithstanding that, you have tabs to change more settings for:

  • Route
  • Design
  • Promotions
  • Website design enhancement
  • Reconciliation
  • Upgrades

On the off chance that you need to know more about a particular setting, tap on the question mark (i.e. help) to one side of that setting.

Redoing Pages with Divi Page Builder

Divi’s Page Builder highlight is the fundamental capacity that gives you a chance to tweak every page of your site. “Segments” are made from the Page Builder. This can be full width or any custom width you need.

Inside Sections, you can make lines with various segment formats. They can be a solitary segment, two segments, three segments, et cetera.

In every segment, you can make “Modules”.

Modules are pre-assembled formats that fill a particular need. A few cases of Modules are:

  • Blog
  • Shop
  • Sidebar
  • Other site components you need to add to a page.

Every Module has a settings page where you can tweak the outline, include foundation pictures, change content styles, etc.

The settings interface is anything but difficult to utilize. Basically, fill in the required qualities, change the sliders, or snap to flip. There are by and large three tabs in every settings page:

  • General Settings
  • Propelled Design Settings
  • CSS

In the event that you need to review how the module will look without leaving the editorial manager, tap on the “Eye symbol” on the base of the settings box. Once you’re finished with arranging the settings, you can click “Spare and Exit” or “Spare and Add to Library” (in the event that you need to utilize that same module in different parts of your site).

Starting here, you can tap the “Review” catch on the correct board to see the whole page on another tab. In case you’re content with what it would appear that you can hit “Distribute” to add the page to your site.

The Divi Visual Builder

The most recent overhaul to the Divi topic included another sort of manufacturer: The Divi Visual Builder.

It’s a method for altering your site from the front-end. You can open any page or post from WordPress, then select “Utilize Visual Builder”.

At the point when the page opens, it will resemble the customary page you’ve made. Be that as it may, when you put your mouse over the sides of a few ranges, it will demonstrate toolbars. These are the controls for segments, lines, and modules. From here, you can move, alter, copy, and additionally, erase modules by tapping the suitable symbols in these toolbars.

You can also edit text in blog posts and text modules:

On the off chance that you’ve rolled out a couple of improvements yet might want to fix them, simply put your mouse over the focal point of the page and a purple circle catch ought to show up.

Tapping on this raises the worldwide settings for the page. The clock symbol opens the “Altering History” box where you can see a rundown of all alters done. You can now choose things from this crate or return to a past page setting.

Anything that you can do with the non-visual page manufacturer, you can basically do with the Visual Builder. A similar module, column, and area settings will at present be accessible in any case.

Conforming Spaces Between Sections and Rows

The first occasion when I utilized Divi, I wasn’t content with how huge the spaces were between areas. I didn’t know how to change that at first. At last, I found how to change the dividing utilizing the area and line settings.

To open the settings for a segment or column, tap on the three level lines found on the upper left corner of the said segment or line.

In the “Settings” window, under “General Settings”, you’ll see a possibility for “Custom Padding”.

In case you’re attempting to make the spaces between two areas/columns littler, then you have to set an esteem to the “Base Padding” of the main segment/push and the “Top Padding” of the second segment/push.

Attempt an estimation of 1px or 2px to perceive what it would appear that and conform in like manner.

Conclusion

There are numerous other cool things you can do with the Divi topic, however, these are only a couple of rudiments that you have to know to begin. Utilizing Divi surprisingly is not by any stretch of the imagination that hard since there are heaps of aides and instructional exercises for this subject.

Exquisite Themes gives awesome how-to and recordings for first-time Divi clients. The Elegant Themes blog additionally highlights tips and traps that are not for the most part found in the Theme Documentation. Furthermore, there are numerous different destinations that distribute point by point instructional exercises for Divi.

Above all, Divi makes it simple for non-coders like you and me to plan a site with certainty, adaptability, and huge amounts of customization choices. In case you’re not gifted with coding but rather need to make your own site sans preparation, Divi is a phenomenal decision.

Have you utilized Divisome time recently? Is it accurate to say that you are utilizing it now? Tell me your involvement with Divi in the remarks underneath!

Like this survey of the Divi topic? Educate your companions concerning it on Facebook, Twitter, and Google Plus!

This is a great theme with amazing features and customization options. It makes it really easy for beginners with no coding knowledge to start a web page. Highly Recommended.

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, , ,

Modest WordPress Hosting for Beginners: 2017 Edition

We are here for the beginner’s guide to starting his/her blog. Before started your blog you need to buy the domain name and hosting. We are providing you an article of top 3 Modest WordPress Hosting, this article will help you to choose your best web hosting.

Is it accurate to say that you are going to begin a WordPress blog and to search for a dependable and shabby facilitating? When you scan for shoddy WordPress facilitating, you will be assaulted with huge amounts of alternatives. The interesting thing is, all the facilitating offering looks the same and you become more acquainted with the genuine nature of facilitating when you are as of now on board.

You are shrewd here to inquire about the web facilitating organization before facilitating your WordPress web page with them. In this guide, I will help you to see all the vital things you have to know before purchasing a facilitating bundle for your up and coming WordPress blog.

From my 3 years of experience, I will likewise propose a couple of modest and best WordPress facilitating which will be adequate for your new blog.

One vital thing that you ought to know is: A mutual facilitating is adequate for your new WordPress blog. On the off chance that you wind up purchasing VPS or devoted facilitating from the very first moment, you will wind up paying a considerable measure and it’s not suggested. Or maybe, you ought to begin your blog on shared facilitating and when your movement builds, you can move up to VPS, devoted or oversaw WordPress facilitating.

Constrained and Unlimited assets:

This is one mystery which nobody would let you know and I found it the most difficult way possible. The majority of the facilitating organizations will offer boundless asset, for example, data transfer capacity, stockpiling. Do recall, in this world nothing, could be really boundless.

Despite the fact that the uplifting news is, the measure of assets that you would get in boundless is moderately so high that you would feel you have boundless assets. I encourage you to be reasonable with all the facilitating organizations where you are facilitating your site and you will have no issue.

Underneath you can discover a rundown of shoddy web facilitating for WordPress, which is tried and demonstrated itself various time. These are the facilitating organizations I have encountered for my destinations and they offer the world-class benefit at a reasonable cost.

Cheap WordPress hosting companies which are reliable:

Bluehost:

Bluehost hosting is recommended by official WordPress hosting page. Bluehost offers custom cPanel & their user-friendly interface makes it easy to manage your hosting. Like InmotionHosting, Bluehost also offers one free domain name with hosting purchase. They are one of the fastest hostings for WordPress. I would suggest to grab a plus package from Bluehost for your site & use their one click installer to create your first WordPress blog. This should hardly take about 5 minutes.

Also, read:

BLUEHOST REVIEW – THE BEST WEB HOSTING | FAST PROFESSIONAL WEBSITE HOSTING

Inmotion Hosting:

If you are from U.S. & looking for a web hosting company which is based out of U.S.A, Inmotion Hosting is going to be your best bet. They are 15-year-old Los Angeles-based company. Inmotion hosting offers all types of hosting & for your new WordPress blog, you should get their Power plan in shared hosting. Inmotion hosting offers a free domain with every hosting purchase & in case you have already purchased a domain name, you can renew it for free using their domain promo.

Hostgator:

Hostgator is a top name in the Web-hosting industry & part of EIG group. Hostgator has their base in U.S., India & China. They offer shared hosting, VPS hosting, Dedicated hosting, Reseller hosting & optimized WordPress hosting. For a new WordPress site, you can host your site on their shared hosting. I would recommend Baby plan which offers unlimited hosting space & bandwidth. I’m hosting few of my sites with them & had no issues so far. Their hardware quality is top-notch & they offer support via the various medium. If speaking English is not a problem for you, I would recommend you to give them a call whenever you need any support.

If you are building a business website or a WordPress site for your company, I would suggest buy hosting from managed WordPress hosting. I could recommend Flywheel or Kinsta for the same.

They are certainly not cheap, but you will have complete peace of mind. For a beginner blogger or hobby blogger, you can buy hosting from any of the above three recommended cheap WordPress hosting companies.

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, ,

Top 5 Free AntiSpam Plugins For WordPress Blogs

I’m sharing a list of must have WordPress plugins that every blog should have. Now, it’s not necessary that you should install all below mentioned plugins, but I recommend you to look into the description and decide if this plugin is going to be useful and important for your WordPress blog or not.

I will also add some of the best alternative options to these free and best WordPress plugins, so in case, if you are stuck with the configuration of any single plugin, you can try the alternative. Read on..

As the Internet is going fast, more and more Spammers are growing and leaving a bad impact on the Internet. WordPress being the best CMS Platform is highly targeted by Spammers. If you are running a popular WordPress Blog, you can find that you will be daily receiving 1000 spam comments and lots of Guest Posting requests by Spammers. These Spammers with the help of their tools are able to blast many comments to many blogs at once. These comment looks so original, that nobody can find it as a spam comment and you end up accepting the comment if you don’t have any Antispam Plugins.

I have seen many Blogs having many plugins installed including Social Sharing, Security Plugins, Database Backup Plugins and much more. But have seen few blogs that have kept the protection to fight with spam. If you are one of the Bloggers who doesn’t have any plugin installed for Spam Protection, then this post is for you.

WordPress Plugins to Protect your Blog from Spam

 

1. Akismet

Akismet has been the first plugin for protecting your blog from spam. It also has a paid version. It offers the best antispam feature. It checks the Blog comments from spam and blocks them. Using their service, you can also block certain IP to protect your Blog from spam. Though Akismet is not used by many now, because It also blocks the real comments. So you should check the spam comments to see if Akismet has blocked any Real Comment.  Akismet is one of the important plugins that you should be installing after setting up WordPress. You need to entering API key from your WordPress.com account to activate Akismet plugin.

2. WP ReCaptcha

This is also the other plugin to block the spam comments. It is efficient in protecting the blog from spam comments and also doesn’t mark the real comments as spam comments.

3. Antispam Bee

It is the most widely known and used Plugin. It is the best plugin that you can have on your Blog, its effective in every way to fight with spam. Antispam Bee has many options and features and also easy to use. The main thing is that it is very fast and also offers a spam counter on the dashboard.

4. Bad Behavior

Bad Behavior is the yet another plugin to fight with WordPress spam. Unlike many other anti-spam plugins, Bad behavior plugin also monitors the delivery source, and software’s which is most commonly used by the spammer to prevent spamming. It supports a multi-blog platform like Drupal, ExpressEngine and much more. When it detects any kind of spam attack from an I.P., it throws Error 403 and prevents spammer from accessing your server. This not only saves your server resource but keep your WordPress Blog safe.

5. AVH First Defense Against Spam

The AVH First Defense Against Spam plugin gives you the option to block the spammers by the Area Name or the I.P Address. This plugin checks for any spam activities using Spam databases such as Honeypot and StopForumSpam. Another useful feature of this plugin is, it prevents comment spam by checking it for HTTP referrer. Most of the comment spammers use the software to drop a bulk comment and this gives a protective edge against such spam. I have not tried this plugin myself yet, but looking at reviews and feedback from other users, it’s worth a mention on our list of WordPress anti-spam plugins.

These are just a few of the Antispam plugins that you could try. Though depending upon your requirement, you can always try some more. For example, I use Wangguard plugin on one of my multi-author blogs to stop spam registration and Sabre is another good alternative to Wangguard. Most of these mentioned Antispam plugins are free and some of them (WangguarD) offers paid options.

Having an Antispam Plugin is a must for every Blog these days because of the Spammers. Are you using any Antispam Plugin that has not been shared in this Post?

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, ,

7 ways to prevent your wordpress website from being hacked

Today this is most important task to prevents your websites from being hacked, because hacked may be perform many harmful activities for your website. So, in my blog I want to guide you to prevent your website from hackers.

 

1. Backup

This is the first step and the most important. Before you plan on making any changes, make sure you backup your entire DB. You can do this manually or use an available plugin. I recommend backup buddy which backs up your entire wordpress blog. Unlike free plugins which only backup your database, backup buddy exports your entire database with images, files and whatever you have in your blog’s content folder- Pretty sweeet!

 

2. Update WordPress Version

Second crucial step after backing up your blog is to update it to the latest version. You should always make sure that your blog’s version is up to date. WordPress team creates patches to help fix security holes. Follow wordpress feed to find out about the latest updates or you could simply login to your admin.

I would also recommend that you follow WordPress Development and BlogSecurity as they will inform you whenever a new patch/fix is released.

 

3. Change your Login/Password

The default wordpress login is “admin” and most hackers know that. We should change this to something else that would be difficult to guess. Something like “rogers12” or “donhoe2” is good examples. The best thing to do is delete the default admin and create a new custom login.

I suggest that you use strong passwords which include upper/lower keys, numbers and symbols. Something like “rockSTAR19!@” or “Anabel2@!” is a great example of a strong password.

Most hackers try to brute force the password so if your password is really strong as I mentioned earlier, you should be fine.

4. CHANGE FROM THE DEFAULT DATABASE TABLES PREFIX

The default table prefix for WordPress is wp_ and of course the hackers know that. When this knowledge the hackers then know all the table names of the most important tables in your WordPress installation . This makes SQL Injection attacks so much easier. So change this wp_ to something else of your own choosing (not your domain name!). see this link for some good instructions on how to make this change.

 

5. SECURING YOUR WORDPRESS FILE PERMISSIONS

So why is this important clients ask ? well say for example you set the index.php file on your site with permissions that anyone in the world can update it. A hacker could then update this file and redirect every visitor that comes to your site to their own malicious site. Okay we could do a full post just on this topic (we will make sure we do soon) and it is a key one in how to ‘prevent your wordpress website from being hacked’ so here is some quick notes and guidance on locking down the access to files and directories on your WordPress installation.

A good rule of thumb is … All files should be 664. All folders should be 775. wp-config.php should be 660 or even better move it out of your WordPress public_html directory. Okay that is just the real basics and we would recommend you fully read up here before adjusting your file permissions, as if don’t do it correctly you could put your whole site offline from visitors.

6. SECURING YOUR WEB SERVER CONFIGURATION

Doesn’t my hosting company handle this clients ask ? No ! They want to make it as easy as possible for you to make your website and want as few support tickets as possible. Unfortunately this mix means they also leave your site’s server configuration in an open state the hackers love. You need to take responsibility and make a few changes to secure up these vulnerabilities. Here are a few rules we recommend you look into and add for your particular web server:

  • Find out what Web server you are using and learn about your web servers configuration files. Apache web servers use the .htaccess file, Nginx servers use nginx.conf, and Microsoft IIS servers use web.config. Most often found in the root web directory that you have access to (and the hackers do if they are not secured), these files are very powerful. These files allows you to execute server rules, including directives that improve your website security.
  • Prevent directory browsing: This prevents malicious users from viewing the contents of every directory on the website. Limiting the information available to attackers is always a useful security precaution. When cleaning sites we often see in the logs that hackers have been freely checking the websites wp-content/uploads directories trawling for all sorts of files that the owners would not want them to have
  • Restrict PHP execution in directories that hold images or allow uploads.

 7. DON’T FALL FOR THAT UNLIMITED HOSTING

Yes we understand the temptation and it is cheaper on your pocket choosing the ‘unlimited’ hosting plans with your hosting company and putting all your websites on a single server. Unfortunately this is like finding a candy store for the hackers. In terms of security it is a way to make your life a nightmare. As security experts would say it ‘creates a very large attack surface’. This basically means it offers hacker many more ways to break in to your sites. If the hacker can then get into one of the sites he can take over all of your sites on that same server.

For example, on a unlimited server package server you have might placed 10 or your websites. Say one of those sites you don’t really ever check or keep updated. The hacker can use this weakest link to break into that one sites and have full and complete access to take over your other 9 websites. With their tools they usually have a lot more access than you have with your WordPress admin console.

When we protect a site with our SharkGate WordPress Protection we will recommend we apply the same protection to all the sites you have on your server. Stopping the hacker using any of your sites to infect the others.

 

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, , , ,

Upwork WordPress Test Answer 2016-2017 Pass Test In TOP-30-20 And 10

Upwork WordPress Test Answer 2016-2017 Pass Test In TOP-30-20 And 10

You will ascertain here all Upwork take a look at answers for 2016-17. With these answers you’ll solve All upwork take a look at queries answers 2016-17.

To win any project in upwork, freelancer ought to pass wordpress take a look at..Here area unit upwork wordpress take a look at answer with Gregorian calendar month 2016-17 update.

Do You want to pass tests on Upwork but not want to waste Your time? We don’t guarantee that all provided answers are correct. Maybe you can pass this test with this answers in TOP-30.

All latest WordPress test answer is here :-

1. Which of the following will hash a string/password to its md5 equivalent?

Answers:

• md5()
• wp_generate_password()
• wp_generate_md5()
• password_md5()

2. Which conditional tag checks if the dashboard or the administration panel is attempting to be displayed by returning «true’ (if the URL being accessed is in the admin section) or «false» (for a front-end page).

Answers:

• my_admin()
• view_admin()
• is_admin()
• root_admin()

3. How can the class name of a sub-menu be changed in the wp_nav_menu?

Answers:

• By manually adding the class name in Appearance—>Menus
• WordPress does not support the ability to change the class name of a sub-menu in the wp_nav_menu.
• By adding the following code in functions.php: class UL_Class_Walker extends Walker_Nav_Menu { function start_lvl(&$output, $depth) { $indent = str_repeat(«\t», $depth); $output .= «\n$indent<ul class=\»level-«.$depth.»\»>\n»; } }
• By adding the following code in header.php: class UL_Class_Walker extends Walker_Nav_Menu { function start_lvl(&$output, $depth) { $indent = str_repeat(«\t», $depth); $output .= «\n$indent<ul class=\»level-«.$depth.»\»>\n»; } }

4. Which of the following functions are used to add administration menu item in WordPress ?

Answers:

• add_menu_page();
• add_admin_item();
• add_admin_page();
• add_admin_option();

5. Which of the following WordPress Multisite functions allows for getting content from one blog and display it on another?

Answers:

• switch_blog()
• switch_to_blog()
• restore_current_blog()
• restore_to_current_blog()

6. Which of the following will correctly load localized (translated) text for a WordPress plugin?

Answers:

• function custom_theme_setup() { $lang_dir = get_template_directory() . ‘/lang’); load_theme_textdomain(‘tutsplus’, $lang_dir); } add_action(‘after_setup_theme’, ‘custom_theme_setup’);
• function custom_theme_setup() { $lang_dir = get_template_directory() . ‘/lang’); add_action(‘after_setup_theme’, ‘custom_theme_setup’); }
• function custom_theme_setup() { $lang_dir = get_template_directory() . ‘/lang’); add_action(‘after_setup_theme’, ‘custom_theme_setup’); } load_theme_textdomain(‘tutsplus’, $lang_dir);
• function load_theme_textdomain(‘tutsplus’, $lang_dir); { $lang_dir = get_template_directory() . ‘/lang’); custom_theme_setup(); } add_action(‘after_setup_theme’, ‘custom_theme_setup’);

7. User Level 10 converts to _________?

Answers:

• Contributor
• Author
• Editor
• Subscriber
• Administrator

8. How can a post ID be retrieved from the permalink?

Answers:

• Its not possible to retrieve the post ID from a permalink due to its structure.
• It can be retrieved by using a Regular Expression.
• wp_get_post_id($permalink)
• url_to_postid($permalink)

9. Which of the following code snippets will create plugins back-end page without showing it as menu item?

Answers:

• add_submenu_page with parent slug = null
• add_menu_page with parent slug = null
• add_submenu_page without parent slug = null
• add_menu_page without parent slug = null

10. Can the contents of the wp-content folder be moved or renamed without changing any settings?

Answers:

• Yes
• No

11. Which of the following codes will return the current plugin directory in WordPress?

Answers:

• <?php plugin_basename($file); ?>
• <?php plugin_basename(‘url’); ?>
• <?php bloginfo_plugin(‘url’); ?>
• <?php content_plugin_url( $path ); ?>

12. Which of the following is the correct sequence of steps to adapt a WordPress plugin to a multisite?

Answers:

• 1. Use $wpdb to iterate through all blogs 2. Hook according to the $blog_id 3. Install the plugin as Network only 4. Uninstall depends the specific plugin
• 1. Use $wp_posts to iterate through all blogs 2. Hook according to the $function 3. IInstall the plugin as Network only 4. Uninstall depends the specific plugin
• 1. Use $wp_posts to iterate through all blogs 2. Hook according to the $function 3. Install other activations except Network 4. Uninstall is the same for all the plugins
• 1. Use $wp_posts to iterate through all blogs 2. Hook according to the $function 3. Install the plugin as Network only 4. Uninstall is same for all the plugins

13. Which of the following is the correct way to get WordPress Post ID from the Post title?

Answers:

• $page = get_page_title( ‘About’ ); wp_pages( ‘exclude=’ . $page->ID );
• $page = get_page_by_title( ‘Home’ ); $page_id = $page->ID;
• $page = get_page_by_title( ‘About’ ); wp_pages( ‘exclude=’ . $page->ID );
• None of the above

14. What is the first action you need to take for enabling the WordPress multisite (MS) feature?

Answers:

• Enable the WordPress multisite feature on admin panel
• Enable the Network feature
• Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true );

15. Meta tags can be added to WordPress pages by ________________.

Answers:

• using plug-ins
• adding them to the header.php file
• updating the database
• a and b
• b and c

16. WordPress’s requirements are modest. At minimum, which of the following standards should your server support for WordPress 3.1?

Answers:

• PHP version 4.4.9 or greater, MySQL version 4.0 or greater
• PHP version 4.3 or greater, MySQL version 4.1.2 or greater
• PHP version 4.4.9 or greater, MySQL version 5.1 or greater
• PHP version 4.3 or greater, MySQL version 5.1 or greater

17. Which of the following will give the option to add inline Ajax for comment posting?

Answers:

• Enabling Ajax in the wp-config.php file
• Activating Ajax from the admin settings of WordPress
• Using the Ajax Comment Posting plugin
• WordPress doesn’t support inline Ajax.

18. What is the limitation to the depth of your categories?

Answers:

• 10 levels
• 20 levels
• No limit levels

19. Which of the following code snippets best protects a system from SQL injections?

Answers:

• sql_real_escape_strong()
• mysql_real_escape()
• mysql_real_escape_string()
• mysql_not_real_delete_string()

20. Which of the following role levels has the highest privilege?

Answers:

• Level_0
• Level_10
• Depends on your settings.
• Every role level has the same privilege.

21. How can the Home link be disable from the WordPress top nav?

Answers:

• Using Jquery to hide it
• By adding this code in functions.php function page_menu_args( $args ) { $args[‘show_home’] = FALSE; return $args; } add_filter( ‘wp_page_menu_args’, ‘page_menu_args’ );
• wp_nav_menu( array(‘menu’ => ‘news’, ‘show_home’ => false))
• Can not disable the default Home link from wordpress top nav

 22. Which of the following functions can be used to create a WordPress page?

Answers:

• wp_insert_post()
• wp_insert_page()
• wp_create_post()
• wp_create_page()

23. Which function is used to display the name of current page in wordpress?

Answers:

• get_the_title()
• content_title()
• page_name()
• post_name()

24. Which of the following methods can be used to make permalinks SEO friendly?

Answers:

• Updating the database.
• Changing the source code.
• Configuring the feature in the config file.
• Configuring the feature in the admin settings.

25. Which of the following is the correct way to add custom excerpts length identifiers in WordPress?

Answers:

• By adding excerpt_length filter in function.php
• Can’t declare custom excerpts in wordpress
• Custom exceprts are already available in wordpress
• Using the_excerpt(‘long’); or the_excerpt(‘short’)

26. On which of the following databases can WordPress be installed by default?

Answers:

• MySQL
• Oracle Database
• Microsoft SQL Server
• PostgreSQL

27. Which of the following actions must be performed to import data from wordpress.com?

Answers:

• Enter the full access to wordpress.com into the data import form so that it can automatically connect and directly retrieve content.
• Import from wordpress.com’s RSS.
• Login to wordpress.com, then the export data using the export tool, then import an exported xml file to the site.

28. Which of the following is the correct code to get an array of every image uploaded to a particular post?

Answers:

• $images =& get_children( ‘post_type=attachment&post_mime_type=image&post_parent=10’ );
• $images = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
• $images = get_post(7, ARRAY_A);
• It cannot be done

29. Which of the following will echo the base URL of a WordPress site?

Answers:

• <?php echo get_bloginfo(‘base_url’) ?>
• <?php echo get_bloginfo(‘url’) ?>
• <?php echo get_bloginfo(‘site_url’) ?>
• <?php echo get_website_url() ?>

30. Which of the following functions are used when adding CSS and jQuery codes on a WordPress plugin?

Answers:

• wp_register_style
• wp_enqueue_style
• wp_enqueue_script
• None of these.

31. In order to display a widget, the user must _________________.

Answers:

• set the «show property» of the desired widget to «true»
• drag the desired widget to the side ba
• add the desired widget to the post
• change the source code

32. Which of the following is a Online Code Coloring Service?

Answers:

• Prettify
• SyntaxHighligherText
• Edit Pad
• Collabedit

33. What is the name of theme file for a page with slug ‘about’?

Answers:

• page-slug-about.php
• page-about.php
• about.php

34. Who of the following persons can read a post locked by password?

Answers:

• Only administrators, editors and authors
• Registered users who knows password
• Anyone who knows a password

35. In this stock quote API for WordPress of yahoo http://download.finance.yahoo.com/d/quotes.csv?s=GOOG&f=ll, what does ‘ s’ stand for?

Answers:

• Stock Format
• Stock Variable
• Stock Symbol
• Stock Supplier

36. Which of the following is a quick way to move a WordPress website from one server to another?

Answers:

• Using migration plugin
• Copying WordPress files and database from source to destination server
• Using XML export through wp-admin interface
• Install new WordPress and copy theme and plugin directory

37. Which of the following will remove anchors from all nodes/levels except the 4th level nodes of a WordPress category?

Parent node (1st level)
—>Child node (2nd level)
—->3rd level node
——>4th level node

Answers:

• .cat-item a, .cat-item .cat-item a.hover {cursor: default;} .cat-item .cat-item a.hover {cursor: pointer;}
• .cat-item a, .cat-item .cat-item a {cursor: default;} .cat-item .cat-item a {cursor: pointer;}
• .cat-item a, .cat-item .cat-item .cat-item .cat-item a {cursor: default;} .cat-item .cat-item .cat-item a {cursor: pointer;}
• .cat-item a, .cat-item .cat-item a:hover {cursor: pointer;} .cat-item .cat-item a:hover {cursor: default;}

38. Image size limits can be set _______________.

Answers:

• directly in the posts
• in the wp-imageresize plug-in
• in the admin settings
• a and

39. How can a user be found through its meta data?

Answers:

• User can not be retrieved through its meta data
• get_user_by_metadata($metaid,$metavalue)
• get_user($args)
• get_users($args)

40. Which PHP method(s) can be used to send form data that is persistent across succeeding page views (such as for a language selection feature) in WordPress?

Answers:

• POST
• GET
• SESSION or COOKIE
• POST or GET

41. Which of the following will call the WordPress media uploader form element?

Answers:

• <form enctype=»multipart/form-data» method=»post» action=»<?=bloginfo(«siteurl»);?>/wp-admin/media-upload.php?inline=&upload-page-form=» class=»media-upload-form type-form validate» id=»file-form»>
• <a onclick=»return false;» title=»Upload image» class=»thickbox» id=»add_image» href=»media-upload.php?type=image&TB_iframe=true&width=640&height=105″>Upload Image</a>
• <a href=»media-upload.php?type=image&TB_iframe=true&width=640&height=105″>Upload Image</a>
• <form enctype=»multipart/form-data» method=»post» action=»<?=bloginfo(«bloginfo»);?>/wp-admin/media-upload.php?inline=&upload-page-form=» class=»media-upload-form type-form validate» id=»file-form»>

42. Which of the following is the correct way to print the slug property of $firstTag object in this code snippet?

$tags = wp_get_post_tags($post->ID);
$firstTag = $tags[0];

Answers:

• $firstTag[‘slug’];
• $firstTag->slug
• $firstTag.slug
• $firstTag[0][‘slug’]

43. Which of the following code snippets is the correct way to get content from Tinymce via javascript ?

Answers:

• document.getElementById(‘content’)
• tinymce.activeEditor.getContent();
• tinymce.element.getContent();
• document.getElement(‘tinymce_content’)

44. Is super cache a built-in plugin of WordPress?

Answers:

• Yes
• No

45. Which of the following will show the most recent post (by date) from a custom taxonomy?

Answers:

• select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_term_relationships as b on ( a.ID = b.object_id) join wp_term_taxonomy as c on (b.term_taxonomy_id = c.term_taxonomy_id) join wp_terms as d on (c.term_id = d.term_id) where c.taxonomy = ‘post-series’ group by d.name having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)
• select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_terms as d on (c.term_id = d.term_id) where c.taxonomy = ‘post-series’ group by d.name having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)
• select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_term_relationships as b on ( a.ID = b.object_id) join wp_term_taxonomy as c on (b.term_taxonomy_id = c.term_taxonomy_id) join wp_terms as d on (c.term_id = d.term_id) having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)
• select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_term_relationships as b on ( a.ID = b.object_id) join wp_terms as d on (c.term_id = d.term_id) where c.taxonomy = ‘post-series’ group by d.name having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)

46. What are the correct steps in wordpress plugin development:

Answers:

• Step 1 — Create your file and let it be known as a plugin Step 2 – Create the objects of your plugin Step 3 – Adding your actions and filters Step 4 – Adding settings/options to your plugin Step 5 — Finishing the code
• Step 1 – Adding settings/options to your plugin Step 2 — Create your file and let it be known as a plugin Step 3 – Create the objects of your plugin Step 4 – Adding your actions and filters Step 5 — Finishing the code
• Step 1 – Create the objects of your plugin Step 2 – Adding settings/options to your plugin Step 3 — Create your file and let it be known as a plugin Step 4 — Finishing the code
• Step 1 – Create the objects of your plugin Step 2 – Adding settings/options to your plugin Step 3 — Finishing the code

47. What is the output of the following code?

<ul id=»sortable»>
<li id=»1″>example 1</li>
<li id=»2″>example 2</li>
<li id=»3″>example 3</li>
<li id=»4″>example 4</li>
</ul>

$(document).ready(function(){
$(‘#sortable’).sortable({
update: function(event, ui) {
var newOrder = $(this).sortable(‘toArray’).toString();
$.get(‘saveSortable.php’, {order:newOrder});
}
});
});

Answers:

• Removes positions from data base based on the user input
• Saves sortable positions to data base based on the user input
• Adding new sortable positions from another data base
• Sorting out existing positions without updating the data base with the new user inputs

48. Which of the following is the correct way to assign a category to a WordPress post?

Answers:

• wp_set_post_categories($postId,$categories)
• wp_set_category($catId,$postId)
• By XML-RPC call to wpc.newPost
• This is not possible

49. Conditional tags can be used to _______________________.

Answers:

• get all comments from one post
• get all posts from one category
• change the content to be displayed
• None of the above: conditional tags are not available in WordPress.

50. Which of the following commands can change the ownership of WordPress directory to www-data (for Apache)?

Answers:

• sudo chown -Rf www-data *
• chown -Rf www-data *
• sudo crown -Df www-data *
• Alldo chown -Rf www-data *

51. How can a custom content filter be added?

Answers:

• By using add_action(‘the_content’,’my_custom_filter’)
• By using add_filter(‘the_content’,’my_custom_filter’)
• By using wp_filter(‘the_content’,’my_custom_filter’)
• By using add_action(‘content’,’my_custom_filter’)

52. Which of the following is the correct way to redirect the default login and registration page URL to a custom login and registration page URL?

Answers:

• add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { return(‘Your custom url’); exit(); } }
• add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { wp_redirect(‘Your custom url’); exit(); } }
• add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { redirect(‘Your custom url’); exit(); } }
• add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { wp_return(‘Your custom url’); exit(); } }

53. How can a WordPress template be integrated inside a codeigniter framework using WordPress functions like wp_header,wp_footer,wp_sidebar?

Answers:

• Include the file wp-blog-header.php from WordPress installation directory to codeigniters index.php and create template inside codeigniter’s view.
• Include the file wp-settings.php from WordPress installation directory to codeigniters index.php and create template inside codeigniter’s view.
• Create template inside WordPress theme directory and include the file in codeigniter’s view.php file.
• It is not possible to integrate wordpress with codeigniter.

54. Which of the functions below is required to create a new taxonomy?

Answers:

• add_taxonomy
• register_taxonomy
• create_taxonomy

55. Which of the following actions cannot be hooked in with add_submenu_page() function?

Answers:

• admin_submenu
• admin_menu
• user_admin_menu
• network_admin_menu

56. Which of the following is the correct way to filter the content for a few posts?

Answers:

• By using apply_filters(filter,postId)
• This is not possible in wordpress
• Can create filter for posts in a specific wordpress category
• Passing arguments into the_content()

57. What is the function of add_filter in WordPress?

Answers:

• It registers a filter for a tag.
• It removes line breaks from the pages list.
• It is a companion function to apply_filters().
• All of the above.

58. ____________ can manage their own profiles, but can do virtually nothing else in the administration area.

Answers:

• Contributor
• Author
• Editor
• Subscriber
• Administrator

59. Are categories and tags available for pages?

Note: Categories must have distinct slugs. Even if two categories have different parents and would therefore have different permalinks, you can’t assign them the same slug.

Answers:

• Yes
• No

60. Which of the following will correctly add custom mod rewrite rules to .htaccess from a WordPress plugin?

Answers:

• $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, «generate_rewrite_rules»)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $POST[«wp_rewrite»]; }}
• $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, «generate_rewrite_rules»)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $GLOBALS[«wp_rewrite»]; } }
• $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, «generate_rewrite_rules»)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $GLOBALS[«wp_rewrite»]; } function mod_rewrite_rules($rules) { return preg_replace(‘#^(RewriteRule \^.*/)\?\$plugin_name .*(http://.*) \[QSA,L\]#mi’, ‘$1 $2 [R=301,L]’, $rules); } }
• $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, «generate_rewrite_rules»)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $SESSION[«wp_rewrite»]; } }

61. What is the BEST way to get last inserted row ID from WordPress database ?

Answers:

• Use the following code snippet $lastid->$wpdb=$last->get_row;
• The call to mysql_insert_id() inside a transaction should be added: mysql_query(‘BEGIN’); // Whatever code that does the insert here. $id = mysql_insert_id(); mysql_query(‘COMMIT’); // Stuff with $id.
• The following code snippet should be added $last = $wpdb->get_row(«SHOW TABLE STATUS LIKE ‘table_name’»); $lastid = $last->Auto_increment;
• Straight after the $wpdb->insert() insert, the following code should be added: $lastid = $wpdb->insert_id;

62. Which of the follow is a WordPress alternatives for Ruby on Rails?

Answers:

• Refinery
• Typof
• Symenta
• Rubyalt

63. Which of the following code snippets can be used to create custom POST status in wordpress 3.0 +?

Answers:

• register_new_post()
• register_post_status()
• add_new_post_status()
• modify_post_status()

64. How can the upload media panel be included in a WordPress template/plugin?

Answers:

• By using function wp_enqueue_script(‘media-upload’)
• By using function wp_add_media( );
• By using function wp_enqueue_script(‘upload’);
• By using function wp_add_script(‘media-upload’);

65. What are the database privileges that are required for WordPress?

Answers:

• insert, delete, update, drop and alter
• select, insert, delete, update, create, drop and alter
• insert, delete, update, create, drop and alter
• insert and delete

66. Which of the following is an example of a WordPress plugin that provides multilingual capabilities?

Answers:

• WP Super Cache
• qTranslate
• BuddyPress
• Hotfix

67. A possible way to allow the display of several authors’ names on one post is to ______

Answers:

• update the database
• change the admin settings
• change the config files
• use a plug-in

68. In which way MD5 hash does wordpress stores and represents?

Answers:

• In Hex string
• In Base64 string
• in raw data file
• text file

69. What is the first action you need to take for enabling WordPress MU feature?

Answers:

• Enable WordPress MU feature on admin panel
• Enable Network feature
• Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true );

70. What is Automated Testing in WordPress?

Answers:

• Automated testing is running test cases where manual intervention is not required to run each one.
• It is a plugin which is used to test your custom template or plugin.
• It is a function available in WordPress to test the custom template/plugin.
• There is no such thing as Automated Testing in WordPress.

71. You can limit the number of revisions WordPress stores by _____

Note: Categories must have distinct slugs. Even if two categories have different parents and would therefore have different permalinks, you can’t assign them the same slug.

Answers:

• adding the following line to your wp-config.php file: define(‘WP_POST_REVISIONS’, 3);
• using a plugin
• changing a setting on admin panel

72. Which of the following snippets disable depreciated warnings in WordPress like this one ?

«Deprecated: Assigning the return value of new by reference is deprecated in /home//public_html/hub/wp-settings.php on line 647»

Answers:

• define(E_DEPRECATED, false);
• error_reporting(E_ALL ^ E_DEPRECATED);
• define(E_NOTICE, false);
• error_reporting(WP_DEBUG, true)

73. One possible way to collect realtime statistics about traffic on a WordPress site is:

Answers:

• using a built-in tool
• using a plugin
• using a widget
• Traffic statistics cannot be collected on a WordPress site.

74. _____________ can publish, edit, and delete their own posts. They cannot write pages. They can upload some kinds of media files, and they are allowed to use only the limited set of HTML tags.

Answers:

• Contributor
• Author
• Editor
• Subscriber
• Administrator

75. How can an <li> tag’s class and ID attributes be removed from menu items and page lists?

Answers:

• add_filter(‘nav_menu_css_class’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘nav_menu_item_id’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘page_css_class’, ‘my_css_attributes_filter’, 100, 1); function my_css_attributes_filter($var) { return is_array($var) ? array() : »; }
• add_filter(‘nav_menu_css_class’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘nav_menu_item_id’, ‘my_css_attributes_filter’, 100, 1); function my_css_attributes_filter($var) { if(is_array($var)){ $varci= array_intersect($var, array(‘current-menu-item’)); $cmeni = array(‘current-menu-item’); $selava = array(‘selectedmenu’); $selavaend = array(); $selavaend = str_replace($cmeni, $selava, $varci); } else{ $selavaend= »; } return $selavaend; }
• add_filter (‘wp_nav_menu’,’strip_empty_classes’); function strip_empty_classes($menu) { $menu = preg_replace(‘/ class=([«\’])(?!active).*?\1/’,»,$menu); return $menu; }
• None of the above

76. ____________ can publish, edit, and delete posts and pages written by any user. They can upload some kinds of files, and they can write HTML without restrictions. They can manage links and categories, and they can moderate comments. Editors and administrators are also the only users allowed to read private posts and pages.

Answers:

• Contributor
• Author
• Editor
• Subscriber
• Administrator

77. How many built-in user roles does WordPress have?

Answers:

• 3
• 4
• 5
• 6

78. How can WordPress comments be saved in Markdown format?

Answers:

• <?php add_filter(«hook_comment_text’, ‘Markdown’); ?>
• WordPress does not support the Markdown format.
• <?php add_filter(‘comment_text’, ‘Markdown’); ?>
• <?php add_filter(‘comments’, ‘Markdown’); ?>

79. Which of the of the following code snippets removes the “Home” link from the “wp_nav_menu”?

Answers:

• <? php wp_nav_menu( array(‘menu’ => ‘news’, ‘show_home’ => false)); ?>
• <? php wp_nav_menu( array(‘menu’ => ‘news’, ‘show_home’ =0)); ?>
• In functions.php following code should be added:
function page_menu_args( $args ){
$args[‘show_home’] = False;
return $args;
}
add_filter( ‘wp_page_menu_args’, ‘page_menu_args’);
Plus additional snippet code:
wp_nav_menu( array(‘echo’=>true));
• $(“div.menu > u; li:first-child”).css(“display”,”none”);

80. Which of the following will change the default ordering of categories in the WordPress post edit page?

Answers:

• Adding ‘checked_ontop’ => FALSE to the args in wp_terms_checklist() in the functions.php file
• Disabling category ordering in the WordPress admin settings
• Setting category_ordering=false in the wp-config.php file
• Adding ‘category_ordering’ => FALSE to the args in wp_terms_checklist() in the functions.php file

81. Which of the following will make a custom query in a WordPress plugin?

Answers:

• <?php $wpdb->query(‘query’); ?>
• <?php $query = new WP_Query( ‘author=2,6,17,38’ ); ?>
• <?php wp_reset_query(); ?>
• <?php $wpdb-&gt;query(‘select * from my_plugin_table where foo = «bar»‘); ?>

82. Is the functions.php file required in each theme?

Answers:

• Yes
• No

83. In a WordPress multisite, how can a new blog site be added from the Network Admin panel?

Answers:

• add_action( $tag, $function_to_add, $priority, $accepted_args);
• define (‘WP_ALLOW_MULTISITE’, true);
• do_action (‘wpmu_blog’, $blog_id, $user_id, $domain, $path, $site_id, $meta);
• do_action (‘wpmu_new_blog’, $blog_id, $user_id, $domain, $path, $site_id, $meta);

84. Which of the following categories of persons can read a post locked by password?

Answers:

• Only administrators, editors and authors.
• Registered users who know a password.
• Anyone who knows a password.

85. Which deprecated functions are still in use in WordPress?

Answers:

• register_globals()
• magc_quotes()
• addslashers()
• get_permalink()

86. Which of the following is the best way to highlight the syntax on a blog created on wordpress.com?

Answers:

• <div class=”highlight”> {your code} </div>
• [color:red] {your code} [/color]
• install syntax highlight plugin
• [sourcecode language=’php’]{your code}[/sourcecode]

87. How do you check a WordPress function does if you see it for the first time?

Answers:

88. What is the name of the table in database which stores custom fields data?

Answers:

  • wp_custommeta
    • wp_options
    • wp_terms
    • wp_postmeta

89. How you retrieve an array of all the post tags?
Note: There may be more than one right answer

Answers:

  • get_terms(‘post_tag’, array(‘hide_empty’ => false));
    • get_terms(array(‘taxonomy’ => ‘post_tag’, ‘hide_empty’ => false));
    • get_term();
    • wp_terms()
    • wp_terms_checklist();

90. When should the wp_kses function for Data Validation be run?

Answers:

  • At the time of form submission
    • Before the data is saved in the database.
    • before the data is being rendered on the webpage

91. “X people have seen this post” should be output like this:

Answers:

  • printf( _n( ‘%d person has seen this post.’, ‘%d people have seen this post.’, $view_count ), $view_count );
    • printf( __( ‘%d people have seen this post.’ ), $view_count );
    • echo _n( ‘One person has seen this post’, “$view_count people have seen this post.” );
    • printf( _n( ‘%d person has seen this post.’, ‘%d people have seen this post.’ ), $view_count );
    • printf( 1 == $view_count ? __( ‘%d person has seen this post.’ ) : __( ‘%d people have seen this post.’ ), $view_count );

92. What WordPress function would you use to retrieve the name of the current action?

Answers:

  • current_filter
    • current_action_name
    • current_hook

93. What are the correct ways for displaying post title wrapped into H1 tag?
Note: There may be more than one right answer

Answers:

  • <?php the_title( ‘<h1>’, ‘</h1>’ ); ?>
    • <h1><?php get_the_title(); ?></h1>
    • <?php the_title( ‘<h1>’, ‘</h1>’, ‘display_title’ ); ?>
    • <h1><?php the_title(); ?></h1>

94. Display the current pagination number.

Answers:

  • $page = get_page(‘1’);
    echo ‘Current page: ’ . $page->post_paged;
    • $paged = get_query_var(‘paged’, 1);
    echo ‘Current page: ’ . $paged;
    • $page = get_post(‘1’);
    echo ‘Current page: ’ . $page->post_paged;

95. What is the WordPress way of adding a query variable to an URL

Answers:

  • site_url(‘?’ . $foo . ‘=’ . $bar);
    • home_url(‘$’ . $foo . ‘=’ . $bar);
    • add_query_arg($foo, $bar, home_url());

96. When is it recommended to rebuild the $wp_rewrite object with the flush_rewrite_rules() function?

Answers:

  • once in a while
    • after every one hour
    • on every custom post type page load
    • after activatation and deactivation of a custom post types plugin

97. What is the difference between filters and actions?

Answers:

  • An action is defined as a function that takes in some kind of input, modifies it, and then returns it whereas a filter is just a place where you call a function, and you don’t really care what it returns
    • A filter is defined as a function that takes in some kind of input, modifies it, and then returns it whereas an action is just a place where you call a function, and you don’t really care what it returns
    • There is no difference. Both are used for hooking into an action.

98. Which HTML tags are not allowed to be used in a post comment?
Note: There may be more than one right answer

Answers:

  • code
    • form
    • img
    • strike
    • table

99. Which of the following is the correct way to register shortcode?

Answers:

  • function foobar_func ( $atts ){
    return “foo and bar”;
    }
    new_shortcode( ‘foobar’, ‘foobar_func’ );
    • function foobar_func ( $atts ){
    return “foo and bar”;
    }
    insert_shortcode( ‘foobar’, ‘foobar_func’ );
    • function foobar_func ( $atts ){
    return “foo and bar”;
    }
    register_shortcode( ‘foobar’, ‘foobar_func’ );
    • function foobar_func ( $atts ){
    return “foo and bar”;
    }
    add_shortcode( ‘foobar’, ‘foobar_func’ );

100. If you need to store information temporarily, which WordPress system would you use:

Answers:

  • Options
    • Meta tables
    • Transients
    • The REST API

101. What is true about the_meta() function?
Note: There may be more than one right answer

Answers:

  • This is a function for displaying custom fields for the current post, known as the “post-meta” (stored in the wp_postmeta table).
    • It formats the data into an unordered list.
    • It may be used outside the loop.
    • the_meta() will ignore meta_keys (i.e. field names) that begin with an underscore.

102. Is it possible to retrieve list of custom taxonomy terms with get_terms() function?

Answers:

  • Yes
    • No

103. Which WP global object is used to execute custom database queries?

Answers:

  • $wpdb
    • $wp_db
    • $db_query
    • $wp_query

104. What are WordPress hooks?

Answers:

  • Setting options available to WordPress administrators.
    • Security functions that run inside WordPress
    • Group of plugins which control WordPress behavior.
    • Ways to change the default behavior of WordPress.

105. Which from below are default post types in WordPress and are readily available to users or internally used by the WordPress installation by default:
Note: There may be more than one right answer

Answers:

  • Post
    • Page
    • Links
    • Attachment
    • Revision
    • Comments
    • Navigation menu

106. Which of the following is an example of a WordPress plugin that provides pagination capabilities?

Answers:

  • Page Break
    • Page Generator
    • WP-PageNavi
    • Page-list

107. Which of the following is not a WordPress role?

Answers:

  • System
    • Subscriber
    • Administrator
    • Editor

108. Is it possible to disable the trash and delete the posts immediatelly?
(Is it possible to disable the trash and delete the posts immediately?)

Answers:

  • No.
    • Yes, via a define in wp-config.php: define(‘EMPTY_TRASH_DAYS’, 0);
    • Yes, via a define in wp-config.php: define(‘EMPTY_TRASH_DAY’, 0);

109. Select all the WordPress supported audio formats.
Note: There may be more than one right answer

Answers:

  • aiff
    • mp3
    • ogg
    • flac
    • wma
    • m4a
    • wav

110. Sometimes you might want to disable all the automatic background updates of WordPress, extensions, themes and languages. How would you accomplish that?
Note: There may be more than one right answer

Answers:

  • via a define in wp-config.php: define(‘AUTOMATIC_UPDATER_DISABLED’, true);
    • with a filter: add_filter(‘automatic_updater_disabled’, ‘__return_true’);
    • I’m using git, so I would use a special filter:
    add_filter(‘automatic_updates_is_vcs_checkout’, ‘__return_false’, 1);

111. What is the correct way to use the _n() function?

Answers:

  • printf( _n( ‘The post has 1 star.’, ‘The post has %d stars.’, $view_count ), $view_count );
    • printf( _n( ‘The post has %d star.’, ‘The post has %d stars.’, $view_count ), $view_count );

112. How do you know if a WordPress action has been previously fired?

Answers:

  • Using the has_action(‘my_action’) function.
    • Using the did_action(‘my_action’) function.
    • Using the current_filter function.

113. What is the correct way for displaying navigation menu called “Primary Menu”?

Answers:

  • wp_nav_menu( array(
    ‘menu’ => ‘Primary Menu’
    ) );
    • wp_navigation_menu( array(
    ‘menu’ => ‘primary-menu’
    ) );
    • wp_navigation( array(
    ‘menu’ => ‘Primary Menu’
    ) );
    • wp_menu( array(
    ‘menu’ => ‘primary-menu’
    ) );

114. How you determine if a script has been enqueued correctly?

Answers:

  • has_enqueue_script(‘my-script-handle’);
    • wp_script_is(‘my-script-handle’, ‘enqueued’);
    • is_script_loaded(‘my-script-handle’);

115. Which of the following is incorrect possible value for $show attribute of bloginfo($show) function?

Answers:

  • ‘name’
    • ‘description’
    • ‘homeurl’
    • ‘admin email’

116. How to display the value of a post meta field named my_custom?

Answers:

  • $post_meta = get_post_meta($post->ID, ‘my_custom’, true);
    echo $post_meta;
    • $post_meta = get_post_meta($post->ID);
    echo $post_meta;
    • echo get_meta($post->ID, ‘my_custom’);

117. Is it possible to create posts programmatically?

Answers:

  • No
    • Yes, with wp_insert_post() function
    • Yes, with wp_add_post() function
    • Yes, with wp_create_post() function

118. What type of hook is wp_meta

Answers:

  • Action Hook
    • Filter Hook

119. Is it possible to bypass trash and force deletion with wp_delete_post() function?

Answers:

  • No
    • Yes

120. Retrieve all the post types that support thumbnails or excerpts.

Answers:

  • get_post_type(array(‘supports’ => array(‘thumbnail’, ‘excerpt’)), ‘names’, ‘or’);
    • post_type_supports(‘post’, array(‘thumbnail’, ‘excerpt’), ‘or’);
    • get_post_types_by_support(array(‘thumbnail’, ‘excerpt’), ‘or’);

121. What is the name of self-hosted version of WordPress?

Answers:

  • WordPress.com
    • WordPress.org
    • Open Source WordPress
    • WordPress online

122. Where can you change the Timezone used by WordPress in the dashboard?

Answers:

  • In Settings > Media
    • In Settings > General
    • In Settings > Reading
    • In Settings > Writing

123. Select all the default taxonomies in WordPress.
Note: There may be more than one right answer

Answers:

  • post_category
    • post_tag
    • link_category
    • product_tag
    • post_format
    • category

124. Which files are a minimum required by a theme to function?

Answers:

  • style.css and functions.php
    • style.css and index.php
    • index.php and functions.php
    • index.php, functions.php and style.css

125. What is WordPress multisite?

Answers:

  • Special version of WordPress that can support many sites and is not free.
    • WP configuration feature that supports multiple sites.
    • A WP plugin that supports multiple sites.
    • A popular WP theme that supports multiple sites.

126. Select all the default post types in WordPress.
Note: There may be more than one right answer

Answers:

  • post
    • page
    • attachment
    • revision
    • nav_menu_item

127. How do you enable the Network Setup menu item(enable Multisite) in WordPress?

Answers:

  • Install WP MU plugin
    • Activate WP Multisite in Settings menu
    • Set WP_ALLOW_MULTISITE as true in wp-config.php
    • WP MU has been discontinued as a separate project so there is no way to set up multisites in WP now

128. Which of the following is the correct way for enabling support for Post Thumbnails?

Answers:

  • add_theme_support( ‘thumbnails’ );
    • add_support( ‘post-thumbnails’ );
    • add_theme_support( ‘post-thumbnails’ );
    • theme_support( ‘thumbnails’ );

129. How would you extend the time of the WordPress login session?

Answers:

  • add_filter( ‘auth_cookie_expiration’, ‘stay_logged_in_for_1_year’ );
    function stay_logged_in_for_1_year( $expire ) {
    return 31556926; // 1 year in seconds
    }
    • add_filter(‘auth_cookie’, ‘stay_logged_in_for_1_year’);
    function stay_logged_in_for_1_year($expire) {
    return 31556926;
    }
    • add_filter(‘secure_logged_in_cookie’, ‘stay_logged_in_for_1_year’);
    function stay_logged_in_for_1_year($expire) {
    return 31556926;
    }

130. Which of these are a part of WordPress API?
Note: There may be more than one right answer.

Answers:

  • Theme Modification API
    • Metadata API
    • Theme Update API
    • Settings API
    • Options API
    • Theme Customization API
    • User API
    • Update API

131. Which concept does WordPress uses to control user access to different features?

Answers:

  • Username
    • Access tokens
    • Role
    • Cookies

132. Which constant is NOT recognized in wp-config.php?

Answers:

  • WP_SITEURL
    • WP_CONTENT_DIR
    • WP_CONTENT_URL
    • WP_HOME_URL

133. What is the default table prefix in WP?

Answers:

  • _wp
    • w_
    • wp_
    • wp-

134. Which is the most important file that should be deleted from your WordPress install directory once you’ve completed setup?

Answers:

  • setup-example.xml
    • wp_config_sample.php
    • wp-config-sample.php
    • wp-setup-sample.php

135. Display an Admin Notice in a Network Admin Dasboard of a WordPress multi site install.

Answers:

  • function my_network_admin_notice() {
    echo ‘<div class=»updated»><p>Network Admin Dashboard Notice!</p></div>’;
    }
    add_action(‘admin_notices’, ‘my_network_admin_notice’);
    • function my_admin_notice() {
    echo ‘<div class=»updated»><p>Network Admin Dashboard Notice!</p></div>’;
    }
    add_action(‘network_admin_notice’, ‘my_admin_notice’);
    • function my_notice() {
    echo ‘<div class=»updated»><p>Network Admin Dashboard Notice!</p></div>’;
    }
    add_action(‘network_admin_notices’, ‘my_notice’);

136. You need a single post meta value in a bigger post loop and you need it only one time, and you want it to be as fast as possible. How would you proceed?

Answers:

  • Of course, get_post_meta($post->ID, ‘post_meta’, true); — пока это, помечать оценку.
    • I would use a direct query like: $wpdb->get_var($wpdb->prepare(«SELECT meta_value from $wpdb->postmeta WHERE post_id = %d and meta_key = ‘post_meta’”, $post->ID));
    • I would use a direct query like: $wpdb->get_results($wpdb->prepare(«SELECT * from $wpdb->postmeta WHERE meta_key = %s”, ‘post_meta’));

137. How do you enable debug mode in WP?

Answers:

  • By going to Dashboard > Settings > General and then enable debug mode
    • By setting WP_DEBUG as true in wp-config.php
    • It is enabled by default

138. What are the default plugins installed in the WordPress?
Note: There may be more than one right answer.

Answers:

  • Contact form7
    • Akismet
    • All in one SEO
    • Hello Dolly

139. Which function(s) can be used to programatically create a new user in WordPress?
Note: There may be more than one right answer.

Answers:

  • wp_update_user
    • wp_create_user
    • register_new_user
    • wp_insert_user

140. Which of the following functions check if current visitor is a logged in user?

Answers:

  • is_visitor_logged_in ();
    • is_user_logged_in ();
    • if_user_logged_in ();
    • is_user_logged ();

141. Which one of the following files is located in the root of your WordPress installation directory and contains your website’s setup details, such as database connection info?

Answers:

  • setup.html
    • wp-setup.php
    • wp-config.php
    • wp-install.php

142. What can the Contributor role do?

Answers:

  • Moderate comments
    • Publish posts
    • Edit posts
    • Edit pages

143. What is common to all these functions: next_post, previous_post, link_pages, the_author_url, wp_get_link?

Answers:

  • They all return URLs
    • They are all deprecated
    • They all point to posts or post lists
    • They all echo something

144. Pick the correct default Post Types readily available to users or internally used by the WordPress installation.
Note: There may be more than one right answer.

Answers:

  • Post
    • Page
    • Blog
    • Media
    • Archive
    • Category

145. Where can you set a static page as the front page in WP?

Answers:

  • In wp-config.php
    • In Dashboard->Settings->Reading
    • In Dashboard->Settings->General
    • In Dashboard->Appearance

146. How do you check if the current user has the role “administrator”?
Note: There may be more than one right answer.

Answers:

  • current_user_can_do(‘manage_options’);
    • is_admin();
    • current_user_can(‘administrator’);
    • current_user_can_do(‘manage’);
    • in_array(‘administrator’, wp_get_current_user()->roles);

147. Which of the following is true about bloginfo(‘url’); function?

Answers:

  • Displays URL of the active theme’s directory.
    • Displays the “Site address (URL)” set in Settings > General. This data is retrieved from the “home” record in the wp_options table.
    • Displays the current post URL.
    • Displays the “WordPress address (URL)” set in Settings > General. This data is retrieved from the “siteurl” record in the wp_options table.

148. Clean up a comma-separated list of post ids. Example list: 1254,9930,10974,”192”,9930,192

Answers:

  • array_map(‘absint’, ’1254,9930,10974,”192”,9930,192’);
    • explode(1254,9930,10974,”192”,9930,192);
    • wp_parse_id_list(1254,9930,10974,”192”,9930,192);

149. How many WordPress posts can you create?

Answers:

  • WordPress recommends less than 10,000 posts.
    • WordPress is limited to 1,000 posts.
    • WordPress has not set any limit.
    • WordPress is limited to 1,00,000 posts.

150. You need to include a link in a sentence. How can you do that?

Answers:

  • _e( ‘Publish something using our <a href=»http://support.wordpress.com/post-by-email/»>Post by Email</a> feature.’ );
    • printf( __( ‘Publish something using our <a href=»%s»>Post by Email</a> feature.’), ‘http://support.wordpress.com/post-by-email/’ );
    • printf( __( ‘Publish something using our %s feature.’ ), sprintf( ‘<a href=»http://support.wordpress.com/post-by-email/»>%s</a>’, __( ‘Post by Email’ ) ) );

151. Assuming we are using ‘wp_’ as the database table prefix, in which table are all the custom fields related to a post stored?

Answers:

  • wp_posts
    • wp_postmeta
    • wp_terms

152. Which is the default site update service that WordPress automatically notifies when you publish a new post?

Answers:

  • http://rpc.pingomatic.com
    • http://google.com
    • http://ping.feedburner.com
    • http://www.feedsubmitter.com

153. Which of the following is not a default image size in WP?

Answers:

  • Small Size
    • Medium Size
    • Large Size
    • Thumbnail Size

154. What is a permalink?

Answers:

  • Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings.
    • The numeric IP address of your WordPress site.
    • The complete URL of your WordPress site.
    • A popular WordPress plugin.

155. Which of the following is not a default user role in WP?

Answers:

  • Blogger
    • Author
    • Subscriber
    • Contributor

156. How many WordPress themes can be installed in a single WordPress installation?

Answers:

  • 1
    • 10
    • 100
    • Unlimited

157. Arrange the following templates in decreasing order of priority from left to right for Site Front Page:

index.php
front-page.php
home.php

Answers:

  • index.php, front-page.php, home.php
    • front-page.php, home.php, index.php
    • home.php, front-page.php, index.php
    • front-page.php,index.php home.php

158. What database does WordPress use?

Answers:

  • Notes
    • PostgreSQL
    • MySQL
    • Oracle

159. Which of the following files in a WP theme is NOT a file required by the theme review team for acceptance into the WordPress.org theme directory?

Answers:

  • page.php
    • style.css
    • index.php
    • comments.php
    • screenshot.png

160. Select all of the supported page statuses in WordPress.
Note: There may be more than one right answer.

Answers:

  • draft (Draft)
    • pending (Pending Review)
    • private (Private)
    • publish (Published)

161. Which of the following strings is not a default WordPress post format slug?

Answers:

  • aside
    • image
    • quote
    • status

162. Which hook can be used to update kses and TinyMCE to allow select new attributes for an HTML element?

Answers:

  • tool_box
    • tiny_mce_before_init
    • tiny_mce_plugins
    • htmledit_pre

163. Where plugins options are stored in WordPress?

Answers:

  • They are stored in WordPress theme folder.
    • They are stored in WordPress plugins folder.
    • They are stored in WordPress.org and not on your site.
    • They are stored in WordPress Database.

164. When adding a function to the “the_content” hook, where will you see changes?

Answers:

  • On the blog list page.
    • On the single post page.
    • It depends on how your theme is set up.
    • On the archive page.

165. Which standard WP class do you need to necessarily extend to create your widget?

Answers:

  • WP_Widget
    • WP_Widget_Form_Customize_Control
    • WP_Customize_Control
    • WP_Customize_Sidebar_Section

166. Which of the following is true about wp_mail() function?
Note: There may be more than one right answer.

Answers:

  • A true return value does not automatically mean that the user received the email successfully.
    • For this function to work, the settings SMTP and smtp_port (default: 25) need to be set in your php.ini file.
    • The default content type allows using HTML.
    • The function can handle only one email as $to parameter.

167. Which hook fires after WordPress has finished loading but before any headers are sent?

Answers:

  • activate_wp_head
    • init
    • activate_header
    • xmirpc_call

168. Which loop is used by default to fetch the posts and loop through them?

Answers:

  • for loop
    • while loop
    • foreach loop

169. Pick the default template tag(s).
Note: There may be more than one right answer.

Answers:

  • the_field()
    • wp_title()
    • the_title()
    • wp_field()

170. Arrange the following templates in decreasing order of priority from left to right used to display the posts on a Category page.

index.php
category.php
archive.php
category-ID.php
category-slug.php

Answers:

  • category-ID.php, category-slug.php, category.php, archive.php, index.php
    • category-slug.php, archive.php, category.php, category-ID.php, index.php
    • index.php, category.php, archive.php, category-ID.php, category-slug.php
    • category-slug.php, category-ID.php, category.php, archive.php, index.php

171. Which function should be used to insert a post title into the title attribute of an HTML element?

Answers:

  • get_the_title();
    • the_title_attribute();
    • the_title();

172. Which of the following is/are NOT the default abstract methods available in the Walker class for menus?
Note: There may be more than one right answer.

Answers:

  • start_lvl()
    • end_lvl()
    • start_li()
    • end_li()

173. What does wp_rand() function?

Answers:

  • Gets random post ID.
    • Gets random category ID.
    • Generates a random post ID for wp_insert_post() function.
    • Generates a random number.

174. Is it possible to update posts programmatically?

Answers:

  • Yes, with wp_edit_post() function.
    • Yes, with wp_update_post() function.
    • Yes, with wp_change_post() function.
    • No.

175. Where do you change theme name and author details?

Answers:

  • style.css file in the theme folder
    • index.php file in the theme folder
    • readme.txt file in the theme folder

176. What is the correct order of priority in decreasing order from left to right for Custom Post Type template files?

Answers:

  • single-{post-type}-{slug}.php, single-{post-type}.php, single.php, singular.php, index.php
    • single-{post-type}.php, single-{post-type}-{slug}.php, single.php, singular.php, index.php
    • single-{post-type}.php, single.php, singular.php, single-{post-type}-{slug}.php, index.php
    • index.php, singular.php, single-{post-type}-{slug}.php, single-{post-type}.php, single.php

177. Which default WP function can be used to assign different classes to the body element?

Answers:

  • body_class()
    • get_body_classes()
    • get_theme_support()
    • sanitize_html_class()

178. What is the name of theme file for a page with slug ‘about-us’?

Answers:

  • about-us.php
    • page-about-us.php
    • page-about.php
    • about-us-page.php

179. Which of the following is the correct way to display featured image of post?
Note: There may be more than one right answer.

Answers:

  • echo get_the_post_thumbnail($page->ID, ‘thumbnail’);
    • echo get_the_featured_image($page->ID, ‘thumbnail’);
    • the_post_thumbnail($page->ID, ‘thumbnail’);
    • the_featured_image($page->ID, ‘thumbnail’);

180. How will you check if a page exists for a given URL?

Answers:

  • get_page_by_path()
    • get_page_url()
    • get_page_link()
    • get_page_uri()

181. Which of these would be the correct way to output the escaped username in a sentence?

Answers:

  • <?php scanf( __( ‘Howdy, %s’ ), $username ); ?>!
    • <?php echo __( ‘Howdy’ ) . ‘, ‘ . $username; ?>!
    • <?php printf( __( ‘Howdy, %s!’ ), $username ); ?>
    • <?php _e( «Howdy, $username!» ); ?>
    • <?php _e( ‘Howdy, %s!’, $username ); ?>

 

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com
, , ,

Top 3 Free Hosting Providers For Beginners to Learn WordPress

Top 3 Free Hosting Providers For Beginners to Learn WordPress

Always connect with earn web tech and get latest updates of technology blogs. Now you are going to learn about the companies who provide free WordPress Hosting services.

Choosing a hosting for your new blog is tough.

Most of the newbies usually like to start with a free hosting to learn WordPress & try things out, and after learning, they prefer to move to premium hosting service later on.

Are you one of them? 

Do you want to start a quality blog on WordPress for free?

If yes, today I am going to share four best WordPress Hosting for newbies that are free.

List of Free Hostings for WordPress

1.x10Hosting.com

X10-hosting

 

It’s is one of the oldest hosting providers since 2004 and provides cool offers and features at a zero cost. Here are some of its features:-

  • It has the latest version of Cpanel.
  • Private Cloud hosting.
  • Advanced versions of MySQL and PHP.
  • There are never any forced ads.
  • Provides good customer support.

2. ByetHost.com

byethost-free-hostings-1-e1467032472477

 

It also has very great features, and that’s why this is also in the top list. It offers you an FTP account, file manager, Control panel, free tech support, add-on domain and sub-domains and many more features. It has following brilliant features:-

  • Best Thing is that you get Softaculous Auto Installer.
  • 200 GB monthly transfer
  • 1000 MB of the disk space.
  • You can have 50 addon domains, 50 parked domains & 50 sub domains
  • 5500 MB disk space
  • 50 MySQL databases
  • Free 24/7 support and also FTP account
  • Control panel for your easy handling of the website.
  • A good error page manager.
  • Free hosting without any ads and pop-ups.

3. FreeHostingNoAds.net

freehosting

 

With this company, you can enable your website to go online within few minutes. In this company, you will get the following listed features.

  • Many different templates and it also has a website builder.
  • Host your own domain or use Free subdomain offered by the company.
  • 20 GB Disk Space available with 200 GB bandwidth traffic
  • Tools like Joomla, phpBB, and of course, WordPress.
  • 3 PHP versions are provided by this company, which you can choose for your website as per your requirements.
  • Also, it allows you to create email accounts.

These are some of the best and free WordPress hosting providers. However, always remember that you should never host your professional blog or high traffic website on these free hosting. Because they can suspend your hosting account anytime without warning you or without any reason.

Therefore, before you move forward and buy any one of the above, let’s look at its cons.

Disadvantages Of Using Free WordPress Hosting Providers

  • Limited Space and Bandwidth: Free hosting has limited space and bandwidth. The bandwidth can be seen as the number of visitors allowed on your website per month.
  • Very Poor Customer Support: Free web hosting has terrible customer support. You will be helpless if you got stuck anywhere in the installation or if you have any problem.
  • No Backup System: Free users are not allowed to backup their site. If anything bad happens to your blog, then you will be unable to backup your blog.
  • The risk of Getting Banned or Suspended Account: There is always a fear of getting banned or suspended while using free hosting. They can ban your account any time without giving any reason and warning.
  • Affects blog’s SEO: If you are hosting your blog on any of the free hosting company. Then remember that Free hosting will have a bad effect on your blog’s Seo.

Last Words – Our Recommendation

We advise you only to use free WordPress hosting to learn WordPress and related things like themes, plugins and customizing the blog and other kinds of stuff. Otherwise, always buy a premium WordPress hosting from a good company to make your blog or website run smoothly and safely.

If you also know any good free hosting providers for WordPress then, share it with others by commenting below. And if you like this post then don’t forget to share it with your friends. 

Author Bio: Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration.  For any questions, mail him 11mohitsaini@gmail.com

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com