Support » Plugins » Hacks » Newb: creating a page with custom functionality and code

  • 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 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.



    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.

    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?.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Newb: creating a page with custom functionality and code’ is closed to new replies.