• Resolved doorcollider

    (@doorcollider)


    Hello i added the shortcode to appear for each post of my blog, but for some reason it does not take the correct url of each post. Facebook shares the same post, it does not matter if i press share from another post.

    <div class="post_text">
    	<div class="post_text_inner">
    	<div class="minimalist_date"><?php the_time(get_option('date_format')); ?></div>
    	<h2><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    	<div class="separator small center"></div>
    	<?php qode_excerpt(); ?>
    	<div class="post_more">
    	<a href="<?php the_permalink(); ?>" class="qbutton small"><?php _e('Read More','qode'); ?></a>
    	</div>
    	<div class="butoane_fb">
    	<?php echo do_shortcode('[ssba]'); ?>
    	</div>
    	</div>
    	</div>

    I also attached the link so you can see:

    link to post list

The topic ‘Share buttons for each post inside php not working propper’ is closed to new replies.