taylorswendsen
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Shortcode] Shortcodes not working insideI solved a similar problem with html tags inside Contact Form 7. Instead of putting the code into a custom post type as a template as Eliot suggested (which is a great idea for solving lots of WordPress problems!), I put the html into a my own shortcode, and inserted the other shortcode data into it. In my case I was creating <option> tags for a select box:
function option_shotcode($atts, $content=null) {
return ‘<option value=”‘.$content.'”>’.$content.'</option>’;
}
add_shortcode(“option_shortcode”, “option_shortcode”);Then I used it like this:
[loop type=post]
[option_shortcode][field author][/option_shortcode]
[/loop]- This reply was modified 7 years, 8 months ago by taylorswendsen.
Forum: Plugins
In reply to: Anyone Interested in a plugin that…great idea – I’d love to see a plugin like you describe. It would be nice to turn off the “attachment” feature for certain files as well…
Taylor
Forum: Fixing WordPress
In reply to: Can you recommend a better way to accomplish this…?There is a plugin that will allow you to upload a zipped archive of files using the default uploader (which means you get thumbnails, etc.).
http://wordpress.org/extend/plugins/just-unzip/
I also find the flexible-upload plugin quite useful for re-sizing my thumbs and originals on upload, and for integrating with lightbox:
http://wordpress.org/extend/plugins/flexible-upload/
Hope this helps.
Taylor