Support » Fixing WordPress » Using Custom Field Checkbox

  • Hey guys, im having trouble figuring out this. I’ve search the wordpress doucmentation here, but can’t figure it out.

    Anyway, Ive created a custom checkbox on my write page, and what I want to do is use that box to call “FEATURED” posts into my sidebar…

    I don’t know how to call the posts that are ticked with the “FEATURED” custom field…

    Can anyone help? I hope Im explaing this right.

Viewing 7 replies - 1 through 7 (of 7 total)
  • @mercime

    (@mercime)

    Volunteer Moderator

    Yea i understand how to use it, somewhat. I have it working for other custom fields to put small images, larges images, etc… but not sure how to do it with a checkbox, like only featured the “FEATURED” posts that are ticked…

    I didnt see anything in the link about checkboxes. Did I miss it?

    Like say I wanted like

    <php "then the code here to indicated ticked posts" ; query_posts('showposts=9'); if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <a href="<?php the_permalink(); ?>"><?php the_title();?></a>
    <a href="<?php the_permalink();?>"><img src="<?php echo $image; ?>" border="0" alt="<?php the_title();?>" width="70" /></a> 
    
    <?php endwhile; ?>

    How would I do this?

    Let me know if Im not explaining right… cuz I cant figure it out, would love some help if anyone would be so kind.

    Bumps … for reply … please 🙂

    Hey guys, anyone?

    If anyone could help, i can pay… let me know.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using Custom Field Checkbox’ is closed to new replies.