Hi i am using bootstrap accordion to display data and i am using facebook share button to share my post in social media but not able to show the share button.Here is my code.
<?php if(isset($records2) && is_array($records2)):?>
<?php foreach ($records2 as $r):?>
<div class="digitalmarketingassociate">
<span class="digit"><?php echo $r->job_name ;?></span>
<div class="applynow">Apply Now</div>
<div class="moreinfo accordion" >More Info</div>
<div class="panel">
<h3 class="job">Job Description</h3>
<p class="jobdes"><?php echo $r->job_description ;?></p>
<h3 class="job">Desired Skills & Experience</h3>
<p class=""desiredskills"><?php echo $r->skills_experience ;?></p>
<h3 class="job">Educational Qualification</h3>
<p class="educationalqua"><?php echo $r->qualification ;?></p>
<h3 class="job">Roles and Responsibilities</h3>
<ul class="rolesand">
<li class="rolesandres"><?php echo $r->roles_responsibilities;?></li>
</ul>
<h3 class="job">What we offer</h3>
<p class="whatweoffer"><?php echo $r->what_we_offer ;?></p>
<h3 class="job">How to apply</h3>
<p class="howtoapp">Email us your resume along with your Linkedin profile on <a href="mailto:hrmanager@xxxxx.com" class="hrmanager">hrmanager@xxxxxx.com</a> Alternatively, you can also apply via <img src="<?php echo base_url();?>theme/images/testimonial/linkedin.png" alt="linkedin" /></p>
<h3 class="job">Share this job</h3>
<div class="fb-share-button" data-href="<?php echo base_url()?>career/careers/<?php echo $r ->jobs_id ;?>"data-layout="button_count"></div>
<a href="https://twitter.com/share" class="twitter-share-button" data-show-count="false">Tweet</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
<span class="linkedincount"><script type="IN/Share" data-url="<?php echo base_url()?>career/careers/<?php echo $r ->jobs_id ;?>" data-counter="right"></script></span>
<div class="g-plus" data-action="share" data-height="24" data-href="<?php echo base_url()?>career/careers/<?php echo $r ->jobs_id ;?>"></div>
</div>
</div>
<?php endforeach ;endif;?>
Here i have used so it is not able to show the facebook share button in accordion function.
Clicking on More Info button it will show more information regarding the post which we have posted.But here it is not displaying the facebook share button or linkedin share button etcc.. If i remove the then it will display the social media share buttons.It will display total information of the post if we are not using then but it should not show in that format.It should show only job name once we click on more info then only it should display the information of the post including sharing options.