I am struggling to find out how to add an image to a plugin i am building.need to be able to bring up the dialog for upload/select from gallery images from within my plugin.
Any ideas??
i found a solution, its here if any one else is interested.
http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/
thanks for the comments though guys
Related
i using the portfolio-theme studio 9 from simon bouchard.
A great theme with powerfull options.http://themes.simonbouchard.com/studio9/works/
now i would like to change the view of the work-section.
the featured image should change at hovering.
i search fpr the term and found a lot of stuff but always very special and i don´t know to code it in my theme. i´m not good at php or java.
my idea is to work with custom fields and to add a line of code that the image change to the custom field at hovering. i hope it is so simple and you can help me to fix the problem.
thank you so much!
i saw the effect at this page http://heydays.no and found it very very fresh.
The site you like uses ajax to cycle through multiple images when the block is hovered. Your theme probably does not support that. I suggest you look for a theme or plugin that offers the effect you want out-of-the-box. This one comes close and you may be able to set it to do a complete image switch instead of an effect. But the effects actually look cooler to me than the image switch.
I am creating a Wordpress theme basically from scratch (used a very basic theme as a starter but changing all the files) I am importing/using the bootstrap3 CDN framework.
I've got the nav and header footer setup done, but I'm relatively new to wordpress theme making and all I want on the index.php is a responsive grid of thumbnails that are the featured images of my posts.
I've looked for tuts/examples but none seem to have both bootstrap and wordpress. Only describe one or the other. Is there any good tuts to accomplish this task?
cheers
Can't help you with the tut, but if you want to create a responsive thumbnail grid in index.php. Then it is easy. As for bootstrap you have to know about the grid system. you can find it here.
And as for showing your featured images as a thumbnail you can use
<?php the_post_thumbnail(); ?>
You can find all the details in here.
Hope this helps you to find your solution.
Can't help per say with your problem, but did recently watch this tut "Getting first wordpress website up" on pluralsight (which unfortunately isn't free) which has a whole section on searching for and installing both new Plugins and Themes. Helped me out. Good luck and don't give up
I want to display the title in the NextGen gallery. The plugin does not offer an option for that, so I have to somehow go past it, and modify the code.
NextGen Version:2.0.33.
Has anyone got across the same problem? How can I solve it?
Stefan - The view folder is in the modules/ngglegacy folder. New version I guess.
As for the gallery title, I modified some code I found here,
http://psychopixi.com/tech/how-to-link-back-to-an-album-in-a-nextgen-gallery/
It's actually for showing breadcrumbs and providing a back button, but if you change the values of the iterators myi and myi2 in lines 10 and 13 it will just output with the title, which you can format as you wish.
As per their suggestion I used the plugin Shortcode Exec PHP to make shortcode which I then placed in my gallery page. You can then place the shortcode for your gallery after.
It's not an elegant solution, and it assumes that the url of your gallery has the name of the gallery in it.
Good luck.
<?php echo $gallery->title ?>
Place this in your gallery template file wherever it's needed.
I found a solution to this problem having searched all day on inet.
Your 'view' folder is in the ngglegacy folder of the plugin. You can add <?php echo $gallery->title ?> to that file. Then goto Gallery options in your admin area and select gallery.php to show for the Basic Thumbnails.
thats it!
Is there a wordpress plugin that would allow you to tag a person? I'm using a buddypress theme and I'm not sure if there's plugin that would tag a picture to a user.
I've been looking in the internet but I can't find any. Hope someone would help.
Thanks! :)
I think this is what ur looking for
http://wordpress.org/extend/plugins/demon-image-annotation/
http://demo.thethemefoundry.com/traction/#post-183
Which wordpress plugin is this, to have post image on the left side and shortened version of your post on the right, and read more button below?
Thank you
It could be many different plugins, but you could just place your image first, align left, then use this plugin to get the "Read More"...
http://wordpress.org/extend/plugins/sem-fancy-excerpt/
I use this one on my Wordpress, makes the small excerpt nice and neat.
Hey. I think they don't use any plugin to get post-style like this. You can use WordPress 2,9's new feature - Post Thumbnail Images and aling image left, use excerpt's for text and style cool read more link or button style. Read this great tutorial for the last one - Display Post Excerpts Only in WordPress
I hope this will help you to get what you want ;)