Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter abbottr

    (@abbottr)

    I found a code to loop through pages, and display them as check boxes in the admin, but I need to be able to loop through the ‘buildings’ custom post types instead.

    foreach ($pages as $page) {
       		if(in_array($page->ID, $value)){
        		    			echo("<span class='check'><input type='checkbox' class='checkbox' value='$page->ID' checked='checked' name='$page->ID' id='$page->ID'/><label for='$page->ID'>$page->post_title</label></span>");
       		}else{
       			echo("<span class='check'><input type='checkbox' class='checkbox' value='$page->ID' name='$page->ID' id='$page->ID'/><label for='$page->ID'>$page->post_title</label></span>");
       		}
       	}
    Thread Starter abbottr

    (@abbottr)

    As you can see when you click on the link try dragging the window width bigger and smaller. It moves some part of the layout as well as the blog with it. Obviously it is auto spacing it with the window, but I’m just wondering how do make them stay aligned left instead of moving with the window?

Viewing 2 replies - 1 through 2 (of 2 total)