0

Question →

Just like we customize the default WordPress comment system in the front end how can we customize this for the gallery the way we want to look this in the front-end?

Here it is mentioned → https://developer.wordpress.org/reference/hooks/post_gallery/

If the filtered output isn’t empty, it will be used instead of generating the default gallery template.

My question is can someone give me an example how can I generate the output of my choice. should I create a whole template or should I deliver the output through some function in functions.php?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.