![]() |
I need to customize the native WordPress Gallery function so that I can display a gallery based on the name instead of the ID of the post it is attached to.
A gallery plugin isn't an option.
I found some useful info here:
[[LINK href="http://wordpress.stackexchange.com/questions/43558/how-to-manually-fix-the-wordpress-gallery-code-using-php-in-functions-php"]][[/LINK]]
and I see the wordpress file is at wp-includes/media.php
But I'm not sure how to write the function / filter/action to make this work.
Anyone have the answer?
Solution - 1try this
Solution - 2Do you want to show gallery based on the name of the album? ex: |
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 8 |