WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Which is the "default template" file? (7 posts)

  1. Libin
    Member
    Posted 2 years ago #

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

  2. mr49online
    Member
    Posted 2 years ago #

    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.

  3. Libin
    Member
    Posted 2 years ago #

    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.

  4. mr49online
    Member
    Posted 2 years ago #

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

  5. Libin
    Member
    Posted 2 years ago #

    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.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    The default Page template is page.php

  7. Libin
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic