Title: nerdess's Replies | WordPress.org

---

# nerdess

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Add active class to custom Walker items](https://wordpress.org/support/topic/add-active-class-to-custom-walker-items/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/add-active-class-to-custom-walker-items/#post-5863716)
 * I’ve added the active class to the walker like this:
 * 1. copied the class Walker_Nav_Menu into functions.php
    2. extended it (just 
   like you did) 3. added an active class like this changing start_el a bit:
 *     ```
       $activeMenuItemClass = (in_array('current-menu-item', $item->classes)) ? ' class="nav-selected"' : '';
       $output .= $indent . '<li'.$activeMenuItemClass.'>';
       ```
   
 * basically, all you need to do is finding out if the key “current-menu-item’ appears
   in $item->classes and if so you know that this item is the active one and you
   can attach any class you like to it (or even just simply use the key itself as
   a class)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form With Captcha] Warning: Illegal String Offset 'text_string'](https://wordpress.org/support/topic/warning-illegal-string-offset-text_string/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-text_string/#post-6173969)
 * so i figured out: the issue is cos of sloppy code 😉 either switch off the display
   of php warnings or change cfwc-main.php so that you check in the affected lines
   if $options[‘text_string’] actually exists. like e.g. so in line 214:
 * before:
    `if ("parallel" == $options['text_string'])`
 * better:
    `if (isset($options['text_string']) && "parallel" == $options['text_string'])`
 * ______
 * edit: you can also grab the modified cfwc-main.php file from my github account:
   [https://github.com/nerdess/contact-form-with-captcha/blob/master/cfwc-main.php](https://github.com/nerdess/contact-form-with-captcha/blob/master/cfwc-main.php)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form With Captcha] Warning: Illegal String Offset 'text_string'](https://wordpress.org/support/topic/warning-illegal-string-offset-text_string/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-text_string/#post-6173968)
 * I have the exact same problem as described by rivalarrival
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slideshow Gallery LITE] Slideshow Gallery doesn't show up](https://wordpress.org/support/topic/slideshow-gallery-doesnt-show-up/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/slideshow-gallery-doesnt-show-up/#post-3079369)
 * had the same problem with slideshow gallery, adding wp_head() to header.php fixed
   it, see:
 * > [@nerdess](https://twitter.com/nerdess?ref_src=twsrc%5Etfw) Is it possible 
   > that wp_head() or wp_footer() tags are missing from the theme's header or footer
   > files? That could be the cause
   > — Tribulant Software (@tribulant) [August 6, 2013](https://twitter.com/tribulant/status/364661907107491840?ref_src=twsrc%5Etfw)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slideshow Gallery LITE] tid is not defined](https://wordpress.org/support/topic/tid-is-not-defined/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/tid-is-not-defined/#post-3806239)
 * had the same problem, adding wp_head() to header.php fixed it, see:
 * > [@nerdess](https://twitter.com/nerdess?ref_src=twsrc%5Etfw) Is it possible 
   > that wp_head() or wp_footer() tags are missing from the theme's header or footer
   > files? That could be the cause
   > — Tribulant Software (@tribulant) [August 6, 2013](https://twitter.com/tribulant/status/364661907107491840?ref_src=twsrc%5Etfw)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Links won’t work after migrating from localhost](https://wordpress.org/support/topic/links-wont-work-after-migrating-from-localhost/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/links-wont-work-after-migrating-from-localhost/#post-805078)
 * And the same for the post_content table:
 *     ```
       UPDATE wp_posts SET post_content = replace(post_content,"http://localhost/wordpress","http://blablabla.de")
       ```
   
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Links won’t work after migrating from localhost](https://wordpress.org/support/topic/links-wont-work-after-migrating-from-localhost/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/links-wont-work-after-migrating-from-localhost/#post-805077)
 * > Err… Edit the posts and fix the links? These are actually in your post content.
   > There is no fix short of actually going in and fixing them.
 * [@otto42](https://wordpress.org/support/users/otto42/): What about a database
   query?
 * Something like
 *     ```
       UPDATE wp_posts SET guid = replace(guid,"http://localhost/wordpress","http://blabla.de")
       ```
   
 * :o)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [2.5 editor not saving with Firefox](https://wordpress.org/support/topic/25-editor-not-saving-with-firefox/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/25-editor-not-saving-with-firefox/#post-734599)
 * Heeey there….had the same issue, asaozz solution works just fine! thx :o)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] – single image comments](https://wordpress.org/support/topic/plugin-nextgen-gallery-5/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-5/#post-837971)
 * Being able to comment on a gallery would be cool to 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Update Permalink Structure in 2.5](https://wordpress.org/support/topic/update-permalink-structure-in-25/)
 *  [nerdess](https://wordpress.org/support/users/nerdess/)
 * (@nerdess)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/update-permalink-structure-in-25/#post-721051)
 * yep, ericr23 is right. If you need to update your permalinks, just click the “
   save” button in Settings->Permalinks 🙂
 * This little hint helped me a lot to get the NextGen Gallery permalinks to work.

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