WordPress.org

Ready to get started?Download WordPress

Forums

Include Me
Include-Me - extra spaces (4 posts)

  1. muddauber
    Member
    Posted 1 year ago #

    Include-Me works as advertised and a great little utility. Unfortunately,
    Iam getting extra spacess (about 3-4 lines) after an the include is added to a post.

    here is what I am using:
    [includeme src="../date.html" style="font-family: arial, helvetica, sans-serif; font-size: x-large"]

    Shouldn't I have the next line of content follow right after the include?
    Any suggestions would be helpful.

    http://wordpress.org/plugins/include-me/

  2. Stefano Lissa
    Member
    Plugin Author

    Posted 1 year ago #

    You kind of inclusion is an iframe, not a file inclusion. Probably your theme have some margin set for the iframe... and the iframe itself, internally, have margins since it's showing a text.

    Evaluate to do a file inclusion not a iframe inclusion.

  3. muddauber
    Member
    Posted 1 year ago #

    Thanks for response. It probably is the inclusion file, but I don't see anything that would add the line breaks, paragraphs, or spaces.

    I used the HTML inclusion because I was having a problem getting the right size and font to render on page. Here's my html inclusion file:

    <title>Untitled Document</title>
    <style type="text/css">
    .standardfonts {
    font-family: Arial, HelveticaNeue;
    }
    </style>
    </head>

    <body>
    <div align="center">
    <h3 class="standardfonts">March 20, 2014
    </h3>
    </div>
    </body>
    </html>

    (If I could have rendered the fonts, etc from within WordPress, I would
    have gone that way.

  4. Stefano Lissa
    Member
    Plugin Author

    Posted 1 year ago #

    You cannot include a full html file in this way... you must use the iframe mode to include such piece of file.

    What are you trying to obtain form that inclusion?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic