, , , ,

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

, , ,

Do you know WhatsApp is going to share your phone number with Facebook

WhatsApp is giving users a limited time to opt out of sharing their information with Facebook, although they must take the extra step of unchecking a box to do so

 

WhatsApp says current users have up to 30 days to accept the new policy terms or stop using the service. Once they accept, they have 30 more days to opt out of sharing with Facebook.

Global messaging service WhatsApp says it will start sharing the phone numbers of its users with Facebook, its parent company. That means WhatsApp users could soon start seeing more targeted ads on Facebook—although not on the messaging service itself.

The move is a subtle but significant shift for WhatsApp, which has long promised to safeguard the privacy of more than 1 billion users around the world. WhatsApp is giving users a limited time to opt out of sharing their information with Facebook, although they must take the extra step of unchecking a box to do so. It also says Facebook won’t post phone numbers online or give them out to anyone.

But the giant social network has been looking for ways to make money from WhatsApp since it bought the service two years ago, in an eye-popping deal ultimately worth $21.8 billion. At the same time, Facebook has pledged not to interfere with a longstanding promise by WhatsApp’s co-founders to respect users’ privacy and keep ads off its messaging platform.

WhatsApp on Thursday offered a glimpse of its plans for turning on the money spigot, releasing new documents that describe the company’s privacy policy and the terms of service that users must agree to follow. The documents are the first revision of those policies since 2012 before Facebook acquired WhatsApp.

One change follows through on previous hints by WhatsApp executives, who have said they’re exploring ways for businesses to communicate with customers on WhatsApp. That could include using WhatsApp to provide receipts, confirm a reservation or update the status of a delivery.

Companies could also send marketing offers or messages about sales to individual customers, according to the new documents, which note that users will be able to control or block such messages. WhatsApp says it will continue to bar traditional display ads from its service.

“We do not want you to have a spammy experience,” the company tells users in a summary of the new policies.

Another change is potentially more controversial: WhatsApp says it will begin “coordinating” accounts with Facebook by sharing WhatsApp users’ mobile phone numbers and device information, such as the type of operating system and other smartphone characteristics. The company says Facebook will employ the phone number internally to better identify WhatsApp users on Facebook, so it can recommend friends or show targeted advertising.

The ads would come through a Facebook program called “Custom Audiences,” which lets a business upload lists of customers and phone numbers or other contact information the business has collected from warranty cards or other sources. Facebook matches the list to users with the same information and shows them ads. Facebook says it doesn’t give out users’ information to advertisers.

WhatsApp phone numbers are valuable to Facebook. While the social network already has many phone numbers, it doesn’t require users to provide them and doesn’t always have the most current number for everyone on Facebook. But anyone on WhatsApp must provide a current phone number because that’s how WhatsApp knows where to deliver messages.

The coordination of accounts may draw fire from privacy advocates. WhatsApp has long promised not to employ user data for advertising. Its acquisition by Facebook two years ago sparked complaints from activists who worried the new owner would start mining WhatsApp accounts. Though both companies pledged WhatsApp would operate separately from its parent, the Federal Trade Commission warned them publicly, in a 2014 letter, against changing how they employ WhatsApp user data without users’ consent.

WhatsApp says current users have up to 30 days to accept the new policy terms or stop using the service. Once they accept, they have 30 more days to opt out of sharing with Facebook.

Privacy groups have praised WhatsApp for building powerful encryption into its services, making it impossible for the company or anyone else to read users’ messages. WhatsApp promises that encryption will remain, so neither WhatsApp nor Facebook would be able to use message content for advertising purposes.

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

, , ,

What Do The Richest And The Most Successful People Have In Common

What Do The Richest And The Most Successful People Have In Common

What is your definition of financially stable people?

Well, according to me, financially stable people are those who are in control of their money instead of  the money governing them. Their revenue doesn’t essentially decide how financially successful they are, their selections and significances do.This is one rule which is followed by all the successful people around the world.

If you want to be one of them, read below to know the traits present in rich and successful people.

1. They occupy themselves with positivity and escape from negative thoughts

