Support » Plugin: Multisite Posts » [Plugin: Multisite Posts] It's Working…But I have a few customizations I'd like to make

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Angela

    (@angelazou)

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Multisite Posts] It's Working…But I have a few customizations I'd like to make’ is closed to new replies.