Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • ozzysong

    (@ozzysong)

    I finally resolved it by passing all my form variables throught wp_insert_post() WordPress function, and is working like a charm.

    Thread Starter ozzysong

    (@ozzysong)

    At last I did it with wp_insert_post() function.

    Thread Starter ozzysong

    (@ozzysong)

    Thanks for the reply, i’ll try that plugin.

    If nothing works, i’ll do a plugin myself.

    ozzysong

    (@ozzysong)

    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.

    Thread Starter ozzysong

    (@ozzysong)

    lol, 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.

    Thread Starter ozzysong

    (@ozzysong)

    This 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.

    Thread Starter ozzysong

    (@ozzysong)

    Nope, 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.

    Thread Starter ozzysong

    (@ozzysong)

    Of 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?

Viewing 8 replies - 1 through 8 (of 8 total)