The-Power-of-Positivity-1

Do you know negative philosophy makes it more difficult to find an innovative way out of the difficulties you may be facing?

When you reside on negative sensations, it causes you to contract your attention and makes it hard for you to see the great depiction.

Positive thinking, on the other side, can make you more creative, inspired, and able to do experiments because you’re not occupied by your own negativity.

2. They do not fear of sacrifices

The financially successful will accept a decline in income, use second-hand things, and downsize their house when they’re at their initial stage.

They take the earned money, save it and invest it or re-invest it in the business that will help them to make more and more money. Sometimes, financially stable people choose to spend frugally their entire lives.

3. They don’t complain about the things

If something bad happens, they change the path, acquire from it, or find a way to take advantage of it. But they don’t complain about it.

4. Paying off debt is a priority

Ignoring your debt will not stop you feeling stressed about it, rather it will rack up more interest, so get rid of debt first.

5. They don’t blame the administration or the economy for their state

Instead, they take all restraint for themselves and their activities and consider they are the leader of their own futures.

6. They focus on an enduring commercial aim

They are not only making money and spending it, but they also create financial plans which help them to reach heights and enable them to make more and more money in future.

7. They believe in learning new things

76% of wealthy people don’t assume they already know everything. They love to study and believe in further education.

8. They offer facilities or create their own valuable things

They don’t just engulf what other people have introduced

9. They are keen tracker

Wealthy people always record their capitals and funds. They have an eye on where their money is coming from and where their money is spent. They use MS Word, Excel sheets, online apps, software, or even hard copies to keep track of their financial plan.

10. They are more enthusiastic about the course of foundation than the currency they make

It’s not that they don’t pay attention about earning money, but money isn’t their highest precedence. The economically stable people get pleasure from making their customers and delegates happy.

11. Smart risk taker

Rich people take smart risks. From property or stock market investments to starting a new business that might turn out enthusiastically profitable, you’ll see a good bit of risk taking among the wealthy successful people.

“Abundance. Energy. Possibility. The way to get rich is to think like the rich.”

So, go ahead and practice the above points to get rich and successful in your life. And don’t forget to share this article with your friends and family. You wouldn’t want them to be lagging behind you.

 

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

, ,

Why Do You Need To Upgrade Your Hosting To Dedicated Server Hosting

Why Do You Need To Upgrade Your Hosting To Dedicated Server Hosting

You can read about hosting on earn web tech. We are providing you latest information about hosting and server-side management. Taking into account the consequences of website growth, you may begin to ponder on the need for a dedicated server. A dedicated server is a computer with internet connection and is entirely dedicated to one customer. There is a need to look for indications that you are in need of a dedicated server for your website.

Look for these indications

Detecting a slowdown in your system performance is not an easy task. It is really necessary for you to look for these signs and decide on the system’s requirement of a dedicated server.

  • Increased time is taken for loading of a page
  • Error messages from database due to high volume
  • Overloaded server leads to the bad performance of the website

Regular monitoring of your Website traffic will also answer the question as to why do you need to upgrade your Hosting to Dedicated Server hosting. It will be an intelligent move to visit your site at peak traffic hours and analyze the site performance. It will also help you realize the difficulties your visitors come across.

System alteration and customization is one the prime reasons that motivate you to adopt a dedicated server. Maintaining a dedicated server hosting depends on the ability to install and upgrade software and also take care of security issues that may pop up.

What is dedicated server hosting

In web management world dedicated hosting is considered a most suited method of improving the performance of your website. Dedicated hosting is most apt for large enterprises or big e-commerce firms as the expenditure associated with such methods raises a demand that the clients to fully avail the facilities offered by the new system. It allows the site owner to enjoy the multitude of features which are of great value in hosting arena and in no way shared hosting is any match to dedicated hosting.

Types of dedicated hosting

Hosting providers offer the following types of dedicated hosting services:

Fully managed hosting
  • Security upgrades and software installations
  • Complete assistance for all hosting needs
