ZpFocus13- Comments handling

In ZpFocus13 theme, would it be possible to add an argument to toggleComments() in order to tell the function to start expanded or not expanded ? Is it simple ? Can I do it (then it has to be very simple...) ?

Gaston

Comments

  • fretzl Administrator, Developer
    You could try this:
    In the ZpFocus theme folder find `header.php`.
    There is this function:
    `

    $(document).ready(function() {
    $('#comment-toggle').click(function() {
    $('#comments-block').slideToggle(600);
    });
    });

    `
    .

    Change that to:
    `

    $(document).ready(function() {
    $('#comments-block').show();
    $('#comment-toggle').click(function() {
    $('#comments-block').slideToggle(600);
    });
    });

    `
    .
    to start with comments visible.
  • I was on something else for a few days, and just saw your answer.
    I tried it immediately and ... it works perfectly.

    Thanks you very much fretzl

    Gaston
Sign In or Register to comment.