Use Hashtags – convert #hashtags to search links

Lýsing

With the Use Hashtags plugin, you can easily use hashtags in your content (and your excerpt). Just type # plus a word, and the plugin will automatically convert it to a link.

The link send the user to the website search page, showing additional content that also uses that hashtag.

This can enhance the user experience, as it creates a new navigation layer inside your content.

  • There is no need to maintain the hashtags, just add them to your text, and it’s done.
  • This plugin is non-destructive, so it does not make any changes to how your content is saved. Only when the content is presented, the link will appear for the visitors.
  • This plugin does not generate external links.

Tested with popular themes:

Skjámyndir

  • Example of how a hashtag appears in the content. For this example we are using the Twenty Twenty theme.
  • Example of how a hashtag appears in the content. For this example we are using the GeneratePress theme.
  • Example of how a hashtag appears in the content. For this example we are using the Neve theme.
  • Example of how a hashtag appears in the content. For this example we are using the Hello Elementor theme.
  • Simple settings.

Uppsetning

  1. Install the plugin (uploading the zip or installing from the Plugins > Add New);
  2. Activate the plugin and that’s it, it’s already running;
  3. If you want to customize something, look for „Use Hashtags“ in the Tools menu;
  4. Follow the instructions and click the button to save.

SOS

Do I need to add each hashtag as a tag?

No. The idea here is that a #hashtag added as part of the text will be replaced with a link like <a href="/?s=#hashtag">#hashtag</a>.

I am not seeing the links in the editor. What is wrong?

This is the correct behavior. Links appear only at the time of rendering the content or excerpt.

What is a non-destructive plugin?

We do not change the way your content is saved, only how it is rendered for visitors. If you uninstall the plugin, the #hashtags will remain a simple text.

Which characters are considered on a hashtag?

For now, A-Z, a-z, 0-9 and _.

Can I style the links?

Yes, every hashtag link has a CSS class hashtag-link. You can add the class in your theme’s css.

Example: a.hashtag-link { text weight: bold; }

Umsagnir

There are no reviews for this plugin.

Þátttakendur & höfundar

“Use Hashtags – convert #hashtags to search links” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.

Höfundar

“Use Hashtags – convert #hashtags to search links” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Use Hashtags – convert #hashtags to search links” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Breytingarsaga

1.0.4 (2021-07-25)

  • Updated to WordPress 5.8.

1.0.3 (2020-08-21)

  • Fixing a bug when a link has an anchor.

1.0.2 (2020-08-21)

  • Fixing the search url to get a better behaviour.

1.0.1 (2020-08-21)

  • Fixing the url when the wordpress is installed in a path.

1.0 (2020-08-21)

  • The first release of the plugin, with the main features.