WordPress Theme Development

  Home  Web Development  WordPress Theme Development


“WordPress Themes Development based Frequently Asked Questions by expert members with experience as WordPress Theme Developer. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts”



109 WordPress Theme Development Questions And Answers

81⟩ Tell us how you can create a static page with WordPress?

To create a static page in wordpress, in the page section you have to upload a php files to the server in the theme folder, and then select that as your template. This allows you to add any page and look that you wanted for your blog and it will remain static.

 199 views

82⟩ Explain me how do I change the site admin name?

To change your Admin Name, in the Administration Panel, choose the Users->Your Profile tab. Make your changes there. However, you are not able to change the username from within the Administration panel. In order to do this you must directly edit the MySQL database, however this is not recommended as your username is not often seen by other users.

 224 views

84⟩ Explain me what is the WordPress loop?

The Loop are php code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page.

For example:-

<?php

if ( have_posts() ) {

while ( have_posts() ) {

the_post();

//

// Post Content here

//

} // end while

} // end if

?>

 216 views

86⟩ Please explain why widget does not show up in the sidebar?

While using widget you have to ensure whether your theme supports the widget and if it does then it must show the sidebar. If in any case if it happens that you don’t see the sidebar then it might be missing the “function.php” file or file similar to that. This can also happen if you have forgot to save the changes in the widget or refreshing the older display of the page.

 203 views

88⟩ Tell us can I rename the WordPress folder?

If you have not already installed WordPress, you can rename the folder with the WordPress files, before, or even after uploading the files.

If you have already installed WordPress, and you want to rename the folder, login to the weblog as the administrator and change the following settings in Settings > General:

WordPress address (URI):

Blog address (URI):

Once you have done this, you can rename the directory or folder with the WordPress files in it.

 207 views

93⟩ Tell me how include and require are different from each other?

Both include and require scans the program. If the require() function doesn’t find any file than the script will not execute. On the other hand if the include() file can’t find a file or encounter any error then the warning notification will be raised but the script will still execute.

 219 views

96⟩ Explain me why can’t I delete the uncategorized Category?

Any Category with a non-zero value for # of Posts in the Administration > Manage > Categories cannot be deleted. The uncategorized Category might be assigned to some Posts, but all Pages are assigned the uncategorized Category. So even though there may be no posts assigned to the uncategorized Category, Pages are included in the count of # of Posts.

The default category cannot be deleted even if it is empty, however you can specify your default categories for posts or links on the Options – Writing page of the admin panel.

 219 views