Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- jQuery(document).on('ready', function() {
- jQuery('.arrow').on('click', function(){
- jQuery(this).closest('.profile-right').toggleClass('active');
- });
- });
- </script>
- <section >
- <div class="profile-wrapper">
- <div class="profile-left">
- <img src="<?php echo $image; ?>">
- </div>
- <div class="profile-right">
- <h2><?php echo $name; ?></h2>
- <h3><?php echo $title; ?></h3>
- <p><?php echo nl2br($textarea);?></p>
- <div class="bottom-sec">
- <p><?php echo nl2br($textarea_bot);?></p>
- </div>
- <img class="arrow" src="<?php echo get_stylesheet_directory_uri(); ?>/images/icons/down-arrow-circle-30.png"/>
- </div>
- </div>
- </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement