WordPress.org

Ready to get started?Download WordPress

Forums

Juiz Social Post Sharer
[resolved] How to set the URL shared (7 posts)

  1. seihta
    Member
    Posted 7 months ago #

    Is it possible to define shared URL by mail and twitter?

    Today the URL is not the one i want.

    Thanks

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

  2. Geoffrey
    Member
    Plugin Author

    Posted 6 months ago #

    Hi,

    I don't understand and I can't find by myself what is "the one [you] want".
    With no more info, you can just read the documentation to find some hooks :
    http://creativejuiz.fr/blog/doc/juiz-social-post-sharer-documentation.html

    Thank you and happy new year.

  3. Marzio Dev
    Member
    Posted 5 months ago #

    Hello!
    Maybe I am getting the meaning of seihta question, and (maybe) I have the same issue.
    In a specific WordPress installation I had to "hammer down" the logic of WordPress' "loop". At the same time I had to "bend" juiz_sps logic in order to share a single post from the "index" page, instead of the whole page.
    Problem, now, is that juiz_sps shortcode no longer shares each single post (or excerpt), but only the last one.
    A perfect solution for me (and maybe for seihta as well) would be to have a way to attach a specific URL to the shortcode, not only for the sharing, but also for the social counter. Something like

    [juiz_sps customUrl="the_permalink()"]

    or

    [juiz_sps url?ID="the_ID()"]

    Is that possible? Or maybe it already exists, but I missed something...

    Thank you.

  4. Geoffrey
    Member
    Plugin Author

    Posted 5 months ago #

    Hi,

    Using shortcode, the plugin automatically shares the page URL. Using the plugin's settings to put buttons before or after content in a list is a solution to share each post URL in a list.

    I can add your idea for the next update, but you have to be patient. :)
    Thank you.

  5. Geoffrey
    Member
    Plugin Author

    Posted 2 months ago #

    New version is out!

  6. kohtingting
    Member
    Posted 1 week ago #

    Hi,

    Do you have more detailed steps for this?

    <?php
    if( !function_exists('jsps_custom_permalink')) {
    	function jsps_custom_permalink($url) {
    		return $url.'?fromJsps';
    	}
    }
    add_filter('juiz_sps_the_shared_permalink', 'jsps_custom_permalink');
    ?>

    I put it in my template but how can I put it into the page with share button that I need to share a different URL instead of the current page? Any short code example for this?

  7. Geoffrey
    Member
    Plugin Author

    Posted 1 week ago #

    Hi,
    Post a new topic please, and be more precise.
    Thank you.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.