WordPress.org

Forums

Multisite Posts
It's Working…But I have a few customizations I'd like to make (2 posts)

  1. Jason
    Member
    Posted 2 years ago #

    I got this working in the theme template file by using this code:

    <?php echo do_shortcode('[multisite_posts no="3" sit_id="1"]'); ?>

    I have 2 questions:
    1) Is it possible to have it show the post excerpt? Could I add a <?php echo $item['description']; ?> perhaps somewhere in the plugin file?

    2) I want to be able to add some code to the actual href link. I see on line 139 you have this:
    $output .= '<li><a href="' . get_permalink($post->ID). '" title="' . $post->post_title . '">' . $post->post_title . '</a></li>';

    But I want to add this to the href: onclick="return hs.htmlExpand(this, { objectType: 'iframe' } )" which will open up the link in a modal popup window using highslide js. But whenever I try to add the onclick= to the <a> I get errors. Any ideas?

    http://wordpress.org/extend/plugins/multisite-posts/

  2. Angela
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jason,
    1- Available in version 2.0, which is now available for update.
    2- I am not sure about that, perhaps try the plugin author for that?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multisite Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.