• Please note the following code:

    `//output full post<br />
    $out .= ‘<div class=”add_posts_content” style=”clear:both;”>’;<br />
    $out .= ‘<‘.$h.’ class=”title” style=”clear: none;”><a href=”‘ . $permalink . ‘”>’ . $title . ‘</a></’.$h.’>’;<br />
    $out .= ‘<div class=”post-content” style=”clear:both”;>’.$content;`

    In line 4 'style="clear:both";' has the speech marks and semicolon wrongly arranged.

    https://ww.wp.xz.cn/plugins/add-posts-to-pages/

The topic ‘Coding error’ is closed to new replies.