ozzysong
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Creating New Post Outside of the dashboard.I finally resolved it by passing all my form variables throught wp_insert_post() WordPress function, and is working like a charm.
Forum: Fixing WordPress
In reply to: Ajax post outside dashboardAt last I did it with wp_insert_post() function.
Forum: Fixing WordPress
In reply to: Ajax post outside dashboardThanks for the reply, i’ll try that plugin.
If nothing works, i’ll do a plugin myself.
Forum: Fixing WordPress
In reply to: Creating New Post Outside of the dashboard.I want my users to create post outside the dashboard too but i don’t want to use TDO Mini Forms because i want to throw in some custom ajax and tricks.
Instead of hacking Mini Forms, It’ll be nice if someone post the variables you need to send to create a post or something like that, because I can’t post anything no matter how hard I’m trying, even copying the dashboard form html.
Some help would be appreciated, thanks.
Forum: Fixing WordPress
In reply to: wp_list_comments children commentslol, again it seems that i’m terrible at explaining myself.
What I want is edit the children container to add certain things like a button to hide/show the reply comments, but since the function doesn’t give you control over the children container, I can’t.
Perhaps I’m asking something that I have to do with a plugin or something and not directly inside the callback.
Forum: Fixing WordPress
In reply to: wp_list_comments children commentsThis is a simplified code example.
wp_list_comments(type=comments$callback=my_theme); function my_theme($comment, $args, $depth){ $GLOBALS['comment'] = $comment; <li class="comment"> <!-- comment avatar, text, etc... --> }
This is working so far, but I want to customize the children comments container too and it seems that it isn’t possible.
Forum: Fixing WordPress
In reply to: wp_list_comments children commentsNope, It seems that I’m terrible at explaining myself ??
I want threaded comments but i don’t want the markup to nest inside the parent comment container.
The thing is that wp_list_comments allow to create a custom theme but since the function adds the closing tags autommatically I don’t really have so much control over the markup.
Forum: Fixing WordPress
In reply to: wp_list_comments children commentsOf course you can style anything using CSS but but wp_list_comments gives you the option to use your own custom theme and that’s what I want.
I’m not talking about styling comments, I’m talking about not nesting children comments inside their parents.
Any ideas?