Team Rosters
[resolved] Rendering issues all over the place (5 posts)

  1. DOS
    Posted 2 years ago #


    First off, I love this plug-in, or at least the way its working on your dev site! Unfortunately it's not working very well on our site as the rendering is all over the place. For example on the Team page it’s not displaying all of the information and it’s displaying the height and weight on the same line. On the roaster page this is really out of kilter as my comment and share widgets are appearing in the body of the player bio, also the player bio is misaligned.

    Hope you can help because this plug-in could really benefit our site.

    Site Theme = Hostingsquares

    Roster URL = http://www.carrickrugbyclub.ie/1/teams/senior-mens/
    Additional info = 2 files moved to my theme folder


  2. DOS
    Posted 2 years ago #

    This is a page template used on most of my pages, I guess I need to incorportate allot of this into your single-player.php. Any ideas?

    <?php /*
    	Template Name: Inner Page
    */ ?>
     * The template for displaying all pages.
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     * @package WordPress
     * @subpackage Hosting Square
     * @since Hosting Square 1.0
    get_header(); ?>
    	<div id="main">
    		<div id="mainleft">
    			if(is_front_page()) {
    			include_once (TEMPLATEPATH . '/slider.php');
    			<div id="content" class="box">
    				include_once (TEMPLATEPATH . '/title.php');
    				<?php if ( function_exists('yoast_breadcrumb') && !is_front_page() ) {
    				yoast_breadcrumb('<div id="breadcrumbs">','</div>');
    				} ?>
    				<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    					<div class="entry-content">
    						<?php the_content( __( 'Continue Reading', 'templatesquare' ) ); ?>
    <?php comments_template(); ?>
    						<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'templatesquare' ), 'after' => '</div>' ) ); ?>
    						<?php edit_post_link( __( 'Edit', 'templatesquare' ), '<span class="edit-link">', '</span>' ); ?>
    					</div><!-- .entry-content -->
    				</div><!-- #post-## -->
    				<?php endwhile; ?>
    			</div><!-- end #content -->
    			<div class="clear"></div><!-- clear float -->
    			<div class="clear"></div><!-- clear float -->
    		</div><!-- end #mainleft -->
    		<div id="mainright">
    			<?php get_sidebar('page');?>
    		</div><!-- end #mainright -->
    		<div class="clear"></div><!-- clear float -->
    	</div><!-- end #main -->
    <?php get_footer(); ?>
  3. Mark O'Donnell
    Plugin Author

    Posted 2 years ago #

    Hi DOS,
    Carrick on Shannon is grand. Believe I drove through there on N-4 one day on my way to Enniscrone or Sligo on a golf outing.

    Your 'player gallery' or taxonmy page (link above) looks great. That's usually the hard part so well done.

    I you look at your code above, you have a while( have_posts() ) loop and the single-player template has essentially the same loop (which calls single-player-content to do all the player specific work). I think if you replace the guts of your loop above with the guts of the single-player loop, you'll be really close. Then it will be a matter of css styling. (You'll want to call the result single-player so the WordPress template hierarchy finds the right template.

    Let me know how it works out.


  4. DOS
    Posted 2 years ago #

    Hi Mark,

    Carrick is a grand spot to be sure, lively spot at the weekends I can tell you!

    I fiddled around with my page template and included the single-player loop and that seems to have done the job. Bit more to do on the taxonmy page and I'm sure I'll hit a few more issue but for now I'm happy out.


    Thanks for your help


  5. Mark O'Donnell
    Plugin Author

    Posted 2 years ago #

    Super. The site looks like you are getting there. (I'll look you up and collect a pint of the black stuff next time I'm in town.)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic