Title: Custom menu, data attribute
Last modified: December 20, 2017

---

# Custom menu, data attribute

 *  Resolved [pozitron](https://wordpress.org/support/users/pozitron/)
 * (@pozitron)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-menu-data-attribute/)
 * Hello and thank you for this great plugin !
    I bought the plugin to use the gallery
   type 6, filterable grid, and it works great.
 * Now i have a question, i would like to use a custom menu to filter my items and
   i’m stuck at passing “data-filter” attribute to my buttons. Javascript and PHP
   is not a problem but i m fairly new to wordpress…
 * I would like to hide the basic gallery navigation buttons and use my custom menu
   instead. Do you have any idea on how to do this ?
 * I d also like to change the hover effect on the gallery items but i cant find
   the css !
 * Thanks again, have a nice day !

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

 *  Thread Starter [pozitron](https://wordpress.org/support/users/pozitron/)
 * (@pozitron)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-menu-data-attribute/#post-9805672)
 * Finally i got what i wanted using some additional CSS on the buttons and found
   the hover effect in the gallery customization…
 * I have another problem now, how could i link an image to multiple albums using
   type 6 filterable grid ?
 *  Plugin Author [totalsoft](https://wordpress.org/support/users/totalsoft/)
 * (@totalsoft)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-menu-data-attribute/#post-9806204)
 * Hello Dear [@pozitron](https://wordpress.org/support/users/pozitron/).
 * Thank You for contacting with us and for saying us about your request. We are
   happy that you found solution to solve first problem. About second request. There
   is no way to put the same image into different albums. For that you must upload
   images more than one time and put there into different albums.
 * Thank You.

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

The topic ‘Custom menu, data attribute’ is closed to new replies.

 * ![](https://ps.w.org/gallery-portfolio/assets/icon-128x128.jpg?rev=1448528)
 * [Portfolio Gallery - Responsive Image Gallery](https://wordpress.org/plugins/gallery-portfolio/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-portfolio/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-portfolio/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-portfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-portfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-portfolio/reviews/)

## Tags

 * [data-attribute](https://wordpress.org/support/topic-tag/data-attribute/)

 * 2 replies
 * 2 participants
 * Last reply from: [totalsoft](https://wordpress.org/support/users/totalsoft/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/custom-menu-data-attribute/#post-9806204)
 * Status: resolved