Title: Hello Dolly plugin hack idea
Last modified: August 19, 2016

---

# Hello Dolly plugin hack idea

 *  [ryanmccauley](https://wordpress.org/support/users/ryanmccauley/)
 * (@ryanmccauley)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/hello-dolly-plugin-hack-idea/)
 * A friend and I were trying to edit the code of the Hello Dolly plugin (he has
   some inclination in coding, I just come up with dumb ideas), but we had no luck.
   I was wondering if anyone could come up with a way to get results that we couldn’t.
 * I’ve already seen how easy it is to change the lyrics within the plugin to whatever
   you like, and the idea of that intrigues me. What I’m looking to do is have this
   plugin visible on the actual wordpress page vs. on my admin page so that anyone
   viewing the website can see whatever lyrics are present. Any ideas?

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

 *  [MistahWrite](https://wordpress.org/support/users/mistahwrite/)
 * (@mistahwrite)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/hello-dolly-plugin-hack-idea/#post-1964855)
 * Yes, definitely. The hellodolly plugin “hooks” into the administration menu functions,
   whereas you are trying instead to “hook” into the public version of the site.
   Therefore, you have to change the hooks that you’re registering your functions
   to do that on the public site (not the admin site).
 * See this page: [http://codex.wordpress.org/Plugin_API/Action_Reference](http://codex.wordpress.org/Plugin_API/Action_Reference)
 *     ```
       add_action('admin_footer', 'hello_dolly');
       ```
   
 * might become:
 *     ```
       add_action('wp_footer', 'hello_dolly');
       ```
   
 *     ```
       add_action('admin_head', 'dolly_css');
       ```
   
 * might become:
 *     ```
       add_action('wp_head', 'dolly_css');
       ```
   
 * NOTES/DISCLAIMER: I didn’t test this code, but hopefully you get the point about
   why your approach is not working…
 *  Thread Starter [ryanmccauley](https://wordpress.org/support/users/ryanmccauley/)
 * (@ryanmccauley)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/hello-dolly-plugin-hack-idea/#post-1964864)
 * hey thanks! it works now. we had that second part right, but changing the ‘admin_notice’
   to ‘wp_footer’ did the trick. coolness.
 *  [MistahWrite](https://wordpress.org/support/users/mistahwrite/)
 * (@mistahwrite)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/hello-dolly-plugin-hack-idea/#post-1964953)
 * Glad it helped!

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

The topic ‘Hello Dolly plugin hack idea’ is closed to new replies.

## Tags

 * [add_action](https://wordpress.org/support/topic-tag/add_action/)
 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [wp_footer](https://wordpress.org/support/topic-tag/wp_footer/)
 * [wp_head](https://wordpress.org/support/topic-tag/wp_head/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 3 replies
 * 2 participants
 * Last reply from: [MistahWrite](https://wordpress.org/support/users/mistahwrite/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/hello-dolly-plugin-hack-idea/#post-1964953)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
