WordPress.org

Support

Support » Themes and Templates » [Resolved] Which is the "default template" file?

[Resolved] Which is the "default template" file?

  • Libin
    Member

    @libinvbabu

    Hey,
    I am using a child theme of WordPress TwentyEleven. I wants to edit the “default temple” .
    For this which file should I edit?

Viewing 6 replies - 1 through 6 (of 6 total)
  • mr49online
    Member

    @mr49online

    Hi Libin,

    In WordPress TwentyEleven, the main template file is index.php.
    you can find it here:wp-content/themes/twentyeleven/index.php
    Now, what you want to edit? because it also, consist of header,footer,sidebar. So, find your required thing accordingly.

    Libin
    Member

    @libinvbabu

    I am using wordpress’s static page option. So I had switched the default wordpress home page with a custom page I created. Now I wants to include the jQuery slider in that page. By adding the code in index.php is not showing. Thats why I asked this question. For the custom page I created, “Default Template” is using. How to add code to that page?
    I am searching that default template. Or else I need to create a specific template for my page.

    Thanks for help in advance.

    mr49online
    Member

    @mr49online

    ok,
    I guess, its much better to create a specific template for your page, and put jQuery slider there.

    Libin
    Member

    @libinvbabu

    Thanks. Then I will create a new template for that page. But I was wondering where the “Default Template” file?? Its not index.php file, right?
    I am not able to find it anywhere.
    Anyway thanks for your response.

    esmi
    Forum Moderator

    @esmi

    The default Page template is page.php

    Libin
    Member

    @libinvbabu

    Thanks esmi. Its Page.php
    But for my use I created a separate template. Anyway it resolved my problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Which is the "default template" file?’ is closed to new replies.