Wordpress front page showing ddthis_url = ‘http%3A%2F%2Fwww

Discussion in 'WordPress' started by Battyb, Dec 15, 2010.

  1. #1
    Hi, can anyone tell me why I get something like "ddthis_url = ‘http%3A%2F%2Fwww." etc on the home page of my blog when the post includes an embedded code for a you tube video? Happen on a couple of my sites and i have noticed it on lots of others when I did a Google search trying to find a solution.

    Any ideas and how to sort?
     
    Battyb, Dec 15, 2010 IP
  2. Yuuko008

    Yuuko008 Member

    Messages:
    682
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    33
    #2
    If i remember it correctly, it is because of how your wordpress site strips the excerpt of your posts. Can you please look if you index.php is using the_content() or the_excerpt()?

    Thanks
     
    Yuuko008, Dec 15, 2010 IP
  3. Battyb

    Battyb Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Does this tell you the answer?

    <?php if ( get_option('woo_content_feat') == "true" ) { the_content('[...]'); } else { the_excerpt(); ?><?php }
     
    Battyb, Dec 15, 2010 IP