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

    (@takien)

    Very good suggestion.
    Thank you.

    Rensss

    (@rensss)

    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.

    https://www.site.energizedesigns.nl

    Rensss

    (@rensss)

    [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 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why this plugin is created’ is closed to new replies.