1

I need to control an external page designed and developed in php that takes values from an external database. What I actually need is to edit and change some hardcoded content of the page with wordpress. How can this be done?? Any sugestions?

2

Assuming both are parts of same site you can load WP engine in that page and use WordPress functionality in it, see Integrating WordPress with Your Website.

But it would probably make more sense to convert that page into WP page template or something. Hard to say without knowing specifics.

2

I do not think you can use the existing post and page editing code for external content. I will suggest you try to develop a plug-in instead that will query the custom page content and display it for editing. You should be able to reuse the TinyMCE editor as it is already included.

I would also recommend that you consider using the Pod CMS plugin instead; it is a generic CMS plugin system integrated with WordPress administration backend, and is powerful enough for complex data manipulation and may meet your needs.

0

I'm not sure I totally understand your question - I think you're asking how to include the content of a WordPress "page" on a page displaying mainly externally-stored content. The way I've handled this in the past has been to set up additional template files in your theme, one per necessary page type, that just include the $content from the WP database in the right place among the externally-stored content.

1
  • no the page is not in wordpress, the text of the php page has to be linked with wordpress so that the admin can change and edit the text( which would be stored in wordpress table) is it clear now?? – MsManiya Oct 19 '10 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.