Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I came across the same problem today and was beginning to tear my hair out. I found the issue was that the code was injecting a new line before and after each child post div in the loop.

    To fix simply remove the two lines of:

    $html .= "\n";

    In the get_template function (line 145 in child-pages-shortcode.php)

    Thread Starter zydesigns

    (@zydesigns)

    Hello Daniel,

    Thanks for the response, unfortunately I tried doing that but to no effect. Would you have any other thoughts?

    Hi,

    I found a solution by removing in file child-pages-shortcode.php

    line 147: $html = “\n”;
    and
    line 157: $html .= “\n”;

    I hope this helps.

    Thread Starter zydesigns

    (@zydesigns)

    Thanks Catalin but I’ve since gone in a different direction with that project. Appreciate the thought though!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Top row not aligning properly’ is closed to new replies.