Title: Hidden code
Last modified: August 20, 2016

---

# Hidden code

 *  [JeffHicks](https://wordpress.org/support/users/jeffhicks/)
 * (@jeffhicks)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/hidden-code/)
 * I happened to be viewing the displayed HTML for my blog and came across this 
   snippet:
 *     ```
       <small>UTPW Presented by <a href="http://www.allphaserestore.com/water.html">columbus water damage</a></small>
       ```
   
 * This can’t be seen at all in a browser which makes me wonder if this exists merely
   for SEO purposes. I can’t find anything in configuration or documentation that
   says the plugin will add this type of link. Is this in fact a link added by the
   plugin? Or is there some other vulnerability? A quick search of ‘UTPW Presented
   by’ shows many sites with the same code.
 * [http://wordpress.org/extend/plugins/ultimate-twitter-profile-widget/](http://wordpress.org/extend/plugins/ultimate-twitter-profile-widget/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [nadiausa](https://wordpress.org/support/users/nadiausa/)
 * (@nadiausa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hidden-code/#post-3160667)
 * I see it in the code for the plug in. It is in an “if,else” statement. If you
   do not select to allow the credits to the plugin author website in your wordpress
   settings tab, then this is the fall back credit that will appear. I don’t know
   why it is such a spammy looking SEO link.
 * You can manually strip the offending URL out of the line of code in the plugin
   if you have Dreamweaver or another HTML or PHP file editor. Just remove the div
   tag between the single quotes. You can leave the ability to show her credit via
   your wordpress settings panel.
 * I don’t feel bad about removing it because it seems disingenuous to offer a button
   to remove credits and then turn around and place a sneaky one anyway.
 * Find the page:
    twitter_profile_widget.php
 * Line 925:
 * Before alteration:
    `echo '<div align="center" style="display:none;"><small>UTPW
   Presented by <a href="http://www.allphaserestore.com/water.html">columbus water
   damage</a></small></div>';`
 * After alteration:
    `echo '';`
 *  Thread Starter [JeffHicks](https://wordpress.org/support/users/jeffhicks/)
 * (@jeffhicks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hidden-code/#post-3160668)
 * Thanks for digging into this.
 *  [SmoovP](https://wordpress.org/support/users/smoovp/)
 * (@smoovp)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hidden-code/#post-3160693)
 * This is a fantastic widget for the most part, but it breaks my theme if the widget
   is anywhere except the very last position in the very bottom widget area.
 * Even there, it does something wonky with the footer.
 * It seems like a div isn’t closed somewhere, but I’m not a good enough coder to
   find it.
 * [http://www.sportinglifearkansas.com](http://www.sportinglifearkansas.com)
 * If you scroll all the way down, you’ll see a blank area below the footer that
   isn’t supposed to be there.
 * If the widget is placed anywhere except where it is, the whole theme breaks and
   everything just lines up below the widget.
 * So frustrating for it to be so close to being usable.
 *  [apLundell](https://wordpress.org/support/users/aplundell/)
 * (@aplundell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/hidden-code/#post-3160706)
 * Looks like the error is in the function `show_utwp_profile_widget` in the php
   file.
 * The line `echo $after_widget;` should be at the end of the function. Instead,
   it accidentally got left **outside** the function.
 * Just move that line up above that last curly brace, and it works.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hidden code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-twitter-profile-widget.svg)
 * [Ultimate twitter profile widget](https://wordpress.org/plugins/ultimate-twitter-profile-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-twitter-profile-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-twitter-profile-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-twitter-profile-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-twitter-profile-widget/reviews/)

## Tags

 * [hidden](https://wordpress.org/support/topic-tag/hidden/)
 * [links](https://wordpress.org/support/topic-tag/links/)

 * 4 replies
 * 4 participants
 * Last reply from: [apLundell](https://wordpress.org/support/users/aplundell/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/hidden-code/#post-3160706)
 * Status: not resolved