• Resolved itnmario

    (@itnmario)


    Hi, thank you for your plugin!

    I need to use a different hashtag for each post (based on a shortcode attribute).

    Your plugin does not support to set a different hashtag in the shortcode but it would be quite easy to implement.

    Just two lines of code in enjoyinstagram_shortcode.php.

    add this code at line 11:
    'hashtag' => get_option('enjoyinstagram_hashtag'),

    edit line 50 as follow:
    $result = get_hash(urlencode( $hashtag ),20);

    This way

    [enjoyinstagram_mb] works as usual
    [enjoyinstagram_mb hashtag=”myhashtag”] will show #myhashtag feed for just this shortcode

    I tested in my installation and it works with no problems…

    It would be nice to have this feature.

    Ciao

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

    (@mediabeta)

    Thank you Mario to share it!
    This configuration is just available on the premium version and we will evaluate to add in free one in the future.

    Cheers

    Thread Starter itnmario

    (@itnmario)

    Hi, would you please confirm that this feature is available in your premium plugin working in the same way?

    Please write an example code or provide a link to your documentation. I would like to see if it fits my requirements. In this case I would be happy to buy your premium version.

    Ciao

    @itnmario – If you have questions regarding the functionality of the commercial version of this plugin we recommend you go to their official support channel so you can get support from the people who know it best.

    https://www.mediabetaprojects.com/enjoy-instagram-premium/help-and-support-enjoy/

    The vendors are the best resource for support of commercial products. Also, as the author is aware, commercial products are not supported in these forums.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different hashtags for different posts set by shortcode’ is closed to new replies.