WordPress.org

Forums

[resolved] the_content -- where is this code ? (3 posts)

  1. sunlight1976
    Member
    Posted 2 years ago #

    Hi,
    did a lot of searches without success.

    in my post.php I have:

    [...]
          <?php
             the_content('');
         ?>
     <?php if($theme->display('read_more')) { ?>
     <div class="readmore">
    [...]

    In html source I get

    [...]
    text text text .</p>
    <div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>
    
    <div class="readmore">
    [...]

    Can't find where line <div style... comes from...
    It's not in the Wp_posts table..

    many thanks

  2. asarosenberg
    Member
    Posted 2 years ago #

    I would guess it's being generated by a plugin that hooks in to the_content. Try deactivating all plugins and reactivate them one at a time to figure out which one.

  3. sunlight1976
    Member
    Posted 2 years ago #

    thanks,
    it was Quick Adsense

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.