• I have found an odd issue where random P tags are being inserted into the loop, some times it’ll be a random </p> without an opening <p> tag and other times it’ll be an opening <p> tag without a closing <p> tag. I always use the HTML editor; I had disabled the HTML editor in user options before creating my first page. It also affects the output of wp_list_pages() when included in the loop, using the Exec-PHP plugin.

    These random <p> tags appear all over the website output; I have tried inserted the same wp_list_pages() into the template php file directly and it outputs correctly, so it’s not the function at fault!

    One of the pages I am having trouble with is posted below:

    https://www.sunnyviewokc.com/leasing-center/

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter myownalias

    (@myownalias)

    Never mind; I used a conditional statement in the php template file to display the list pages function. But the issue isn’t resolved as the problem still exists within the loop; I have replaced all the WordPress files; and tested the same wp_list_pages function call in three different WordPress sites; all running v3.5.1, so I would suggest it’s a WP core issue, if anyone knows of a fix, please do post!

Viewing 1 replies (of 1 total)
  • The topic ‘Random tags being inserted into loop content.’ is closed to new replies.