cdickman
Member
Posted 2 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
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.
cdickman
Member
Posted 2 years ago #
A belated thanks for your response. I'm not clear what the security issue would be.
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.
cdickman
Member
Posted 2 years ago #
I haven't tried hard coding this yet.
I would love to know how it works out for you when you do. :)