WordPress.org

Ready to get started?Download WordPress

Forums

Hashtag
[resolved] Why this plugin is created (4 posts)

  1. Ankit Gade
    Member
    Posted 9 months ago #

    First congratulations for creating this plugin.

    But I wonder why this plugin is created !
    This plugin does no more functionality than adding link to the hashtag I added #ankit and it shows me link http://localhost/blogging/?s=%23ankit. Then I disabled your plugin and hit the same url and result was same as previous one.

    My suggestion is that, it will be of better use if you can rewrite the url for example. instead of http://localhost/blogging/?s=%23ankit

    http://localhost/blogging/hashtag/ankit

    Thanks for your attention.

    http://wordpress.org/plugins/hashtag/

  2. takien
    Member
    Plugin Author

    Posted 9 months ago #

    Very good suggestion.
    Thank you.

  3. Rensss
    Member
    Posted 7 months ago #

    Apologize for maybe the wrong topic, but I can't find where to start a new about this plugin.

    I tried to use it in the_excerpt() and in the truncate_post() AND in the_content().

    Neither one works (doesn't convert into a ?s='thehashtag').
    Can you help me? Thanks.

    http://www.site.energizedesigns.nl

  4. Rensss
    Member
    Posted 7 months ago #

    [edit]

    Nevermind.. I fixed it with tags.

    Solution:
    <div class="divclass">
    <?php $posttags = get_the_tags();
    if ($posttags) {
    foreach($posttags as $tag) {
    echo '<a href="';echo bloginfo(url);
    echo '/?s=' . $tag->slug . '">' . $tag->name . '';
    }
    }
    ?>
    </div>

    Only thing to do is .divclass a:before { content="#" }

    Then you can add tags as hashtags :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.