Kailey (trepmal)
Forum Replies Created
-
I have an idea, but I need to see the theme to test it.
Would you be willing to send me a copy, or at least the functions.php file? trepmal (at) gmail (dot) com
I’m still unable to reproduce the error.
Can you provide some more details about your intallation? Like version and theme.
Forum: Plugins
In reply to: [Mini Loops] [Plugin: Mini Loops] Thanks and feature requestsI’ve updated the development version of this plugin to address some of this.
= Version 1.1 = * New: Changed Before/After Items inputs to textareas for easier modifying if there is a lot of markup * New: Filters for the Before/After Items content. <code>miniloops_{before|after}_items_format</code> $query arguments passed to it. See source for more details. * New: "Mini Mini Loops" widget. Simplified 'Recent Posts' widget for typical usage - only 3 options.1. You can add a class to the ‘before_items’ markup. IDs can be tricky because that field is passed through
wp_filter_post_kses(). Most IDs (with the exception of a few elements) are stripped out. If you want to modify that, I’ve added some notes to the FAQ. Also here:To allow an additional tag, use this:
add_filter( "admin_init", "allowed_tags" ); function allowed_tags() { global $allowedposttags; $allowedposttags["video"] = array(); }To allow additional attributes for any tag, use the following code:
add_filter( "admin_init", "allowed_tags" ); function allowed_tags() { global $allowedposttags; $allowedposttags["video"]["src"] = array(); $allowedposttags["video"]["type"] = array(); $allowedposttags["video"]["poster"] = array(); }2. Should be taken care of in the dev version. The fields don’t start large, but as long as your browser supports expandable textareas, you can enlarge them at will. If more people bring up the field size as an issue, I can make them even larger by default.
3. I’m looking into this, but the nice clean in-widget solution is escaping me at the moment. However, the dev version does add some filters to the Before/After Items fields, and in mini-loops.php there’s a demo of the filter that appends the post type archive URL to the After Items field.
Forum: Hacks
In reply to: wp_editor media upload(I know we spoke in IRC, but this way we wont have this.)
Forum: Hacks
In reply to: wp_editor media uploadThe general idea is this:
- before wp_editor(), create a post (probably an auto-draft)
- get the ID of the post you just created
- set global $post_ID; to that new ID (save the the original ID so you can restore it in a bit)
- the $post_ID global is used inside
get_upload_iframe_src() - use wp_editor()
- restore post_ID
Better ideas welcome.
I’ve just released the 1.2.1 bug fix, should be available for download within about 15 minutes.
Your assistance in confirming the bug fix would be greatly appreciated.
My apologies for any inconvenience this has caused.
I think I’ve found the error in my logic, though I haven’t seen the exact error message you mentioned.
Would you be willing to reinstall the plugin when the next bug-fix version is out (v1.2.1)?
Try this
<h3>[title]</h3><p>[excerpt custom=1]</p>Forum: Networking WordPress
In reply to: how can i add Password Field on register form?Check out http://codex.wordpress.org/Must_Use_Plugins
However, this code has only been minimally tested just to see if what you ask can be done. It should be considered ‘beta.’ Ideally, you will be able to modify to your suit your needs (functionality or formatting).
I want to reiterate though, that the code I provided will not overwrite the WP-generated password that is shown to users – this could be very confusing.
Forum: Networking WordPress
In reply to: how can i add Password Field on register form?You can kind of work around the signup process to let the user choose their own password initially, but it’s not optimal since the confirmation screen and email will still show the invalid generated password.
Forum: Plugins
In reply to: [Howdy Tweaks] [Plugin: Howdy Tweaks] Documentation Request/SuggestionDocumentation is an ongoing uphill battle… 🙂
For Howdy Tweaks:
– Options are site-specific, not user.
– Can only be modified by a site administrator (doesn’t have to be a super admin)Forum: Plugins
In reply to: [Mini Loops] [Plugin: Mini Loops] Multiple Mini Loops on the same page?You can have extra [ml_format]s. Just pass an alternate custom field name. For example
[ml_format name='ml_format2']While the end goal is the same for the 2 plugins, they get there in different ways.
AMRP was not coded by me initially, so there were certain limitations. But Mini Loops was built to allow more room for expansion later.
Forum: Plugins
In reply to: [Mini Loops] [Plugin: Mini Loops] Multiple Mini Loops on the same page?Okay, I think I see.
Mixing closing and self-closing shortcodes can cause unexpected results. Try closing the first one<div id="story-slider"> [miniloop][/miniloop] </div> </div> <div id="main-content-bottom"></div> <div id="latest-news"> <h1>Latest News</h1> [miniloop number_posts=1 categories=-4][ml_format][/miniloop] </div>Also, I hope that extra closing div is just the result of a partial snippet…?
Let me know if that helps.
That option is available on my other plugin, Mini Loops. 🙂