Ready to get started?Download WordPress


[resolved] Adding custom pages (7 posts)

  1. Vergezogt
    Posted 5 years ago #

    In the future i want to add my own pages as an addition of my wordpress installation.

    for example i want to add searchobject.php

    I've took index.php from the default template saved it as searchobject.php

    if i go to http://www.mydomain.com/searchobject.php it cant be found.

    How can i get this done?

    Thanks in advance!

  2. adamh
    Posted 5 years ago #

    You need to create the page as a custom template and then create a new page in wordpress and assign the template to it.


  3. Vergezogt
    Posted 5 years ago #

    Thanks! is it possible to get variables through $_GET etc?

    and pass them through with searchobject.php?object=1 etc ?

  4. adamh
    Posted 5 years ago #


    You know WordPress has it's own built-in search?

  5. Vergezogt
    Posted 5 years ago #

    Yeah i do,

    What i want to do with the page is get data out of another database wich has information about objects (houses)
    Is that doable?

  6. adamh
    Posted 5 years ago #

    Yep, sure. A custom template is just a php page with access to the wordpress loop, vars etc

  7. Vergezogt
    Posted 4 years ago #

    During the weekend I searched some more and tested quite some plugins and possibilitys. It seems that I really need :

    To make this work but i managed to pull it off.

Topic Closed

This topic has been closed to new replies.

About this Topic