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

  1. muddauber
    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.


  2. Stefano Lissa
    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
    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;

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

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

  4. Stefano Lissa
    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

  • Include Me
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic