Warning: Declaration of Thesis_Comment::start_lvl(&$output, $depth, $args) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/functions/comments.php on line 0

Warning: Declaration of Thesis_Comment::end_lvl(&$output, $depth, $args) should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/functions/comments.php on line 0

Warning: Declaration of Thesis_Comment::start_el(&$output, $comment, $depth, $args) should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/functions/comments.php on line 0

Warning: Declaration of Thesis_Comment::end_el(&$output, $comment, $depth, $args) should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/functions/comments.php on line 0
Source Code

Source Code

The Source Code

All of the code for Get The Eye is minimized and embedded. It makes the pages load faster, and the code much more difficult to read. This page contains links to all the source code with good formatting and copious comments. If you see anything here you like feel free to steal it. If you find any bugs please let me know.

This site is entirely open source and all of the source code is released under the Apache License 2.0. That means you can use this code in your site. It is free. If you use it we would love to hear about it.

Client-side code

gettheeye.js contains most of the client-side JavaScript for this site. That includes the dynamic grid, the list view, and the list on the search results page. It requires JQuery.

main_images.png and main_images1.png are the two image bundles containing all of the icons on the front page. The first screen of images are loaded immediately and the second ones are loaded in the background. Not exactly code, but I thought you might be interested.

custom.css contains most of the CSS styling for this site. There are also a few tweaks for IE in custom_forie.css.

Server-side code

custom_functions.php has most of the customizations to the Thesis theme for this site.

search.php generates the search results page.

WordPress plugins

The share this article link in the footer of each article is a custom WordPress plugin called sharebox. The sharebox is made up of equal parts PHP, JavaScript, and CSS. The HTML for the link and the dialog are generated by sharebox.php, the dialog is managed in the browser with sharebox.js, and styled with sharebox.css.

More questions?

Want to know any more about this side works? Have some questions about the code or how to implement something like it? Leave a comment and let us know.

Fatal error: Uncaught Error: Class 'thesis_comments' not found in /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/comments.php:24 Stack trace: #0 /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-includes/comment-template.php(1513): require() #1 /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/functions/loop.php(158): comments_template() #2 /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/functions/loop.php(10): thesis_page_loop() #3 /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/html/content_box.php(66): thesis_loop_posts() #4 /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/html/content_box.php(42): thesis_content_column() #5 /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/html/content_box.php(25): thesis_columns() #6 /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/lib/html/frameworks.php(27): in /nfs/c04/h02/mnt/66302/domains/gettheeye.com/html/wp-content/themes/thesis_16/comments.php on line 24