I recently added the Dynamic Content Gallery WordPress Plugin to one of my friends sites. He isn’t to savvy with moving around and adding stuff to his server. So I had to add some stuff to this wonderful plugin so it would do thinks automatically.
First thing I did was add this: <img src=”<?php echo $featured; ?>”/>
That way I could upload the image inside WordPress and add a custom field key called featured with out having to go to the server and upload to the custom folder like the stock plugin says.
Another thing I changed is the this: I added this to the plugin <p> php the_content_rss(”, TRUE, ”, 50); </p>
What that does is instead of having to add a custom key with text for the description in the Content Gallery now you do nothing. What you write in your post will be automatically added to the Gallery image descriptions.
So instead of this :
I also added the Get The Image WordPress Plugin function to the Dynamic Content Gallery.
So you can ether add from the custom key ( featured)Â or just upload an image in WordPress and it will show up automatically! Make sure the image dimensions are right!
If you have the Dynamic Content Gallery installed and want to try my files. Please remember that this could break your Gallery.
Remember to back up everything first!!
You might want to backup the whole folder dynamic-content-gallery-plugin
Remember to rename the file that you are going to use dynamic-gallery.php
Good luck and let me now what you think!!