Title: Remove Links from Project Widget
Last modified: January 26, 2017

---

# Remove Links from Project Widget

 *  [TheSpecialKick](https://wordpress.org/support/users/thespecialkick/)
 * (@thespecialkick)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-links-from-project-widget/)
 * Hello!
 * How can I remove the links from the project widget (the portfolio – the grid)?
   
   [http://makemuscles.net/](http://makemuscles.net/)
 * Thanks in Advance!

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

 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-links-from-project-widget/#post-8704154)
 * Hello there,
 * You can remove the link value attributed to each project link by using jQuery
   code. Try to follow the below steps:
 * 1. Install and activate the [TC Custom JavaScript](https://wordpress.org/plugins/tc-custom-javascript/)
   plugin
    2. Go To **Appearance** > **Custom JavaScript** 3. Paste the following
   code into the provided box
 *     ```
       jQuery(function($) {
           $('.project-item').each( function() {
   
             var link =  $(this).find('a');
   
             link.attr('href', '#');
   
             link.on('click',function (e){
               e.preventDefault();
             });      
   
           });
       });
       ```
   
 * 4. Update
 * Regards,
    Kharis
    -  This reply was modified 9 years, 3 months ago by [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/).
 *  Thread Starter [TheSpecialKick](https://wordpress.org/support/users/thespecialkick/)
 * (@thespecialkick)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-links-from-project-widget/#post-8706352)
 * Thank you! 🙂

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

The topic ‘Remove Links from Project Widget’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sydney/2.67/screenshot.png)
 * Sydney
 * [Support Threads](https://wordpress.org/support/theme/sydney/)
 * [Active Topics](https://wordpress.org/support/theme/sydney/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sydney/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sydney/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [TheSpecialKick](https://wordpress.org/support/users/thespecialkick/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/remove-links-from-project-widget/#post-8706352)
 * Status: not resolved