Q1.) select all the default taxonomies in wordpress.
Ans.)1) category
2) post_tag
3) link_category
4) post_category
Q2.) which concept does wordpress uses to control user access to different features.
Ans.) RoleQ3.) Which of the following is a not default image size in WP?
Ans.) Small sizeQ4.) What is the name of table in database which stores custom fields data?
Ans.) wp_postmetaQ.5) What are WordPress hooks?
Ans.) group of plugins which control wordpress behaviorQ6.) How do you enable the network setup menu item(enable multisite) in wordpress?
Ans.) set WP_Allow_MULTISITE as true in wp_config.phpQ7.) how to style each list item background of the wordpress navigation separately.
Ans.)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;
}
Q8.)If you need to store information temporarily, which wordpress system would you use :
Ans.) TransientsQ9.) how do you enable debug mode in WP?
Ans.) By setting WP_DEBUG as true in WP-Config.phpQ10.) what can the contributer role do?
Ans.) Edit PostsQ11.)� Which constant is NOT recognized in wp-config.php?
Ans.) wp_HOME_URLQ12.)� Which wp global object is used to execute custom databse queries?
Ans.) $wpdbQ13.)� 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?
Ans.)wp_config.phpQ14.) what is user Management?
Ans.) WP User Manager. Managing your members, creating front-end profiles and custom login and registration pages should be easy. You easily add custom userregistration, login and password recovery forms to your WordPress website.Q15.) How you can create a static page with wordpress?
Ans.) to create a static page in wordpress………Q16.) Is it possible to create posts programmatically?
Ans.) Yes,with wp_insert_post() functionQ17.) which of the following is the correct way to register shortcode?
Ans.)function foobar_func( $atts )
{
return “foo and bar”;
}
dd_shortcode( ‘foobar’, ‘foobar_func’ );
Q18.) What is wordpress multisite?
Ans.) wp configuration features that supports multiple sites.Q19.) Which of the following is not a default user role in wp?
Ans.) BloggerQ20.) What does wp_rand() function?
Ans.) Generates a random number.Q21.) Which of the following is not a wordpress role?
Ans.) SystemQ22.) Which of the following is incorrect possible value for $show attribute of bloginfo($show) function?
Ans.) ‘homeurl’Q23.) pick the correct default post types readily available to users or internally used by the wordpress installation.
Ans.)1) post
2) page
No comments:
Post a Comment