WordPress.org

Ready to get started?Download WordPress

Forums

Help with potential plugin (3 posts)

  1. occams_laser
    Member
    Posted 2 years ago #

    Hi,

    I am looking for a plugin and or method of adding a functionality to a project of mine.

    I'd like to make it so through the dashboard you can add an image, title, and description of a post that will display through a gallery (Using custom post types?). I have been looking for hours now and can't seem to find a solution.

    Here is an example of what functionality I am looking for.

    Any help is appreciated.. Thanks in advance!

  2. wspencer
    Member
    Posted 2 years ago #

    That depends...do you want the lightbox effect? Or do you want the reader to be taken to a specific post when they click on the image/text?

    If they're going to a specific post, you can just use a custom loop and some custom CSS styling.

    Something like this....

    <?php query_posts('cat=23&posts_per_page=20&paged='.$paged); ?>
          <?php if (have_posts()) : ?>
              <?php while (have_posts()) : the_post(); ?>
    
     	<div class="video_category_wrapper">
    
        		<a href="<?php the_permalink(); ?>"><img class="video_page_thumb" src="<?php video_thumbnail(); ?>" />
    
        		<?php the_title(); ?></a>
    
        	</div>
    <?php endwhile; ?>
    <?php endif; ?>

    That's what I used on this page.

    All you'd have to do is add a template tag in the loop for the_excerpt() if that's what you wanted as a description. Then you could use the manual excerpt box in the post editor screen to create the description text.

    Just a thought. Hopefully that helps a little.

  3. occams_laser
    Member
    Posted 2 years ago #

    Hey thanks for the response.

    Actually I don't even need them to go to a specific post. I just want a featured image, a short description, and than a link going to an outbound URL.

    Essentially its a products page for clothing. I would like to have different categories such as Men's and Woman's and than sub categories for those. I know this can be done using custom fields but I just don't know how :(

    Let me know if you would know anything about this, once again thanks for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.