WordPress.org

Ready to get started?Download WordPress

Forums

Newb: creating a page with custom functionality and code (4 posts)

  1. rickardl
    Member
    Posted 3 years ago #

    Okay so I am totally new at wordpress but not at coding.

    I want two separate pages linked from the menu.

    One should contain simple hierarchical reviews of stuff we own (us two doing the blog, no user reviews) - if anyone knows a free plugin let me know, other wise i will code it up myself.

    And one page that lists data from our own database, very straightforward really but it is from our own database generated from other servers.

    It's all very simple stuff really, and I found a few ways i can hack it in but now I want to know. What is the proper way of making this?

    should i make a plugin? a custom page template or use php execution on pages or something else. Love to know :-)

  2. SinusCom
    Member
    Posted 3 years ago #

    Hi,

    I think the best way to do what you want with the data extraction from your databases is to use a custom page template. I'm using this method since some years and haven't get any problem with that.

    Cheers,

    Ghaith

  3. Tim Moore
    Moderator
    Posted 3 years ago #

    A custom page template is one way to go. The drawback is that the page template is tied to a theme (easy to overcome, but you need to copy the custom template from theme to theme).

    Another approach is to create a plugin and use the Shortcode API. Then you place a shortcode in a post or page and your data is displayed however you wish.

    http://codex.wordpress.org/Shortcode_API

  4. roydellray@gmail.com
    Member
    Posted 3 years ago #

    I have developed several custom php pages & a css page on my local computer NOT using wordpress, these query a mysql db and subsequently display results. Now I need to integrate them into an existent site created by WordPress, where do I upload these files to and how do I link them to a wordpress php page, where do they live?.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.