WordPress.org

Forums

Related Items
results location (2 posts)

  1. Cullie Burris
    Member
    Posted 2 years ago #

    Hi,

    First off, I would like to thank you for providing this plugin - does exactly what I need it to do functionality wise..

    On the other hand, I was wondering if you could give some insight on how to display the relationships in a place other than under the entry content. I want to put the relationships in a div outside of the entry-content as to style it appropriately. For instance...

    <div class="entry-content">
    <p>all my content</p>
    <p>where the related items normally gets displayed</p>
    </div> <!-- end entry-content -->
    
    <div class="related-items">
    <p>where i want the related items to be displayed</p>
    </div> <!-- end related-items -->

    Any advice?

    Cullie

    http://wordpress.org/extend/plugins/related-items/

  2. richardwardza
    Member
    Posted 2 years ago #

    Use the do_shortcode function in your theme:

    <div class="related-items">
    <p><?php echo do_shortcode('[related-items]'); ?></p>
    </div> <!-- end related-items -->

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Related Items
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.