This topic contains 4 replies, has 1 voice, and was last updated by  Ваш Банкир 5 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1507

    Here is the list of the Theme files recognized by WordPress. Of course, your Theme can contain any other stylesheets, images, or files. Just keep in mind that the following have special meaning to WordPress — see Template Hierarchy for more information.

    #1508

    style.css
    The main stylesheet. This must be included with your Theme, and it must contain the information header for your Theme

    #1510

    rtl.css
    The rtl stylesheet. This will be included automatically if the website’s text direction is right-to-left. This can be generated using the the RTLer plugin.

    #1511

    index.php
    The main template. If your Theme provides its own templates, index.php must be present.

    #1512

    single-{post-type}.php
    The single post template used when a single post from a custom post type is queried. For example, single-books.php would be used for displaying single posts from the custom post type named “books”. index.php is used if the query template for the custom post type is not present.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.