• Derda

    (@derda)


    Hi there,

    I should place a WP blog inside an existing php template without modifying/damaging the header and footer coding of the php template. What exactly would I have to copy into the body section?

    Thanks a lot

    • This topic was modified 5 years ago by Yui. Reason: moved to "developing..." section
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The entire site through this template or a specific post? If you used an iframe, you will get the WP header and footer within the iframe. You can get specific content without header, footer or any styling at all through the REST API.

    It may be easier to implement a custom WP theme that utilizes the header and footer of the template.

    Thread Starter Derda

    (@derda)

    Thanks a lot bcworkz, works perfectly putting wp into an iframe – also on mobile. width set to 100%, border=none and height at a random 800px.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Place WP inside existing php page’ is closed to new replies.