Title: joperron's Replies | WordPress.org

---

# joperron

  [  ](https://wordpress.org/support/users/joperron/)

 *   [Profile](https://wordpress.org/support/users/joperron/)
 *   [Topics Started](https://wordpress.org/support/users/joperron/topics/)
 *   [Replies Created](https://wordpress.org/support/users/joperron/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/joperron/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/joperron/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/joperron/engagements/)
 *   [Favorites](https://wordpress.org/support/users/joperron/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Thematic Gallery theme – Single posts not loading](https://wordpress.org/support/topic/thematic-gallery-theme-single-posts-not-loading/)
 *  [joperron](https://wordpress.org/support/users/joperron/)
 * (@joperron)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/thematic-gallery-theme-single-posts-not-loading/#post-1249179)
 * Hello,
 * To fix this go to line 130 of gallery’s functions.php file and delete the following:
 *     ```
       {
           $shortenedurl = file_get_contents('http://tinyurl.com/api-create.php?url=' . urlencode(get_permalink()));
       	} else {
       		$shortenedurl = urlencode(get_permalink());
       	}
       ```
   
 * Basically your webserver blocks the script from creating a tinyurl to replace
   wordpress’ normal permalink.
 * Voilà

Viewing 1 replies (of 1 total)