• Resolved suitsjen

    (@suitsjen)


    I am trying to remove all reference to voting. I want people to ask questions, but only the admin can answer (replies to answer is okay). I have removed the voting option with css code that you shared on a different thread, but it still displays the number zero to the left and an underlined checkmark that looks like it remains from the voting code.

    I would also like to change the 1 Answer (answer count) to just “Answer” since there will only be one answer to each question. Displayed here:
    <img src="https://www.theartbeacon.com/wp-content/uploads/screenshotdwqa.png">

    Here is the code I’m using:

    /*
    You can add your own CSS here.

    Click the help icon above to learn more.
    */
    .dwqa-container
    .dwqa-single-question
    .dwqa-vote { display: none; }
    .dwqa-container
    .dwqa-single-question
    .dwqa-favourite,
    .dwqa-container
    .dwqa-single-question
    .dwqa-stick-question { display: none; }
    .dwqa-container
    .dwqa-single-question
    .dwqa-author .author,
    .dwqa-container
    .dwqa-single-question
    .dwqa-date { display: none; }

    .dwqa-single-question
    .dwqa-author .author,
    .dwqa-container
    .dwqa-single-question
    .dwqa-author .avatar { display: none; }
    .dwqa-container
    .dwqa-single-question
    .dwqa-footer
    .dwqa-current-status { display: none; }
    .dwqa-container
    .dwqa-list-question .filter .status { display: none; }
    .dwqa-container
    .dwqa-list-question .filter-bar .order { display: none; }
    .dwqa-container
    .dwqa-list-question
    .dwqa-footer-meta { display: none; }
    .dwqa-container
    .dwqa-list-question .filter { padding: 29px 22px; }
    .dwqa-list-question .dwqa-vote { display:none; }
    .dwqa-vote-best-answer { display:none;}
    .dwqa-questions-list .dwqa-question-item .dwqa-question-stats span.dwqa-votes-count {
    display: none !important;
    }

    • This topic was modified 7 years, 2 months ago by suitsjen.
    • This topic was modified 7 years, 2 months ago by suitsjen.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DesignWall

    (@designwall)

    Hi,
    To remove the vote section on the question and answer, you can use the following code:

    
    .dwqa-answer-vote, .dwqa-question-vote {
        display: none;
    }

    Also, if you want to remove the number of answers, you need open the answers.php file in the Templates folder and find the line 12.
    Replace the following code:
    <div class="dwqa-answers-title"><?php printf( __( '%s Answers', 'dwqa' ), dwqa_question_answers_count( get_the_ID() ) ) ?></div>

    With the new code:
    <div class="dwqa-answers-title"><?php printf( __( 'Answers', 'dwqa' ), dwqa_question_answers_count( get_the_ID() ) ) ?></div>

    Regards,
    DesignWall Team.

    Thread Starter suitsjen

    (@suitsjen)

    It worked perfectly! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove all reference to voting’ is closed to new replies.