Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    If your confident in editing the template for your blog you could use the shortcodes inside the loop of your template.

    Something like this should work. This is the template for our addons page

    <?php while ( have_posts() ) : the_post(); global $post; ?>
    	<div class="item">
    		<?php the_title(); ?>
    		<a class="button buy eModal-<?php esc_attr_e($post->post_name);?>" href="<?php the_permalink();?>"><?php _e('Read More');?></a>
    	</div>
    	<?php echo do_shortcode("[modal id='". $post->post_name ."' size='tiny' location='center center' overlay_disabled=true title='". get_the_title() ."']". get_the_content() . "[/modal]");?>
    <?php endwhile; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Easy Modal and Read More Button’ is closed to new replies.