Title: triphys's Replies | WordPress.org

---

# triphys

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Facebook like counter keeps on resetting](https://wordpress.org/support/topic/facebook-like-counter-keeps-on-resetting/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/facebook-like-counter-keeps-on-resetting/#post-2635665)
 * Can’t really find it there :/
 * What does the data-width do? I think I have it on 100 as default.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] [Plugin: Co-Authors Plus] Is it possible to get avatars from User Photo via userphoto_the_author_thu](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/#post-2554357)
 * Thank you so much for all the help!
    Works perfectly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] [Plugin: Co-Authors Plus] Is it possible to get avatars from User Photo via userphoto_the_author_thu](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/#post-2554349)
 * Oh my god! It actually works! You’re a saviour! Thank you so much for this!
    
   Last question and then you will be rid of me haha
 * Is there a way to make the name link to the authorpage?
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] [Plugin: Co-Authors Plus] Is it possible to get avatars from User Photo via userphoto_the_author_thu](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/#post-2554344)
 * Thanks for your reply, unfortunately it wont show the avatars quite yet. I think
   there might be something wrong with my code.
 *     ```
       ?php if ( class_exists( 'coauthors_plus' ) ) {
       	$co_authors = get_coauthors();
       	foreach ( $co_authors as $key => $co_author ) {
       		$co_author_classes = array(
       			'co-author-wrap',
       			'co-author-number-' . ( $key + 1 ),
       		);
       		echo '<div class="' . implode( ' ', $co_author_classes ) . '">';
       		echo '<h4 class="co-author-display-name">' . $co_author->display_name . '</h4>';
       		echo '<?php userphoto_the_author_thumbnail( $co_author ); ?>';
       		echo '</div>';
       	}
       } ?>
       ```
   
 * It’s only showing the names of the authors and no avatars.
    Any idea what it 
   could be?
 * Thanks again so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] [Plugin: Co-Authors Plus] Is it possible to get avatars from User Photo via userphoto_the_author_thu](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-co-authors-plus-is-it-possible-to-get-avatars-from-user-photo-via-userphoto_the_author_thumbnail/#post-2554337)
 * Hi, and thanks for your response!
 * Yes, it’s regarding the same issue, I’m sorry for opening a new thread but the
   last post wasn’t 100% accurate 🙂
 * Okay, so basically when you usually add an avatar you use the get_avatar() tag,
   but since i use the plugin UserPhoto which allows me to upload an avatar in the
   admin menu for each author i’m using this code to generate an avatar in the post:
   `
   <?php userphoto_the_author_thumbnail() ?>`
 * So I’m not 100 sure about this code, but i added an echo for the avatar like 
   this:
 *     ```
       if ( class_exists( 'coauthors_plus' ) ) {
       	$co_authors = get_coauthors();
       	foreach ( $co_authors as $key => $co_author ) {
       		$co_author_classes = array(
       			'co-author-wrap',
       			'co-author-number-' . ( $key + 1 ),
       		);
       		echo '<div class="' . implode( ' ', $co_author_classes ) . '">';
       		echo '<h4 class="co-author-display-name">' . $co_author->display_name . '</h4>';
                       echo '<?php userphoto_the_author_thumbnail() ?>';
       		// Only print the description if the description exists
       		if ( $description = get_the_author_meta( 'description', $co_author->ID ) )
       			echo '<p class="co-author-bio">' . $description . '</p>';
       		echo '</div>';
       	}
       }
       ```
   
 * Would that be correct?
 * Before this implementation my code looked like this:
 *     ```
       <div class="byline">
       <p class="mypic"><?php userphoto_the_author_thumbnail() ?></p><p class="bylinetxt">Text: <?php the_author_posts_link(); ?></br>Published: <?php the_time('l, F j, Y') ?></p>
       </div>
       ```
   
 * Thank you so much!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Quick question with static sidebar](https://wordpress.org/support/topic/quick-question-with-static-sidebar/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/quick-question-with-static-sidebar/#post-2158735)
 * Thanks for the reply, but I was thinking something like this instead: [http://themes.premiumpixels.com/gridlocked/](http://themes.premiumpixels.com/gridlocked/)
   That’s what I would like to achieve.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page shows full posts (not excerpts)](https://wordpress.org/support/topic/page-shows-full-posts-not-excerpts/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-shows-full-posts-not-excerpts/#post-2015167)
 * my template code: [http://pastebin.com/zd3v5ixi](http://pastebin.com/zd3v5ixi)
 * my regular index code: [http://pastebin.com/bU6Dyw4j](http://pastebin.com/bU6Dyw4j)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] Break on ErrorCopy $("#portfolio-slideshow1").cycle is not a function](https://wordpress.org/support/topic/break-on-errorcopy-portfolio-slideshow1cycle-is-not-a-function/)
 *  [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/break-on-errorcopy-portfolio-slideshow1cycle-is-not-a-function/#post-1814331)
 * I’m getting the same Uncaught “TypeError: Object #<an Object> has no method ‘
   cycle'” on my page and I don’t run almost any plugins at all :/
 * full link to post with my problem [http://www.triphys.com/hosted/dedikation/?p=10](http://www.triphys.com/hosted/dedikation/?p=10)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Portfolio Slideshow] [Plugin: Portfolio Slideshow] Slideshow controls doesn't work and slideshow lays itself over ev](https://wordpress.org/support/topic/plugin-portfolio-slideshow-slideshow-controls-doesnt-work-and-slideshow-lays-itself-over-everything/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-portfolio-slideshow-slideshow-controls-doesnt-work-and-slideshow-lays-itself-over-everything/#post-1764781)
 * Argh! I really didn’t thought it was that since it worked at first (i think),
   but now I removed it and it works great! Thanks alot!
    Great plugin by the way
   😉
 * Cheers!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Question regarding making my webpage play well with wordpress, or convert it all](https://wordpress.org/support/topic/question-regarding-making-my-webpage-play-well-with-wordpress-or-convert-it-all/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/question-regarding-making-my-webpage-play-well-with-wordpress-or-convert-it-all/#post-1664602)
 * Since i’m not that good at explaining i tried to draw a picture explaining what
   I would like to do. When I drew the picture I made the layout as a theme for 
   wordpress and that is actually what I would like to have.
 * [Look at this picture first](http://www.triphys.com/dump/layout1.png)
 * As of now i use this command for my .php links (this string in index.php):
 *     ```
       <?php
       	ob_start();
       	$_GET['p'] = (isset($_GET['p'])) ? $_GET['p'] : "home";
       	$_GET['p'] = str_replace("..\\", "", str_replace("../", "", $_GET['p']));
       ?>
       ```
   
 * And then further down I have a “content div” with the following code:
 *     ```
       <div id="content"><?php
       				if(is_file("content/" .$_GET['p'] .".php"))
       				{
       					include("content/" .$_GET['p'] .".php");
       				}
       				else
       				{
       					include("content/404.php");
       				}
       			?></div>
       ```
   
 * So when you enter my page you will see home.php in the “content div”. And when
   you press for example the “about” button, about.php is called for inside the “
   content div”.
 * But I can’t seem to get it working as a wordpress theme.
 * I hope this made things clearer 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Question regarding making my webpage play well with wordpress, or convert it all](https://wordpress.org/support/topic/question-regarding-making-my-webpage-play-well-with-wordpress-or-convert-it-all/)
 *  Thread Starter [triphys](https://wordpress.org/support/users/triphys/)
 * (@triphys)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/question-regarding-making-my-webpage-play-well-with-wordpress-or-convert-it-all/#post-1664583)
 * Thanks alot! That works great… Unfortunately I only have one problem with those
   scripts. Let’s say I show one post in my div tag and then if a user would like
   to “Continue Reading” or maybe comment and they click a link they get forwarded
   to my actual blog… I would like the rest of the post appear in a clean div on
   my homepage.
    So that they never come in actual contact with the blog (only the
   text displayed on my page).
 * Is that possible to manage?

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