I currently have this plugin loading after my posts and it is working fine. However, I would like to be able to change the order in which the plugin is shown.
Because right now it is loading as:
- post-content
- social sharing toolkit
- related posts
- ccta-below the post
- comments
- sidebar
I am trying to get the order to be:
- post-content
- social sharing toolkit
- ccta-below the post
- related posts
- comments
- sidebar
Here is a link to post where I am talking about: http://junto.franklinstreetwebserver.com/aco-resources/marketing-acos-and-medical-homes.
Here is how my single.php file is currently setup:
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
<div class="post-details"><small><b>Posted:</b> <?php the_time('F jS, Y') ?> | <b>Author:</b> <?php the_author_posts_link(); ?> </small></div>
<div class="post-content"><?php the_content('Read the rest of this entry »'); ?>
<div class="ccta-widget">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('Contextual Call To Action') ) : ?>
<?php endif; ?>
</div>
</div>
<hr/>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<div class="navigation">
<div class="old-posts"><?php next_posts_link('Older Entries »') ?></div>
<div class="new-posts"><?php previous_posts_link('« Newer Entries') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
I have currently tried loading the Contextual Call To Action widget in numerous locations in this template. But, I can only seem to get it to go before the Social Sharing Toolkit and Related Posts or after it. I can not seem to get the order to be Social Sharing Toolkit, Contextual Call to Action, and then Related Posts.
Does anyone know of a way that I can order these plugins accordingly or know of a different way I need to set my template up?
Thanks in advance,
Carter
http://wordpress.org/extend/plugins/related-posts-by-zemanta/