WordPress.org

Ready to get started?Download WordPress

Forums

Display listings from PhpMydirectory in wp (6 posts)

  1. cdickman
    Member
    Posted 3 years ago #

    I have WordPress and PhpMydirectory, a directory application, running on the same server and would like to display data from the PhpMydirectory database within the WP template. The directory already displays what I need, can I simply use the same php code that displays this data and paste it within the WP template? Or must the code be customized in some way.

    Thanks

    Chris

  2. curlybracket
    Member
    Posted 3 years ago #

    You can try to create a separate page template for your directory listing or add a function or include to functions.php of your theme.

    The code does not need a special formatting i guess, as long as you feel that is secure enough to include it into wordpress.

  3. cdickman
    Member
    Posted 3 years ago #

    A belated thanks for your response. I'm not clear what the security issue would be.

  4. auxano
    Member
    Posted 3 years ago #

    cdickman, were you able to get it to work? Can you share a link? I have a client requesting this and I was wanting to make sure it's possible before I tell them yes.

  5. cdickman
    Member
    Posted 3 years ago #

    I haven't tried hard coding this yet.

  6. auxano
    Member
    Posted 3 years ago #

    I would love to know how it works out for you when you do. :)

Topic Closed

This topic has been closed to new replies.

About this Topic