Semi-managed hosting
  • Intermediate management level
  • Need to employ professionals to take care of server needs
  • Services provided are mutually agreed upon
Managed hosting
  • Complete control is not allowed
  • Provider can only make server modifications
  • Rights restricted  to your data and users
Self-managed hosting
  • Your staff can manage server completely
  • Hosting provider offers low-cost customer support
Unmanaged hosting
  • Server is fully managed and rubs by your staff
  • No support from the hosting company
  • Need to tackle all server issues on your own

Why do you need to upgrade your Hosting to Dedicated Server hosting

Understanding your server details and the services offered by the hosting provider are incredibly important in order to fully utilize the provisions of a dedicated server hosting. A wrong dedicated hosting plan can have a dangerous effect in the case of website emergencies which include downtime in peak hours.

Benefits of dedicated hosting

Dedicated server hosting provides you a dedicated server for your data and other applications. It maximizes your reliability and aids high website performance. This arrangement allows complete control over all features of your website and

  • Allows installation of a wide variety of software.
  • Superior speed of loading heavy applications
  •  Storage options for websites with users’ personal details
  • Improved performance rate when handling heavy site traffic
  • Facility to add more server bandwidth and storage space as and when required.

Dedicated server hosting services must be availed from a reliable hosting provider in order to ensure high website performance under all circumstances.

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

, , ,

How to Make Websites Load Faster In Google Chrome On Android

How to Make Websites Load Faster In Google Chrome On Android

Through Earn Web Tech we are going to share an easy method to make websites load faster In Google Chrome on Android. With this method, you can easily boost up your android’s Google Chrome browser.

Today we are here with a cool method to make Google Chrome browse faster on Android. Google chrome is one the most conventional web browser for PC user and is further available for all OS like android. However, with the time Google chrome starts lagging and it becomes slow. Also, you face problem while managing multiple tabs at once. At that time, it sometimes stops responding. So to overcome this, we have a cool method that will not only make your Google chrome browser much faster but will also let you manage multiple tabs efficiently. So read out the complete guide below to proceed.

How to Make Websites Load Fast In Google Chrome On Android

The method is very simple and we will be editing some hidden feature of chrome in this method and with that, your chrome speed will boost up and it will browse web pages faster. So follow up the below steps to proceed.

Steps To Make Google Chrome Browse Faster In Your Android

Step 1. First of all, you must have the latest version of Google Chrome on your android device. Now open your google chrome app and in URL bar type Chrome://Flags and then hit enter.

Make-Google-Chrome-Browse-Faster-In-Your-Android-576x1024

Step 2. Now lots of hidden settings will get open.

Make-Google-Chrome-Browse-Faster-In-Your-Android-2

Step 3. There search for the option “Maximum tiles for interest area Mac, Windows, Linux, Chrome OS, Android“.

Make-Google-Chrome-Browse-Faster-In-Your-Android-3

Step 4. This is the Ram value which is default at initial but you have to change it to its maximum values that are 256 or 512.

Make-Google-Chrome-Browse-Faster-In-Your-Android-4-576x1024

Step 5. Now simply click on Relaunch Now button there.

Make-Google-Chrome-Browse-Faster-In-Your-Android-5

That’s it! you are done, now you will see web pages will load faster than before. So above is all about How to Make Websites Load Fast In Google Chrome On Android. With this method, you can easily boost up your android’s Google Chrome browser with a simple change in its hidden settings. Hope you like our work, do share this cool trick with others too. Leave a comment below if you have any related queries with this.

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

An important update to Upwork’s pricing by Stephane Kasriel, Upwork CEO

An important update to Upwork’s pricing by Stephane Kasriel, Upwork CEO

Hey, readers EarnWebTech is official tech website. You can read here latest job post and latest news about tech, Google Adsense, and other SEO topics. Now you can read the letter about the Upwork’s pricing by Stephane Kasriel(Uwork CEO).

I’m writing to share an important update to Upwork’s pricing and Terms of Service. Starting in June, we will change our fee structure so that the more business you do with your clients on Upwork, the more earnings you keep.

