WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Get & display external data from a new WP db table? (5 posts)

  1. Jason Koning
    Member
    Posted 1 year ago #

    Hi there,
    I have a new project that I may be able to use Pods for & I was just wondering if you might be able to quickly tell me if this scenario would work (I'm more of a designer than developer so would prefer an off the self solution not requiring too much coding).

    I have had a script written to upload external data to a new table;

    Table ERA_Data

    Field Type Length
    PartNo String 20
    Qavl Number
    Make String 100
    Carline String 100
    Model String 100
    Description String 200
    Long_Description String 200
    Extra_Description String 200
    Start_Year Number
    End_Year Number

    It's simple text based stuff, but what I need now is some way to get the data out of the db & display it on-page with perhaps a simple search option.
    Is this something I could achieve with Pods?
    Thanks for your time,
    Jas

    http://wordpress.org/extend/plugins/pods/

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Pods could do that yeah, but do you need a custom table? Why not go the custom fields route?

    I'd recommend a Custom Post Type that has meta-based storage (both of these are the defaults for creating new content types in Pods).

    You can add fields and define their settings however you'd like from there.

  3. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    If you do want to use a table, Pods is your best bet though, you can use an Advanced Content Type and do what you want with it from there. We have a pretty robust UI and API to work with.

  4. Jason Koning
    Member
    Posted 1 year ago #

    Hey Scott,
    Thanks for the reply. I've not had anything to do with the custom table data import myself, the dev who handled that for me (I guess) thought a table would be the way to go.
    Given that, do you think a table would be ok?
    And would you have any resources to point me in the direction of knowing what I'm trying to achieve?
    I'll go & download shortly & start taking a look at the documentation.
    Thanks again,
    Jas

  5. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    I'd suggest taking a look at this comparison of the different content types in WordPress:

    http://podsframework.org/docs/comparisons/compare-content-types/

    It may help you decide what content type fits your needs best. I don't raelly think you need a custom table unless you really need advanced functionality (requiring some additional code knowledge / skills) from your content type.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic