web analytics
Docy

Docy

Did You Know?

Docy turns out that context is a key part of learning.

Q:

About bbPress Plugin & Features
Resolved

Up
2
Down

Are you looking for a timeless, elegant, and streamlined discussion board? bbPress is easy to integrate, easy to use and is built to scale with your growing community.

bbPress is intentionally simple yet infinitely powerful forum software, built by contributors to WordPress.

bbPress is forum software from the creators of WordPress. Quickly set up a place for asynchronous discussion, subscriptions, and more! Download bbPress

Docly Theme Support
All Replies
Best Answer
Best Answer

Use the <pre> tag for multiple lines of code. Once again, escape any angle brackets in the code for proper rendering. You may optionally add.

JavaScript Code

function general() {
$('.collapse-btn').on('click', function (e) {
e.preventDefault();
$(this).toggleClass('active')
$(".collapse-wrap").slideToggle(500);
});

$('.short-by a').click(function () {
$(this).toggleClass('active-short').siblings().removeClass('active-short');
});
}

This is a reply 

Eros a nullam fermentum voluptatibus, consequuntur interdum ratione quae habitasse deleniti optio sagittis ab, hymenaeos voluptatibus integer fames faucibus

Viewing 2 replies - 5 through 6 (of 6 total)

1 2
  • You must be logged in to reply to this topic.
Purchase Docy
Demos
Docy creative demo Docy classic demo Docy cool demo Docy - LMS
Unlimited Color Possibilities
Box Shadow
Real Life Examples

Click here to see what some of our customers created with Docy!