Title: ccwordpress's Replies | WordPress.org

---

# ccwordpress

  [  ](https://wordpress.org/support/users/ccwordpress/)

 *   [Profile](https://wordpress.org/support/users/ccwordpress/)
 *   [Topics Started](https://wordpress.org/support/users/ccwordpress/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ccwordpress/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ccwordpress/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ccwordpress/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ccwordpress/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ccwordpress/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fluency Admin] [Plugin: Fluency Admin] Hide Menu: Admin fine, Other roles not.](https://wordpress.org/support/topic/plugin-fluency-admin-hide-menu-admin-fine-other-roles-not/)
 *  [ccwordpress](https://wordpress.org/support/users/ccwordpress/)
 * (@ccwordpress)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-fluency-admin-hide-menu-admin-fine-other-roles-not/#post-1561502)
 * I have a fresh WP install, with no other plugins, that behaves the same way for
   me on the browsers I actually use. That is, the hide menu works but the show 
   menu does NOT appear and the special “?unfoldmenu” url must be visited to get
   it back.
 * Quick test results…
    IE 8 (via VirtualBox) – hide menu works, show menu DOES 
   appear Win Firefox 3.6.6 (via VirtualBox) – problem as described Mac Safari 5–
   problem as described Mac FireFox 3.6.6 – problem as described Mac Chrome 5.0.375.99–
   problem as described
 * Seems to be a browser issue, not a script issue. Basically, it only works in 
   IE8. Hope this helps reach a solution and saves some frustration.
 * Thanks for the great work on this plugin BTW!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [get_bloginfo(‘template_directory’) – returns URI, not filesystem path](https://wordpress.org/support/topic/get_bloginfotemplate_directory-returns-uri-not-filesystem-path/)
 *  Thread Starter [ccwordpress](https://wordpress.org/support/users/ccwordpress/)
 * (@ccwordpress)
 * [17 years, 12 months ago](https://wordpress.org/support/topic/get_bloginfotemplate_directory-returns-uri-not-filesystem-path/#post-782171)
 * A little further digging led me to “TEMPLATEPATH” – which I think will be exactly
   what I need. Maybe that’s why the *_directory parameters don’t do this any more.
   Regardless, I don’t see that documented very well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [attachments associated with a post](https://wordpress.org/support/topic/attachments-associated-with-a-post/)
 *  Thread Starter [ccwordpress](https://wordpress.org/support/users/ccwordpress/)
 * (@ccwordpress)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/attachments-associated-with-a-post/#post-737191)
 * Just for the benefit of anyone searching on this in the future, here is what 
   I ended up with. Called from a post loop, it will print a thumbnail if it exists.(
   note also a tiny typo correction from the above – there’s no “post_mimi_type”
   that I know of)
 *     ```
       <?php
       $files = get_children("post_parent=$id&post_type=attachment&post_mime_type=image");
       if($files){
               $keys = array_keys($files);
               $num=$keys[0];
               $thumb=wp_get_attachment_thumb_url($num);
               print "<img src=$thumb>";
       }
       ?>
       ```
   
 * Hope this helps someone else out.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [attachments associated with a post](https://wordpress.org/support/topic/attachments-associated-with-a-post/)
 *  Thread Starter [ccwordpress](https://wordpress.org/support/users/ccwordpress/)
 * (@ccwordpress)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/attachments-associated-with-a-post/#post-737187)
 * Ah-ha, I see now. I had found wp_get_attachment_thumb_url() already – but “get_children
   is the key I was missing. Thank you very much!

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