Title: edmarno's Replies | WordPress.org

---

# edmarno

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding class or id to wp_nav_menu using php](https://wordpress.org/support/topic/adding-class-or-id-to-wp_nav_menu-using-php/)
 *  [edmarno](https://wordpress.org/support/users/edmarno/)
 * (@edmarno)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/adding-class-or-id-to-wp_nav_menu-using-php/#post-2196505)
 * Hi,
 * The way you do it is by changing the number after $output to the number of times
   you want the function to happen (-1 for unlimited); so if you want the function
   to do it for every menu item it looks like this:
 * > function add_nav_class($output) {
   >  $output= preg_replace(‘/<a/’, ‘<a class=”
   > your-class”‘, $output, -1); return $output; } add_filter(‘wp_nav_menu’, ‘add_nav_class’);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Twitter Goodies Widgets] [Plugin: Twitter Goodies Widgets] how to have the most recent on top](https://wordpress.org/support/topic/plugin-twitter-goodies-widgets-how-to-have-the-most-recent-on-top/)
 *  [edmarno](https://wordpress.org/support/users/edmarno/)
 * (@edmarno)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-twitter-goodies-widgets-how-to-have-the-most-recent-on-top/#post-2308739)
 * I’d like to change this as well, does anyone have an answer? Alternatively a 
   different plugin recommendation would be great as well!
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Placing the loop in a separate php file](https://wordpress.org/support/topic/placing-the-loop-in-a-separate-php-file/)
 *  Thread Starter [edmarno](https://wordpress.org/support/users/edmarno/)
 * (@edmarno)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/placing-the-loop-in-a-separate-php-file/#post-1908304)
 * if you want to see an example of the page with the two loop elements it is [http://djroofing.co.uk/testimonials/](http://djroofing.co.uk/testimonials/)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Cant run install script](https://wordpress.org/support/topic/cant-run-install-script-2/)
 *  Thread Starter [edmarno](https://wordpress.org/support/users/edmarno/)
 * (@edmarno)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-run-install-script-2/#post-1538007)
 * btw I used ftp to upload all the files to my host folder

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