I was actually requesting some help with creating the short code for personal use.
I am using a jquery script for some images to have a carousel. Testing it using divs in the text mode works fine on a page. So I created some shortcodes for the divs so its easier for non html savvy people to use. Only html needed is-http://pastebin.com/pyiWCsSd
so the shortcodes I created are -http://pastebin.com/SmC0Zjiv
But it doesnt work. When typing the html to make it work, the jquery recognizes the div class “slider1” and wraps it with other html. And when using the shortcodes it renders the div class only. Any suggestions on this? I read this doc -http://codex.wordpress.org/Function_Reference/do_shortcode but it didnt help.
Here is an example of a tut So that tut doesnt explain to me when to use it and for what exactly. I guess my lack of knowledge on this stuff is why I am puzzled. “What do you use this for” is what I am thinking.
I understand there are several template frameworks out there, but what type of app would you build with one. For some reason I am not getting it….
Again my lack of knowledge and experience of programming is very entry level. I am trying to learn more and more, and always try to find a real world example for me to build my first “hello world” in some new language.
Anyone got an idea? I’m not super savvy with WP to figure this out. Been trying for several days.
I have come across several queries, and I have read the codex. All examples say either one image or all. I want to display 6 images from the latest post of a specific category. Currently it will keep displaying images every time a new post is added. I cant seem to figure out how to limit the number of images echo’ed. I know how to do simple php array’s. But I dont know how to manipulate this in wordpress. This was the best thing I could come up with to achieve the results I am wanting. (edit – this was also the only way I could have the rel=”lightbox” tag for image lightbox plugin to work) Do you have any suggestions of maybe doing this differently?
here is a link to code – http://pastebin.com/9aH5ihKc
I emailed you.
Man, your not gonna believe it, I was uploading the files but testing a different directory on my machine hahahahahaha! oh man how hilarious! Hopefully you didnt find my response offensive, cause I surely wasn’t trying to be! Do you have a donation link? I appreciate your help! I have some learning to do to be able to debug things like this better!
Thanks for the code, although it isnt work on my machine…. Can you show me a screen shot of yours maybe? This is really weird.