Categories as selectable links on submission form

Once you retrieved your categories, let’s say in $categories, you can do something like this: <?php foreach ($categories as $catgory) { ?> <form id=”cat-button-form-<?php echo $category->ID; ?>” action=”<?php echo $url_to_step_2; ?>” method=”POST”> <input type=”hidden” name=”mycat” value=”<?php echo $category->ID; ?>” /> <input type=”submit” name=”getcat” id=”getcat_<?php echo $category->ID; ?>” class=”btn_catstep” value=”<?php printf(__(‘Select %s &amp; Continue’), $category->name); ?>” … Read more

Is it possible to customize the layout of Gallery Shortcode?

You may complete override your gallery shortcode using the filter post_gallery. The return is displayed in your page and no further processing of the shortcode is done. You may iterarate through the image attached to your post to build your own gallery. See the implementation of gallery shortcode here: http://core.trac.wordpress.org/browser/trunk/wp-includes/media.php#L758 EDIT: There are some plugins … Read more

send information from the thickbox image uploader second tab

So i decided that for me, i can settle for changing an input field on the top.parent for it to be used with the native options. i used this for the function of the iframe tab: function media_upload_choosebackground_form() { media_upload_header(); ?> <h3 class=”media-title”>HTML Form</h3> <img src=”http://www.mimi.me/wp-content/themes/mimi.me_regular_sites/images/background-Green-stripes-thumb.jpg” style=”cursor:pointer; float:left; margin:10px 0 0 10px” id=”greenstripes” title=”Green Stripes” … Read more