Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Publicize With Hashtags

Beskrivning

IMPORTANT: This plugin requires Jetpack’s Publicize module: read below for additional info.

As the name says, this plugin will automatically append hashtags to any content sent by Jetpack’s Publicize module. This means that the plugin will work only if the Jetpack plugin is already installed on your WordPress platform with the Publicize module set to active. Don’t worry, tho: if any of these requirements are missing this plugin won’t do anything, without breaking your blog or compromising its performance in any way.

Plugin Features

  • Hashtags will be created using the post tags, (optionally) trimming the space chars, until the maximum character length is reached (if any).
  • You’ll still be able to manually add custom hashtags, pre-pending or appending them to the auto-generated ones just like you always did.
  • You can reorder the hashtags as you like, regardless of how they were added.
  • Dupe check included, ensuring that the same hashtag won’t be included multiple times – unless you manually do that.
  • Automatically added hashtags won’t break the 118-character limits of the social message text to keep the message length under the standard tweet + link limit.
  • The above character-length threshold can be changed and/or set to infinite with ease.

Useful Links

Authors

Skärmdumpar

  • The plugin will automatically trasform your post tags to hashtags and append them to the Publicize Widget’s Custom Message box. Any existing, manually inserted hashtag will be kept and/or won’t be added a second time if also included as a tag.

Installation

Go to the Plugins > Add New… panel in the WP Admin interface, search for ”publicize with hashtags” and click Install.

If you prefer to install the plugin manually, you can do the following:

  1. Go to the plugin page on the WordPress Plugin Browser and click the Download button to get the latest version to your HDD.
  2. Upload the publicize-with-hashtags.zip file using the WordPress upload plugin feature OR unpack its contents inside the /wp-content/plugins/ folder.
  3. Activate the plugin through the ’Plugins’ menu in WordPress.
  4. Take a look at the plugin’s source code and change its default settings if needed.

Vanliga frågor

What if I manually insert one or more hashtags?

They will be kept as they are: the plugin won’t strip out anything, it will simply add the ”missing” hashtags to the Custom Message box.

What if I already inserted an hashtags identical to an existing post tag?

It won’t be added again, as long as it’s case-insensitive equal to the first one. The plugin will never insert a dupe hashtag on its own.

Recensioner

3 september 2016
SUPER GREAT JOB BRO THANK YOU FOR IT! 😉 http://www.facebookgifs.xyz/
3 september 2016
great plugin and works out of the box! but please explain how to modify $mess_max_length and $strip_spaces without modifying your plugin file?! we need some filters here. and please add a do_action hook for adding some custom hashtags by default. i.e. i have a post_type called ”cars” and with each post, i want to add ”#car” without tagging it each time by hand. something like this would be nice: line 92 of publicize-with-hashtags.php add: do_action("hashtags_append"); then in my functions.php i can write: function hashtags_append_static(){ global $mess, $post; if(get_post_type() == "cars") return $mess .= ' #cars'; return; } add_action("hashtags_append","hashtags_append_static");
Läs alla 6 betyg

Bidragsgivare och utvecklare

”Publicize With Hashtags” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Publicize With Hashtags” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.1.4

  • Fixed a bug for some auto-saved posts missing their title in their social text

0.1.3

  • Added WordPress 4.3 compatibility notice

0.1.2

  • Fixed a bug in hashtags generation

0.1.1

  • Added an explicative screenshot
  • Added some Frequently Asked Questions
  • Small changes to readme.txt

0.1

  • First release.