Upwork will charge a sliding fee based on your lifetime billings with each client (across all hourly and fixed-price contracts you’ve ever had with them on Upwork). These are the fees you will pay:

  1. 20% for the first $500 you bill your client across all contracts
  2. 10% for total billings with your client between $500.01 and $10,000
  3. 5% for total billings with your client that exceed $10,000
  4. For example, if you begin an hourly or fixed-price contract with a new client for $600, you’ll be billed 20% on the first $500 and 10% on the remaining $100.

Here’s what your net earnings will look like over time, as a percentage of what the client is billed:

unnamed
When the new pricing takes effect, we’ll honor the previous 10% fee for all active contracts unless you’ve billed over $10,000 with a client, in which case we’ll automatically lower your fee to 5%. On all new contracts, the new pricing will apply.

These changes will reward long-term work and cover the costs of small projects, which are more expensive for us to support. I realize these are significant changes, but I believe they’ll allow us to deliver you a higher level of service and opportunity in the future.

We’ll follow up with an update before these changes roll out in June. In the meantime, visit our pricing page to learn more about this change as well as a new fee for clients.

Thank you for your business,

Stephane Kasriel
CEO, Upwork

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

SECRETS ABOUT WHY YOU DON’T ALWAYS NEED SEO

Search Engine Optimization (SEO), is an incredible tool to drive traffic to your blog or website. Like many bloggers, I make SEO easy by utilizing the Yoast plugin. At the bottom of each post I fill out the search engine title for the post, the focus keyword, and a meta description (brief description of what the blog post is about).

Additionally, when I’m naming photos to use on my blog, I name them strategically based on what I think people would google to find the post. For instance, my image for this post is named “Don’t-Always-Need-SEO.jpg”. When I uploaded it to my media in WordPress, I added the Title, Alternative Title, and Description. This will ensure that when your image is pinned from your blog or website, that the pin description is exactly what you want it to be.

So yes, SEO is great and if you’re trying to bring traffic to your blog or website, you need it. But what about when you don’t?

On my lifestyle blog, when I write personal posts, I don’t fill out the Yoast plugin. Sure, someone might google something related to my personal ramblings. But those posts are primarily written for my existing readers and as an outlet for me.

If your blog is primarily personal and is written for friends or family, you probably don’t need SEO. The people you want to find your blog already have.

If you aren’t blogging to grow your audience or monetize, there isn’t much need to focus on SEO.

SEO is all about how much you want to be found.

As a blogger who bounces back and forth between personal and informational or entertainment topics, I choose to work on SEO on some posts and not others. There is no requirement that your blog either has to be one or the other.

Not every post needs to have SEO. Some posts are just for you or your existing readers. Sometimes you can write to just write. And that’s okay.

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 4 Ways to Increase Domain Authority of your Blog

These days’ people think DA doesn’t have any value behind a successful site, but it’s not accurate. Domain Authority is one of the very major aspects for authentic calculations of a site for making it top ranked in search engines. To Keep Domain Authority proceeding to the tempo of 35 results in an important place of your site in the search engine.

1. High Quality Backlinks

We all know backlinks are backbone of a website. Every blogger should take this seriously. Without quality backlinks, your all hard works will look like a waste in search engines vision. So, for building a profitable site or blog, you must give value to every characteristic with an amazing endeavor of linking every page of your site/blog in splendid style with each other.
You need to notify Google that your site is not about a specific page or homepage, but all of its pages are have same weight like others. This will show the concern about your website and it will make wide sorts of backlinks from inner pages for emerging noticeable in Google for a superior quality search engine optimization.

For a long run, DA is in fact about the degree of trust you build up into the pages. Below are some useful tips to secure this objective:

>> make use of the regular and standard keywords for making a good interaction into the inner pages.

> You should always try to connect all of your major important pages like: About Us, Contact Us, Advertise, etc by utilizing the links.

>> When backlinks comes from a high quality site, it means a lot the search engines. So you should use the keywords aim to access outstanding links that comes from other sites.

