WordPress.org

Ready to get started?Download WordPress

Forums

Custom page not template page (4 posts)

  1. joshiramit
    Member
    Posted 2 years ago #

    Hello everyone

    My name is Ramit. I am using wordpress from last 3 months. I want to create custom php page not template page in theme folder as
    sitename->wp-content->themes->custom->abc.php

    and i want to access it as

    site.com/abc.php

    Can anyone tell me how can i do it?
    I am very thankful to you.

    Thanks

  2. joshiramit
    Member
    Posted 2 years ago #

    For more clear

    I want to add an additional php file, for example test.php in my wordpress theme, and access it with url like example.com/wordpress/test.php

    When I place this test.php file in the theme directory, I can't access it. So I how can I do that? It allows to access only if i place the test.php in the wordpress root, but i want to add the file in the theme directory instead of the root directory, which is at

    wordpress\wp-content\themes\mytheme\test.php

    Thanks

  3. Tarsem Singh
    Member
    Posted 2 years ago #

  4. joshiramit
    Member
    Posted 2 years ago #

    Thanks for Reply

    I know about custom post template but want to use custom stand alone page only not template. If we use custom template page we have to create at least one page page in admin to show in custom template page.

    I don't want to create any page in admin and want stand alone page only and access stand alone page.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags