WHAT IS FILE STRUCTURE IN WORDPRESS ?

The main files used in wordpress are:-

  1. index.php :- for index page.
  2. single.php :- for single post page.
  3. page.php :- display the static pages.
  4. category.php :-  Display the category page.
  5. archive.php :- For archive page display.
  6. tag.php :- For display the tags page.
  7. author.php :- For display author page.
  8. search.php :- For display the search result page.
  9. 404.php :- For display 404 error page.
  10. taxonomy.php :- For display the taxonomy archive.
  11. attachment.php :- For managing the single attachments page.
  12. header.php :- For managing top part of page.
  13. footer.php :- For manage bottom part of pages.
Advertisements

TELL SOME COMMONLY USED FUNCTIONS IN WORDPRESS ?

WordPress have lot of inbuilt functions. some of commonly used function in wordpress are:-

  1. wp_nav_menu()  :- Displays a navigation menu.
  2. is_page() :- Condition for check if page is displayed. Its return true or false only.
  3. get_the_excerpt() :- Copy the excerpt of the post into a specified variable.
  4. in_category() :- Tests if the specified post is assigned to any of the specified categories or not.
  5. the_title():- Displays the title of the post.
  6. the_content():-  Displays the contents of the post.

What are the features of WordPress?

  1. Simplicity, make wordpress very easy to use for everyone.
  2. Free open source.
  3. Easy to install.
  4. There are lots of free as well as paid theme to use.
  5. Extends with plugins, we can extends the functionality of wordpress using thousands of free plugins or will create any plugin according to your requirements.
  6. Multilingual, wordpress is available on more than 70 languages.
  7. Multisite, create a child website along with the parent site with the same URL and admin panel.
  8. Flexibility, with wordpress you will create any type of blog or website.
  9. Comment, the built in comment system also make wordpress popular as you can comment your views on website.
  10. Full standards compliance, XML-RPC interface, easy importing, cross-blog communication tools.