Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    ckubs,

    My apologies, I meant to reply when I saw this, I just got insanely side-tracked.

    I’m insanely busy, but I’ll do what I can to add a feature to select a permalink or shortlink for the URLs.

    Dev note: wp_get_shortlink

    Plugin Author Ronald Huereca

    (@ronalfy)

    Version 1.1.0 adds an option in settings to enable/disable shortlinks.

    If you have Jetpack installed and have the shortlinks module enabled, it’ll use wp.me shortlinks.

    If you do not have Jetpack installed, it’ll be like what you have in your post.

    If this has helped you, please consider leaving a rating/review.

    Thread Starter ckubs

    (@ckubs)

    @ronald Huerca Thank you. ??

    Also, one question. What Jquery class option does? To select css elements where the plugin can be triggered like .post-content? I want to be able to trigger the plugin onply on paragraphs not as it is right now, when I can select everything from the article body, even photo captions and so on…

    Plugin Author Ronald Huereca

    (@ronalfy)

    There’s not really a way right now, but I can add in a filter where you can modify the overall selectors.

    Is that something you can do if I add that in?

    Thread Starter ckubs

    (@ckubs)

    @ronald Huerca Basically I want to only be able to select the text inside paragraphs and blockquotes. Right now I can select everything that is text text inside an article, including photo captions and it’s kinda annoing.

    Plugin Author Ronald Huereca

    (@ronalfy)

    I understand the dilemma.

    The only way I can think to elegantly solve this is to add a filter into the code that you can then place in your functions.php file.

    Would this be okay if I gave you an example?

    Thread Starter ckubs

    (@ckubs)

    Oh, yes. I’d appreciate that. ??

    Plugin Author Ronald Huereca

    (@ronalfy)

    I just released version 1.1.1 with the filter.

    You can see an example of what you need here (selecting only paragraphs): https://github.com/ronalfy/highlight-and-share#modifying-jquery-selectors

    If you have any more issues or requests, please open up a new thread. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change the url structure?’ is closed to new replies.