Plugin Name: Wordpress: Coppermine CPMFetch
Tags: #estrelladesign, #custom, #wordpress, #coppermine, #widget, #widgets, #sidebar
Tested up to: 5.2.3
Author: Estrella Design
Author URI: https://estrelladesign.tk
This plugin lets you display latest photos without having to edit files of your theme. ATTENTION: installation of the plugin CPMFetch to your Coppermine gallery is required. Based on the CPMFetch plugin by W.B.Chmura (aka Vuud).
Looking for a way to show up latest images from your Coppermine photogallery but do not want to change files of your theme? There is a solution! You can just use this plugin created specially for Wordpress. It lets you add the CPMFetch block as a widget to your sidebar. This plugin has some options that would let you get what you want.
Attention: if you want to use this plugin, you must first install the CPMFetch plugin because it will not work if you do not do this. And remember that Wrong settings of your theme will break your theme. When you just install this plugin, make sure you have changed the settings. Default settings will not work on your site. Also, this plugin WILL NOT work if your theme already has the CPMFetch code in any file, and you have to delete that.
You can use this plugin on as many sites as you like
Do not sale this plugin and claim it as yours
You can make changes in this plugin only if you really know what you do because any wrong act might break this one
Coppermine Widget for your sidebar
Works well on any mobile devices
Upload the plugin to your blog from my site
Go to Appearance > Widgets
Find the widget called "Wordpress: Coppermine CPMFetch"
Add it to the sidebar area
Change options profile;
Go to your site to make sure you have made everything right
IMPORTANT: Wrong settings of your plugin will break your theme. When you just install this one, make sure you have changed the settings. Default settings will not work on your site. Also, this plugin WILL NOT work if your theme already has the CPMFetch code, and you have to delete that.
Example: If you have a gallery located on yoursite.com/gallery, you should change it to "gallery". ONLY PREFIX, NO PATH! Example #1: If you have a gallery located on yoursite.com/gallery, you should put one dot.
Example #2: If you have a gallery located on yoursite.com/blog/gallery, you should put two dots.
In short, the deeper a tree of subdirectories, the more dotes you put
If you select the "New Tab" option, the plugin will be opening a photo you click on in a new tab. And if you select the "Current Tab" option, photos will be opening in the same tab.
If you do not select the setting "Type of photos", the plugin will defaultly show up latest photos. And if you do select, you will see random photos from your gallery.
The option "Alt Tags" may be useful if you use such a plugin like Tooltip or its alternatives. If you do not need these options, you can leave them empty.
Do not turn on the option "Error Reporting" if you do not want to see errors at the code of your CPMFetch block.
In case you find any mistakes or problems with using this plugin, you can always contact me on Twitter, Facebook or email. You can find all the contacts on my site https://estrelladesign.tk. Although I tested this one many times on all the devices I have, it does not mean this plugin has no mistakes or problems. But if you find them, I will immediately fix everything as soon as I find a solution, and the updated plugin will be upload on my site. Everyone will be notified about it on Twitter, Facebook and Estrella Design's site.