>> Always certify that the links you are using are well positioned appropriate and required when they emerge on a specific page of your site.

>> Do not use complicated keywords for linking to another page. Juice up the links with various keyword and core-text links.

2. High Quality Content

“Content is King” this famous proverb known by millions people in blogosphere. Search engines wants fresh and unique piece of content every time. The blog owners experienced Google’s primacy on exceptional contents to gain higher ranking in search results. After Google Panda’s update it’s clearly seen that tons of blogs lose their precious ranking due to poor content quality. But if your site has matchless contents then the other site will surely link to your blog and your valuable contents will be shared on wide range of sites. On the other side, this practice will gain more trust and bring vast amount of worthy backlinks.

Moreover, some other aspects also play a vital role in computing the expertise of your Domain along with maintaining the quality of content:-

>> First and foremost never steal someone’s content.
>> Publish original content
>> Avoid posting promotional links or ads excessively. It repels the visitors.
>> Do not be reluctant to write long articles, but make sure it contains significant content.
>> Write in-depth articles but don’t add words unnecessarily.
>> Utilize correct keywords along with images
>> Focus on readers at first than search engines
>> Be careful with spelling and grammar.
>> Write helpful content that matters to the readers.
>> Maintain Meta tags and descriptions properly.

3. Old Domain is Gold

There’s a saying “Old is gold”. It’s very true. Competition is getting bigger and bigger every day as new blogs are launching in quick season. That’s why DA matters a lot including readers, ranking and earning.

4. More Content

Everybody likes to read an updated (or 3-4 times a week) blog which delivers fresh information often to the readers. If you’re writing daily, then search engines will index it immediately. So, this is a good opportunity to increase visitors and site’s performance.

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 Do SEO For Page Titles

SEO is one of the vital factors behind any successful site. And everybody knows the world SEO is full of mystery and filled with many kind of important aspects.

Title tags are one of them. A webpage title tag is also recognized by title tags or title element, which is written in the coding of the page, and generally it look like this – <title> The Title of the page is Written Here <title>.

I think you might have notice that the title tags isn’t straight forwardly displayed to the visitor on a particular page, but it can be perceive in two most important places- on the search result pages ( the blue clickable link on top of description and url) and in the social media websites ( when someone likes, shares, +1, the page). The two most significant places where title tags are shown are exceptionally valuable from an SEO approaching.

You should keep in mind that, the title element should attract to both humans and search engines and must obtain a correct balance among being convincing and being truthful. And title tags should be brief, explanatory, include proper keywords and draw attention of users and tempt people to click on it.

Also, it should be catchy – to both other titles on your site and the title your competitors are using for providing a solid opening to rank for various keywords. Are you ready to accomplish this and optimize title tags for search engines? I am sure you are, so get ready and scroll down below for discovering the strategies.

Keywords

If you’re not putting your targeted keywords within your title then it becomes difficult. To rank a keyword you need to be linked with the same keyword which depends on other people’s activity.

Search engines makes main words “bold” to match the search query. Thus, you should bold your main keywords to highlight but don’t over optimize it.

If you’re writing on long tail keyword then I’ll recommend you to add that in the beginning so it could help you with search ranking and CTR.

Length

It’s vital that you should maintain your tittles length within 50-55 characters. If it exceeds this limit then it’ll be replaced by …. And it doesn’t look well for sure. Also, short tittles are more effective to increase readers and CTR.

But you can join your keywords to make it little longer. You need to balance it properly as you need to manage both search engines and readership as well.

Descriptive

A proper description leads your readers to scroll down for further reading but if your topics aren’t match viewers expectation then they’ll click back button at once and increase your bounce rate, decrease in spending time and loss of readers.

Branding

If you’ve available space then it’s worthy to put your business in front of your visitors. It’s a good opportunity to spark your business on top of the visits. Build a business a page according to your niche so you can obtain maximum exposure.

Presentation

Bold is a simplistic font (looks) but you can manage and specify particular words by a, an, and hyphens.

A superb presentation gives your article an extra edge. So, be consistent and make stylish your content for better outcome.

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