Title: Using Hooks
Last modified: September 1, 2016

---

# Using Hooks

 *  [staceyzav](https://wordpress.org/support/users/staceyzav/)
 * (@staceyzav)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/using-hooks-2/)
 * Hi There – thanks for a REALLY great plugin – this one is a staple of every site
   I build! Can you (or anyone!) help me figure out how to use a hook on this?
 * I’m trying to link my title to a custom URL that is designated on each post via
   a custom field.
 * I’m sure I can handle the custom loop, if someone can get me started with how
   to set up the hook!
 * If it matters I have the widget set up to pull in the title only and link to 
   the post. I just want to change that link to the URL from the custom field.
 * I figure I can set up a custom loop with the title linking to my custom field
   by using the custom content block hook, but I can’t get the hook to do anything.
   Here is what I’ve put on my functions.php:
 *     ```
       add_action( 'gsfc_show_content', 'outside_link' );
        function outside_link () {
       	echo 'I can figure this part out, but I just want to figure out how to get the hook to work first';
   
       	}
       ```
   
 * Grateful for any insight. Thank you!!!
 * [https://wordpress.org/plugins/genesis-featured-content-widget/](https://wordpress.org/plugins/genesis-featured-content-widget/)

The topic ‘Using Hooks’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/genesis-featured-content-widget.svg)
 * [Genesis Sandbox Featured Content Widget](https://wordpress.org/plugins/genesis-featured-content-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-featured-content-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-featured-content-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-featured-content-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-featured-content-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-featured-content-widget/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [staceyzav](https://wordpress.org/support/users/staceyzav/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/using-hooks-2/)
 * Status: not resolved