Hi, friends welcome to my blog today I am decided how you can pass upwork WordPress test easily and get good percentage I have answer sheet this WordPress test I know this sheet is work perfectly and you can achieve it ok let's get started.
first, you type your keyboard ctrl+F then now search
1. What are the template tags used WordPress include the following?
Note: There may be more than one right answer.
you can try second website to find answer :- WordPress Test 2018 (Top 10%)
9.How do you enable the Network Setup menu item(enable Multisite) in WordPress?
17.Following variables you can use in this email are not explained entirely on the site options page?
you can try this blog to solve wordpress problem in upwork :- UPWORK TEST ANSWERS | WORDPRESS UPWORK TEST ANSWERS 2017
I hape you can enjoy my post upwork wordpress test with answer i know many question answer are not available soory friends i feel trouble.
first, you type your keyboard ctrl+F then now search
1. What are the template tags used WordPress include the following?
Note: There may be more than one right answer.
a.get_footer()
b.get_sidebar()
c.wp_title_cats()
d.get_header()
e.All of the above
2.Which HTML tags are not allowed to be used in a post comment
Note: There may be more than one right answer (Anshwer not available here)
a.code
b.form
c.img
d.strike
e.table
3.How do you enable debug mode in WP?
a.By going to Dashboard > Settings > General and then enable debug mode
b.By setting WP_DEBUG as true in wp-config.php
c.It is enabled by default
4.If you need to store information temporarily which WordPress system would you use:
a.Options
b.Meta tables
c.Transients
d.The REST API
5.What is the name of a table in database which stores custom fields data?
a.wp_custonmeta
b.wp_options
c.wp_terms
d.wp_postmeta
6.Which of the following is correct way to add fields to category edit form?
a.add_action( ‘{custom-taxonomy-name}_edit_form_fields’, ‘add_edit_custom_fields’)
b.add_action( ‘category_edit_form_fields’, ‘add_edit_custom_fields’);
c.add_action( ‘{custom-taxonomy-name}_add_form_fields’, ’add_new_custom_fields’);
d.All of the above
7.What is common to all these functions: next_post, previous_post, link_pages, the_author_url, wp_get_link?
a.They all return URLs
b.They are all deprecated
c.They all point to posts or post lists
d.They all echo something
8.Which constant is NOT recognized in wp-config.php?
a.WP SITEURL
b.WP CONTENT DIR
c.WP CONTENT URL
d.WP HOME URL
you can try this blog to know wordpress answer :- WordPress Upwork Test 2017
9.How do you enable the Network Setup menu item(enable Multisite) in WordPress?
a.Install WP MU plugin
b.Activate WP Multisite in Settings menu
c.Set WP_ALLOW_MULTISITE as true in wp-config.php
d.WP MU has been discontinued as a separate project so there is no way to set up multisites in WP now
10.Which concept does WordPress use to control user access to different features?
a.Username
b.Access tokens
c.Role
d.Cookies
11.What are WordPress hooks?
a.Setting options available to WordPress administrators.
b.Security functions that run inside WordPress.
c.Group of plugins which control WordPress behavior.
d.Ways to change the default behavior of WordPress.
12.Which of the following is not a default user role in WP?
a.Blogger
b.Author
c.Subscriber
d.Contributor
13.What can the Contributor role do?
a.Moderate comments
b.Publish posts
c.Edit posts
d.Edit pages
14.Which WP global object is used to execute custom database queries?
a.$wpdb
b.$wp_db
c.$db_query
d.$wp_query
15.Which of the following submenu function you will use for settings? - answer soon
a.add_options_page (page_title, menu_title, capability, handle);
b.add_posts_page (page_title, menu_title, capability, handle);
c.add_users_page (page_title, menu_title, capability, handle);
d.add_management_page (page_title, menu_title., capability, handle);
e.add_theme_page (page_title, menu_title, capability, handle);
16.You can determine the post’s ID, publication date, publication time, category, and tag using the following functions?
Note: There may be more than one right answer
a.the_date()
b.the_tags()
c.the_loop()
d.the_category()
e.the_ID()
17.Following variables you can use in this email are not explained entirely on the site options page?
Note: There may be more than one right answer.
a.BLOG URL
b.SITE NAME
c.BLOG URL
d.USERNAME
e.None of the above
19.Which of the following is not a default image size in WP?
a.Small Size
b.Medium Size
c.Large Size
d.Thumbnail Size
20.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.
a.Post
b.Page
c.Blog
d.Media
e.Archive
f.Category
21.What is WordPress multisite?
a.Special version of WordPress that can support many sites and is not free.
b.WP configuration feature that supports multiple sites.
c.A WP plugin that supports multiple sites.
d.A popular WP theme that supports multiple sites.
22.What is User Management?
a.It allows managing the user information such as changing the role of the users to (subscriber, contributor, author, editor or administrator), create or delete the user, change the password and user information. The main part of the user manager is Authentication.
b.It not allows managing the user information such as charging the role of the users to (subscriber, contributor, author, editor or administrator), create or delete the user, change the password and user information. The main part of the user manager is Authentication
c.It allows managing the user information such as changing the role of the users to (subscriber, contributor, pulgin, author, editor or administrator), create or delete the user, change the password and user information. The main part of the user manager is Authentication.
d.It allows managing the user information such as changing the role of the users to (subscriber, contributor, plugin, themej author, editor or administrator) create or delete the user, change the password and user information. The main part of the user manager is Authentication.
23.What does the wp_rand() function do?
a.Gets random post ID.
b.Gets random category ID.
c.Generates a random post ID for wp_insert_post() function.
d,Generates a random number.
24.How can you style each list item background of the WordPress navigation separately?
a,nav li:nth-child(1) .current-menu-item{ background-color: red;}nav li:nth-child(2) .current-menu-item { background-color: blue;}nav li:nth-child(3).current-menu-item { background-color: green;}
b.nav li:nth-childs(1) .current-menu-item { background-color: red;}nav li:nth-childs(2).current-menu-item { background-color: blue;}nav li:nth-childs(3).current-menu-item { background-color: green;}
c.nav li:nth-first-child(1). current-menu-item { background-color: red;}nav li:nth-second-child{2). current-menu-item { background-color: blue;}nav li:nth-last-child(3) . current-menu-item { background-color: green;}
d.All of the above
25.Wordpress navigation menu without sub menu.
a.wp_nav_menu( array ( ` theme_ location` => ‘primary’, ‘menu_class’ => ’ nav-menu ‘ , ‘ depth ‘ => 1) ) );
b.wp_nav_menu( array ( ‘ theme_ location` => ‘primary’, ‘menu_class’ => ’nav-menu’ ) );
c.wp_nav_menu( array ( ‘ theme_location’ => ‘primary’ ,’menu_class’ => ’nav-menu’, ‘depth’ => ‘outside’) ) );
d.All of the above
26.Is it possible to create posts programmatically?
a.No
b.Yes, with wp_insert_post() function
c.Yes, with wp_add_post() function
d.Yes, with wp_create_post() function
27.Select all the default taxonomies in WordPress
Note: There may be more than one right answer.
a.post_category
b.post_tag
c.link_category
d.product_tag
e.post_format
f.category
28.How you can hide the admin bar at the frontend using the following code in functions.php?
a.add_filter( fadmin_bar’ , add_filter’_return_false’);
b.add_filter( radnin_bar’, add_menu ‘_return_false’);
c.add_filter(radmin_bar’, ‘_return_false’);
d.None of the above
30.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?
a.setup.html
b.wp-setup.php
c.wp-config.php
d.wp-install.php
31.What database does WordPress use?
a.Notes
b.PostgreSQL
c.MySQL
d.Oracle
32.Where are plugin options stored in WordPress?
a.They are stored in WordPress theme folder.
b.They are stored in WordPress plugins folder.
c.They are stored in WordPress.org and not on your site.
d.They are stored in WordPress Database.
33.What is the default table prefix in WP?
a._wp
b.w_
c.wp_
d.wp-
34.Which of the following is not a WordPress role?
a.System
b.Subscriber
c.Administrator
d.Editor
36.How you can modifying the new role using the following code snippet?
a.< ?php$admin = get_role(‘administrator’);$PrivateRole -> remove_cap(‘read_private_pages’)?
b.< ?php$admin = get_role(‘administrator’);$caps = $admin->capabilities;remove_role(‘designer’);?>
c.< ?phpadd_role(‘designer’, ‘Designer’, $caps)remove_role(‘designer’);?>
d.< ?php$PrivateRole = get_role(‘privatereader’);$PrivateRole -> remove_cap(‘read_private_pages‘);?>
37.Which of the following is the correct way to register shortcode?
a.function foobar_func( $atts ){return “foo and bar”;}new_shortcode( ’foobar ‘, ‘foobar_func’);
b.function foobar_func( $atts ){return “foo and bar”;}insert_shortcode( ‘foobar’, ’foobar_func’ );
c.function foobar_func( $atts ){return “foo and bar”;}register_shortcode( ’foobar’, ’foobar_func’ );
d.function foobar_func( $atts ){return “foo and bar”;}add_shortcode( ’foobar1, ‘foobar_func’ );
39.Which of the following submenu function you will use for Tools?
a.add_options_page (page_title, menu_title, capability, handle);
b.add_posts_page (page_title, menu_title, capability, handle);
c.add_users_page (page_title, menu_title, capability, handle);
d.add_management_page (page_title, menu_title., capability, handle);
e.add_theme_page (page_title, menu_title, capability, handle);
40.What is true about the_meta() function?
Note: There may be more than one right answer
a.This is a function for displaying custom fields for the current post, known as the “post-meta” (stored in the wp_postmeta table).
b.It formats the data into an unordered list.
c.It may be used outside the loop.
d.The_meta() will ignore meta_keys (i.e. field names) that begin with an underscore.
41.Pick the default template tag(s).
Note: There may be more than one right answer.
a.the_field()
b.wp_title()
c.the_title()
d.wp_field()
42.Which is the default site update service that WordPress automatically notifies when you publish a new post?
a.http://гpc.pingomatic.com
b.http://google.com
c.http://ping.feedburner.com
d.http: //wvjw.feedsubmitter. com
43.Which of the following is true about wp_mail() function?
Note: There may be more than one right answer.
a.A true return value does not automatically mean that the user received the email successfully.
b.For this function to work, the settings SMTP and smtp_port (default: 25) need to be set in your php.ini file.
c.The default content type allows using HTML.
d.The function can handle only one email as $to parameter.
44.How you can save the Taxonomy custom meta data using the following code snippet?
a.function register_taxonomy({‘people’,array(‘attachment:image’, ‘ attachment:video’, ‘attachment:audio’, ‘post’, ‘page’),array(‘labels’ => array(‘name’ => ___( ‘People’ ),’singular_name’ => ___( ‘Person’ ),),’helps’ => __(‘Separate names with commas.’)’rewrite’ => array(‘slug’ => ‘person’),’query_var’ => true,’show_ui’ => true,’show_tageloud’ => true,’hierarchical’ => false,));}
b.function save_social_account_custom_meta($termId){if ( !empty( $_POST[‘term_meta’] ) ){$term_meta = get_option( ‘custom_taxonomy_meta_’ . $termld );foreach ( $_POST[‘term_meta’] as $key => $val ){$term_meta[$key] = text_field($val);}update_option( ‘custom_taxonomy_meta_’ . $termld, $terin_meta )}
c.function register_taxonomy({`author `,array(` attachment:image’, ‘attachment:video’, ‘attachment:audio’, ‘post’,’page’),array(‘labels’ => array(‘name’ => ___( ‘Authors’ ),‘singular_name’ => ___( ‘Author’ ),),‘helps’ => ___(‘Separate authors with commas.’),‘rewrite’ => array(‘slug’ => ‘author’),‘query_var’ => ‘author’,));}
d.function save_social_account_custom_meta($termId){if ( !empty( $_POST[‘term_meta’] ) ){array(‘attachment: termld’, ‘attachment:video’, ‘attachment:audio’, ‘post’, ’page`),foreach ( $_POST[‘term_meta’] as $key => $val ){$term_meta[$key] = text_field($val);}update_option( ‘custom_taxonomy_meta_’ . $termld, $term_meta}}
47.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.
a.Post
b.Page
c.Links
d.Attachment
e.Revision
f.Comments
g.Navigation menu
Note: There may be more than one right answer.
a.have_action()
b.do_action()
c.do_action_ref_array()
d.did_action()
e.None of the above
51.What is the difference between the wp_title and the_title tags?
a.wp_title() function is for use inside “The Loop” to display the title of a Page. the_title() on the other hand is used without “The Loop”.
b.wp_title() function is for use outside “The Loop” to display the title of a Page. the_title() on the other hand is used within “The Loop”.
c.wp_title() function is for use inside “The Loop” to display the title of a Page. the_title() on the other hand is used within “The Loop”.
d.All of the above
52.What is the meta wrapper function for terms?
Note: There may be more than one right answer.
a. update_term_meta()
b.get_meta_term()
c.delete_post_meta()
d.get_user_meta()
e.add_term_meta()
54.Which of the following is an incorrect possible value for $show attribute of bloginfo($show)function?
a.‘name’
b.‘description’
c.’homeurl’
d.’admin email’
55.Which of the following functions is used to check if the current visitor is a logged in user
a.is_visitor_logged_in ();
b.is_user_logged_in ();
c.if_user_logged_in ();
d.is_user_logged ();
57.What is a permalink?
a.Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings.
b.The numeric IP address of your WordPress site.
c.The complete URL of your WordPress site.
d.A popular WordPress plugin
58.Where can you change the Timezone used by WordPress in the dashboard?
a.In > Media Settings
b.In > General Settings
c.In > Reading Settings
d.In > Writing Settings
59.What is the correct order of priority in decreasing order from left to right for Custom Post Type template files
a.single-{post-type}-{slug}.php, single-{post-type}.php, single.php, singular.php, index.php
b.single-{post-type}.php, single-{post-type}-{slug}.php, single.php, singular.php, index.php
c.single-{post-type}.php, single.php, singular.php, single-{post-type}-{slug}.php, index.php
d.index.php, singular.php, single-{post-type}-{slug}.php, single-{post-type}.php, single.php
60.The most thorough and organized online documentation for WordPress is the WordPress
a.DocX
b.Devex
c.Codex
d.Hodex
e.WikiX
f.none of the above
61.Which function will you use to add a sub menu in the Tools main menu
a.add_pages_page ($page_title, $menu_title, $capability, $handle);
b.add_users_page ($page_title, $menu_title, $capability, $handle);
c.add_theme_page ($page_title, $menu_title, $capability, $handle);
d.add_management_page( $page_title, $menu_title, $capability, $menu_slug, $function )
e.add_options_page (page_title, menu_title, capability, handle);
62.The titles and links along the left or right edge of your blog are known as the
a.Footer
b.Header
c.Sidebar menu
d.Slideline menu
e.Widget panel
63.A WordPress________is a collection of files that work together to produce a graphical interface with an underlying unifying design for a weblog
a.layout
b.library
c.plug-in
d.theme
e.widget
64.A theme _______ acts like a plugin and, if present in your theme, is automatically loaded during WordPress initialization.
a.Bootstrap File
b.Functions File
c.Plugin File
d.Setup File
e.Stylesheet
65.The Administration Panel contains a sections
a.Log Out link
b.your blog’s name
c.links to your profile
d.favorites menu
e.all of these
66.XFN stands for
a.Xml File Notation
b.Xml Friends Navigation
c.Xml Friends Network
d.extended File Naming
e.None of the above
67.WordPress uses a ______in conjunction with the mod_rewrite Apache module to produce permalinks
a.a config file
b. an .htaccess file
c.an XFN file
d.an XML file
e.none of these
68.A WordPress Theme benefits from
a.Allowing for web page results to be customized.
b.Allowing the look and feel of a WordPress site to be quickly changed.
c.Removing the need for WordPress users to learn CSS, HTML, and PHP in order to have an attractive site.
d.Separating presentation styles and template files from system files.
e.All of these
69.The Administration Panel’s footer display
a.Documentation Links
b.Feedback links
c.WordPress links
d.WordPress versioning info
e.all of these
70.The Administration Panel’s displays specific information relating to a particular navigation choice (i.e. adding a new post)
a.footer
b.header
c.work area
d.sidebar menu
e.none of these
71.The advantages of using a weblog client include
a.Fancy formatting features.
b.Features like cross-posting to multiple blogsc.The ability to keep a local backup.
c.The ability to save drafts.
d.all of these
72.The _______ is used when the web page displays only one post
a.hyper post
b.mini-post
c.single-post
d.simple-post
e.none of these
73.A ______is a “faux” bookmark containing scripting code allowing a user to perform a function
a.applet
b.blurb
c.bookie
d.bookmarklet
e.footnet
74.Pages can be organized into ______ and _______
a.blurbs, comments
b. pages, blurbs
c. pages, comments
d.pages, excerpts
e.None of the above
75.A minimal Theme consists of what two files?
a.style.css and functions.php
b.style.css and index.php
c.style.css and template.php
d.template.php and index.php
e.theme.css and homepage.php
a. Only when deployed on Apache servers
b.Only when deployed on IIS servers.
c.Only when deployed on Mac OS servers.
d.false
e.true
77.Company information and accessibility statements are best written as a
a.Page
b.Post
c.comment
d.declaration
e.link
78.make it possible for a person to have one avatar across the entire web.
a.Avatars
b.Gravatars
c.Smileys
d.Widgets
e.None of the above
79.The bottom of your blog contains the
a.footer
b.header
c.posts
d.sidebar menu
e.None of the above
80.____________is the ability for readers to respond to articles written in your blog
a.Comment posting
b.Comment rating
c.Comment spamming
d.Feedback posting
e.None of the above
81.A global variable that contains the WordPress database object is
a.$wpdb
b.$wpdbobj
c.$wpressdb
d.None of the above
82.The ____________ allows you to edit, delete, or view Media previously uploaded to your blog.
a.Media Archive
b.Media Library SubPanel
c.Media Manager
d.Media Monger
e.none of these
83.Themes typically reside in the ___________ directory
a.wp-content/
b.wp-content/main
c.wp-content/styles
d.wp-content/themedir
e.wp-content/themes
84.The _____________feature allows you to move blog data from another host into your new WordPress blog.
a.Backup
b.BlogCopy
c.Copy
d.Import
e.merge
85.Your site’s home page, by default, features the posts on your site.
a.best
b.most recent
c.most viewed
d.oldest
e.pinned
86.A _________ theme is a theme inheriting functionality of another (parent) theme
a.baby
b.child
c.descendant
d.sibling
e.sub
87.A/an_______________is a globally recognized avatar.
a.alias
b.alter ego
c.avatron
d.gravatar
e.site avatar
88.____________are the images, videos, recordings, and files you upload and use in your blog
a.Add-Ons
b.Archives
c.Media
d.Plugins
e.Extensions
89.In a manual installation, wp-config-sample.php should be renamed to _____________.
a.wp-config-rien.php
b.wp-conflg.php
c.wp-loop.php
d.wp-Min.php
e.wp-startup.php
90._____________are condensed summaries of your blog posts.
a.blurbs
b.excerpts
c.hints
d.tweets
e.None of the above
إرسال تعليق
Scribd Admin - kashyap