• Resolved Libin

    (@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)
  • 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.

    Thread Starter Libin

    (@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.

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

    Thread Starter Libin

    (@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.

    The default Page template is page.php

    Thread Starter Libin

    (@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 ‘Which is the "default template" file?’ is closed to new replies.