12 <?php
bloginfo('name'); ?
>
14 <?php
if ( have_posts() ) while ( have_posts() ) : the_post(); ?
>
16 <div id
="work_container">
22 </div
><!--work_container
-->
25 <div id
="post-<?php the_ID(); ?>" <?php
post_class(); ?
>>
27 <?php
the_content(); ?
>
29 <div
class="entry-meta">
32 <?php
edit_post_link( __( 'Edit', 'sandbox' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?
>
35 </div
><!--entry
-meta
-->
36 </div
><!--post
-php
the_ID(); ?
>" php post_class(); ?>-->
38 </div><!--narrative-->
41 foreach((get_the_category()) as $category) {
42 $my_category = $category->name;
55 <a href="<?php
bloginfo('url') ?
>">Index</a>
57 $args = array("theme_location
" => "primary
", "container
" => "");
64 <div id="placeholder_menu_container
">
65 <div id="placeholder_menu
">
67 </div><!--placeholder_menu_container-->
68 </div><!--placeholder_menu-->
72 $args = array("media_tags
" => $my_category, "orderby
" => "name
");
73 $my_auxiliaries = get_attachments_by_media_tags($args);
74 if ($my_auxiliaries || wp_list_bookmarks("echo=&title_li
=&categorize
=0&category_name
=$my_category")) {
79 if ($my_auxiliaries) {
80 $media_codepoints = array(0x259e, 0x2595, 0x2583, 0x258f, 0x259e, 0x258c, 0x259e, 0x259e, 0x2595, 0x258f, 0x258e, 0x259a, 0x258a, 0x258e, 0x258b);
81 foreach ($my_auxiliaries as $media) {
82 $mycodepoint = array_rand($media_codepoints, 2);
83 if ($media->post_mime_type == "application
/pdf
") {
84 printf("<li
><a href
=\"%s\" title
=\"%s\"
>%s
</a
> %s
</li
>\n",
85 $media->guid, $media->post_excerpt, $media->post_title,
86 "&#x" . dechex($media_codepoints[$mycodepoint[0]]) . ";");
88 printf("<li><a href=\"%s\" title=\"%s\" rel=\"lightbox\">%s</a> %s</li>\n",
89 $media->guid
, $media->post_excerpt
, $media->post_title
,
90 "&#x" . dechex($media_codepoints[$mycodepoint[0]]) . ";");
95 $my_urls = get_bookmarks("category_name=$my_category");
96 foreach ($my_urls as $my_url) {
97 $work_codepoints = array(0x25a2, 0x25a4, 0x25a5, 0x25a6, 0x25a9, 0x25ef, 0x25c9, 0x25b3, 0x25bc, 0x25d0, 0x25d3, 0x25b1);
98 $mycodepoint = array_rand($work_codepoints, 2);
99 printf("<li><a href=\"%s\" title=\"%s\" target=\"_blank\">%s</a> %s</li>\n",
100 $my_url->link_url
, $my_url->link_description
, $my_url->link_name
, "&#x" . dechex($work_codepoints[$mycodepoint[0]]) . ";");
111 </div
><!--container
-->
113 <?php
get_footer() ?
>