• I want to integrate wordpress into a particular part of this webpage at

    Where it says “Tips by Bonaventure”, I would like to have a small blog that only takes up that space. The client will be updating the tip on a dialy or weekly basis.

    Can this be done?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here’s a link to a good article I found on Google which explains how you do that

    http://www.corvidworks.com/articles/wordpress-content-on-other-pages

    You can tell WP how many posts to put in the box, and how to format them also

    Thread Starter Diventare Creative

    (@wms-group)

    That is amazing, thank you so much. The only other questions I have are:

    I want to include posts from two blogs. The tip of the day would be one, the one beneath would pull from a different post.

    Also, as you can see at the test, the blog text goes beyond the div. Can I contain it in there without overflowing?

    Thank you so much for your help!

    Hi

    You are missing some wrapper Div’s in your blog layout. There should be a <div id=”sidebar”> around your left sidebar and similar around your right sidebar and your main content area. Then you can control the width of the contents in those areas by assigning a width to those DIV sections. And also you can move the text to the right by adjusting the left margin setting.

    The reason your footer and lower text is not part of the content box most likely is a float needs to be cleared at the point where the content starts breaking up. Or put a Div around that part of the content and float that div left.

    Try that and see if it helps. You can certainly use the same trick for two blogs. Just use a different variable name to store the query from WP. That way the loops won’t be colliding with each other.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Intergrate WordPress to small div on webpage?’ is closed to new replies.