How to Create a Photo Album Gallery in WordPress without plugin
You need to create a site-specific plugin which is not dependent on your theme. They are useful for creating custom post types, adding shortcodes, showing thumbnails and likewise. To create a site-specific plugin, you have to go to plugins directory using FTP. Under wp-content/plugins/ create a new folder and name the folder the same name as the plugin you want to create. Go inside the folder and create a php file with the same name as the folder. Paste the following code inside the file.
How to Create a Photo Gallery with Albums in WordPress
Have you ever wanted to organize your photo galleries with albums? While image galleries allow you to display multiple photos on a single page, albums can allow you to display multiple galleries on a single page categorized by event, topic, location, etc. This is extremely useful for photographers and photobloggers. In this beginner’s guide, we will show you how to create a photo gallery with albums in WordPress without writing a single line of code.