• Good plugin and nice styling, that’s great.

    For my website I’m not able to use it. I use different custom options, and not all of them are seen the right way.
    Example:
    The link: http://website.com/tips/view/subpost1/
    Outcome: http://website.com/tips/

    So it does show pages, posts and custom post, just not special custom options. (In this situation it shows only the main page) I hope this could be fixed, because this plugin would fit great in the website and has nice options!

    Idea:
    1) count people visited (sub)page/ post
    2) count people shared (sub)page/ post

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Halsey

    (@celloexpressions)

    Could you elaborate on what isn’t working exactly? I don’t think I understand. What custom options aren’t shown, are you talking about the links being shared? Or is this about custom post types with custom fields?

    As for the ideas, I agree, tracking would be nice but unfortunately it is the type of thing that can add a lot of bloat and slow things down, so I won’t be adding it. You can use a third-party solution like Google Analytics to track pageviews and shares, treating the shares as external links (which they are), though.

    Thread Starter maartenjochem

    (@maartenjochem)

    HI,

    Thanks for the quick follow-up.
    Yes, I’m talking about the links being shared. The problem I’m having is that I use also subpages and this plugin won’t see the unique url(the one in the browser), but only the parent page.

    So for normal pages and posts it will work perfectly, but if I set is for this custom type, it will only refer to the parent url if I want to share it.

    So if I want to refer to this link: http://website.com/tips/view/customtype1/
    The outcome is: http://website.com/tips/

    If you know a solution, that would be great, this truly is a nice plugin!

    Plugin Author Nick Halsey

    (@celloexpressions)

    It should definitely be possible to fix that, you’ll just need to use the custom QuickShare output function in your templates. Basically, if the_permalink() (or the content/excerpt, image, description, etc.) isn’t the permalink you want to share in the php, you’ll need to use the custom output rather than the default code (which also looks at the_excerpt and tries to find a featured image, so you’ll probably want to do something about those too).

    From the FAQ:

    For additional customization, you can use <?php do_quickshare_output( $url, $title, $source, $description, $imgurl ); ?>, where $url is the link to the content to share, $title is the title, $source is the name of your website/blog, $description is a short description, and $imgurl is the thumbnail image url. This version of the custom QuickShare output can be used anywhere in your templates, inside or outside of the loop, opening the door to many customization options. If any of the parameters are null, QuickShare will attempt to populate them with the default values (using the $post global). Please remember to wrap this and all other plugin functions with if(function_exists()) to avoid killing your site if/when the plugin is deactivated.

    Let me know if you have any questions about how that works. Basically, as long as you know the post URL (or if it’s on a single view you can find the requested url with PHP), you can just plug that into the function and call it right after the_content() (or anywhere else). Just use null for any of the parameters that you want QuickShare to try to find itself, although in your case it might be best to explicitly set all of them. It’s pretty cool/powerful once you get it set up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nice plugin, link not always visible’ is closed to new replies.