WordPress.org

Forums

Juiz Social Post Sharer
Share in New Window (7 posts)

  1. Dan14
    Member
    Posted 11 months ago #

    I think this is a great plugin. I do wonder if it is possible to force the plugin when someone clicks on 'share,' rather than a new tab a new small window will be opened. Is there a way I can do this manually?

    https://wordpress.org/plugins/juiz-social-post-sharer/

  2. Geoffrey
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Dan,

    You can to it manually with a colorbox or lightbox plugin if you know JS a little bit.
    Otherwise it's not possible with a plugin's option for the moment.

    Thank you.

  3. Dan14
    Member
    Posted 9 months ago #

    My JS knowledge is limited. Can you please provide me with a link so I can read more on this subject?

  4. Geoffrey
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Dan,
    This solution is lightweight and responsive :
    Doc : http://www.jacklmoore.com/colorbox/
    Plugin : http://wordpress.org/plugins/jquery-colorbox/

    Good luck :)
    G.

  5. Geoffrey
    Member
    Plugin Author

    Posted 9 months ago #

    You wil have to do something like that at the end of the installation :
    $('.juiz_sps_item').find('a').colorbox();

    Nice day.

  6. Patrixer
    Member
    Posted 9 months ago #

    Hello, I have same problem, and I installed that plugin, but your code doesn't work for me.

    jquery colorbox is installed and in header I added:

    <script type="text/javascript">
    			jQuery(document).ready(function($){
    				$("li.juiz_sps_item a").addClass("iframe cboxElement");
    				$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
    			});
    		</script>

    but still doesn't work, any ideas ?

  7. Patrixer
    Member
    Posted 9 months ago #

    Hmm.. I tried couple times and:

    1. I need to put script in footer not header.
    2. The code is:

    <script type="text/javascript">
    			jQuery(document).ready(function($){
    				$('.juiz_sps_item a').colorbox({iframe:true, innerWidth:500, innerHeight:500});
    			});
    		</script>

    but it opens pop-up window only with title: "Share this article on Facebook" and over that title there is empty space (no html code).

    I hope there is a solution for that case.

Reply

You must log in to post.

About this Plugin

  • Juiz Social Post Sharer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic