Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7891101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:31:54+00:00 2026-06-03T06:31:54+00:00

I wish to add a custom page to wordpress, not in the usual sort

  • 0

I wish to add a custom page to wordpress, not in the usual sort of way. This page has my own custom script and functions and to develop a plugin is beyond my means so I was wondering if this is possible:

Suppose I were to build it on the existing page.php script in my there folder, my script looks something like this:

<?php get_header(); ?>
                        <div id="left-area" class="clearfix">
                                <?php 

                                //My script would go here 

                                ?>

                                <div class="comments">
                                        <?php comments_template('',true); ?>
                                </div><!-- end of comments div -->             

                        </div><!-- end of left-area -->
                        <!-- LEFT AREA ENDS HERE -->

    <?php get_sidebar(); ?>

<?php get_footer(); ?>

Is this even possible? I tried and got a page not found error. And if so, how do I call this script assuming WP is installed in the root directory? Example: http://www.mysite.com/myscript

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:31:55+00:00Added an answer on June 3, 2026 at 6:31 am

    Absolutely. Duplicate page.php. Rename it to template_mine.php. Open to edit, and before the get_header tag, add:

    <?php 
    //
    // Template Name: My Custom template (choose something more descriptive, like contact page)
    // 
    ?>
    

    Go to WordPress dashboard for pages, create a new page with your title, and in the Page attributes on the right hand side, under templates, select your template name, update, and you are all set.

    Reference: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to add an image to each page in WordPress. I don't wish
I wish to add some sort of a Write a Review or Rate Us
I wish to know the way to add ASP.NET (Machine_Name\IIS_IUSRS) to user role in
I wish to add a PMD check to ensure that a class does not
I'd wish to programmatically add a custom VariableResolver when JSF or anything like that
I am trying to add a custom page tab to my application about page
I wish to add this type of graph in my datagridviewcontrol :- Here the
I wish to add a singleton method to a particular object. I wish that
I wish to add some type of business logic constraint to a table, but
I wish to add new contacts in WP7. I have used the following private

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.