WordPress.org

Ready to get started?Download WordPress

Forums

Related Items
results location (2 posts)

  1. cqburris
    Member
    Posted 1 year 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 1 year 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

About this Topic

Tags

No tags yet.