Give help. Get help.

  • # October 25, 2012 at 12:35 pm

    What I’m trying to do is this:

    6 random people selected from a custom post type. Below those people (Where it currently says Municipal Law) I need to display one of the potentially many practice-areas (stored in a custom taxonomy) to which they belong. Oh and I’ll need to put that into the class that wraps the words as well, but I’m hoping doing the first will make the second obvious.

    < ?php $posts = get_posts('post_type=lawyer_profile&orderby=rand&numberposts=6'); foreach($posts as $post) { ?>

    < ?php if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image'); endif; ?>

    < ?php the_title(); ?>

    Municipal Liability Law

    < ?php } ?>

    Grateful for any advice/thoughts.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.