Forums

WordPress for Women's Derby Bios? (8 posts)

  1. jlewis004
    Member
    Posted 1 year ago #

    Greetings all,
    First let me say that I've been searching around for quite some time for a solution to my problem to no avail. I've tried NextGEN gallery, profiles, and other image gallery plugins without much luck.

    I'm creating a wordpress-run site for a local derby team. What I'm looking for is basically this: http://www.chattanoogarollergirls.com/skaters.html . This site has a gallery with the players; additionally, when a picture is clicked on a new page opens with a larger picture and some biographical information.

    I can work to do the customization on a plug-in for this sort of gallery; however, I don't know where to start. Can anyone let me know if the site I've posted is running on WordPress; likewise, if anyone has any ideas on how to make this sort of thing happen (specific themes, plug-ins, etc.), please let me know.

    Finally, thanks so much for taking the time to read this and please forgive me if I've posted this in the wrong forum.

  2. Jackson
    Member
    Posted 1 year ago #

    Hi - You might want to look at using pages and featured images.

    Here's a relevant example:

    http://www.hellionsoftroyrollerderby.com/hellions/active/

    You could have a page structure like;

    Skaters
    - Skater 1
    - Skater 2
    - Skater 3

    etc...

    Then on the main skaters page you can do a query to show children pages with their featured thumbnails and title, linking to their individual page, where you can have larger image(s) and full bios / stats.

    Hope that helps.

  3. jlewis004
    Member
    Posted 1 year ago #

    hello madjax,

    thanks so much for the reply. i've created something of a gallery to start (still need to modify the theme, etc. for site aesthetics). My problem is that I can't change the link URL on the picture. In this example ( http://assault2.justinlewis.me/?page_id=26 ) I have created the beginnings of a gallery. Next I need to link each image with a static profile page (like you mention above i think. . . ); however, I can't change the image URL to link to the individual skater bio page (in this case Shakra Tease: http://assault2.justinlewis.me/?page_id=37 ).

    I think my misunderstanding lies in the "do a query to show children pages" command. Any help? Thanks so much for your reply. I really appreciate any help you can provide (or links, I can read too! :-)

    Now that I'm googling around, I'm sure that I've misunderstood. Going to see if I can't work out the query info myself, but feel free to post. Thnx!

  4. jlewis004
    Member
    Posted 1 year ago #

    OK, so I was really off base. I've created the subpages (children); however, I don't know how to create a query to grab the thumbs of children pages and display them (as linkable) on the parent page. Any suggestions? THnx!

  5. Jackson
    Member
    Posted 1 year ago #

    Try this... You may want to create a new custom page template if you don't want all your pages to show their children in this fashion:

    <div id="children">
    <?php query_posts('posts_per_page=-1&post_parent='.$post->ID.'&post_type=page&orderby=title&order=ASC&caller_get_posts=1');
    	while (have_posts()) : the_post(); ?>
    	<div class="child-page">
    		<a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>">
    			<?php the_post_thumbnail('thumbnail'); ?>
    		</a>
    		<h3><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    	</div>
    	<?php endwhile; ?>
    </div>
  6. jlewis004
    Member
    Posted 1 year ago #

    WOW! That almost has everything! I really, really appreciate it. Here's what we're looking at now:

    http://assault2.justinlewis.me/?page_id=26

    and here's what the code looks like:

    <?php
    /*
    Template Name: skatergallery
    */
    ?>
    
    <?php get_header(); ?>
    
    <?php get_footer(); ?>
    
    <?php get_sidebar(); ?>
    
    <?php query_posts('posts_per_page=-1&post_parent='.$post->ID.'&post_type=page&orderby=title&order=ASC&caller_get_posts=1');
    	while (have_posts()) : the_post(); ?>
    	<div class="child-page">
    		<a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>">
    			<?php the_post_thumbnail('thumbnail'); ?>
    		</a>
    		<h3><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    	</div>
    	<?php endwhile; ?>
    
    </div>
    
    <?php get_footer(); ?>

    First time I've ever done anything like this before. . . I'm beginning to work out the calls/commands/syntax. Any idea why the thumbs aren't showing up above the Title/Permalink? Thnx so much for everything again.

  7. Jackson
    Member
    Posted 1 year ago #

    Did you enable post_thumbnails in your theme?

    You need this in your functions.php file:

    add_theme_support('post-thumbnails');

    Then of course you need to make sure the pages all have "Featured Images" selected. Pages>Edit>Featured Image (in right column).

    PS - You are calling get_footer twice in your code...

  8. rayatrogue
    Member
    Posted 11 months ago #

    I need exactly the same thing as jlewis004 posted....I am doing a wakeboard company website and they need a page that shows their team riders/athletes.....

    I'm a bit confused on exactly how you got it to work from reading this post....I did see that you got it dialed.

    http://assault2.justinlewis.me/galleries/player-profile-pics/

    is there a chance you could break it down step by step....I'm new to this wordpress stuff...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags