Humans TXT

Humans TXT

Wordpress plugin

Install on Wordpress

App Details

Credit the people behind your website in your humans.txt file. Easy to edit, directly within WordPress.

  • Use variables like a last-updated date, active plugins and many others…
  • Use the [humanstxt] shortcode to display your humans.txt on your site
  • Add an author link tag to your site’s <head> tag
  • Allow non-admins to edit the humans.txt
  • Customize everything with custom filters, actions and pluggable functions
  • Restore previously saved revisions of your humans.txt

More information on the Humans TXT can be found on the official Humans TXT website.

Variables

  • $wp-title$ – Name (title) of site/blog
  • $wp-tagline$ – Tagline (description) of site/blog
  • $wp-posts$ – Number of published posts
  • $wp-pages$ – Number of published pages
  • $wp-lastupdate$ – Date of last modified post or page
  • $wp-authors$ – Active authors and their contact details
  • $wp-language$ – WordPress language(s)
  • $wp-plugins$ – Activated WordPress plugins
  • $wp-charset$ – Encoding used for pages and feeds
  • $wp-version$ – Installed WordPress version
  • $php-version$ – Running PHP parser version
  • $wp-theme$ – Summary of the active WordPress theme
  • $wp-theme-name$ – Name of the active theme
  • $wp-theme-version$ – Version number of the active theme
  • $wp-theme-author$ – Author name of the active theme
  • $wp-theme-author-link$ – Author link of the active theme

Shortcode Usage

The default shortcode [humanstxt] will display the contents of the virtual humans.txt file. URLs, email addresses and Twitter account names are converted into clickable links. Plain email addresses are encoded for spam protection. The output will be wrapped with a <p> tag and can be styled via the humanstxt CSS class.

You can turn off the “clickable links” functionality: [humanstxt clickable="0"]

You can also toggle the clickable links individually: [humanstxt urls="1" emails="0" twitter="1"]

To display the humans.txt as preformatted text, use the pre attribute: <pre>[humanstxt pre="1"]</pre>

To display the untouched humans.txt, use the plain attribute: [humanstxt plain="1"]

You can omit the wrapping with the <p> tag: [humanstxt wrap="0"]

You can set a CSS id for the wrapping <p> tag: [humanstxt id="my-humans-txt"]

You can turn off the encoding of email addresses and common text entities: [humanstxt filter="0"]

Useful Functions

humanstxt()
Echos the content of the virtual humans.txt file. Use get_humanstxt() to get the contents as a string.

is_humans()
Determines if the current request is for the virtual humans.txt file.

Pluggable Functions

All callback functions of the default variables can be overridden. The callback functions are located in humanstxt/callbacks.php.

Plugin Constants

HUMANSTXT_METABOX
Define as false to disable the “rate this plugin” box on the options page.

Plugin Actions and Filters

Actions

do_humans
Runs when the current request is for the humans.txt file, right after the template_redirect action.

do_humanstxt
Runs right before the humans.txt is printed to the screen.

Filters

humans_txt
Applied to the final content of the virtual humans.txt file.

humans_authortag
Applied to the author link tag.

humanstxt_content
Applied to the humans.txt content. Applied prior to the humans_txt filter.

humanstxt_variables
Applied to the array of content-variables. See humanstxt_variables() for details.

humanstxt_max_revisions
Applied to the maximum number of stored revisions. If set to 0, revisions will be disabled. Default is 50.

humanstxt_shortcode_output
Applied to the final [humanstxt] shortcode output.

humanstxt_shortcode_content
Applied to the un-wrapped shortcode output.

humanstxt_shortcode_headline_replacement
Applied to replacement string for matched standard headlines: /* Title */. See humanstxt_shortcode() for details.

humanstxt_shortcode_twitter_replacement
Applied to replacement string for matched twitter account names. See humanstxt_shortcode() for details.

humanstxt_separator
Applied to the global text separator. Default is a comma followed by a space.

humanstxt_plugins_separator
Use to override the global text separator (see humanstxt_separator filter) for the list of active WordPress plugins.

humanstxt_languages_separator
Use to override the global text separator (see humanstxt_separator filter), for the current WordPress language(s).

humanstxt_postcount
Applied to the number of published posts: $wp-posts$.

humanstxt_pagecount
Applied to the number of published pages: $wp-pages$.

humanstxt_wptheme
Applied to the summary of the active WordPress theme: $wp-theme$.

humanstxt_plugins
Applied to the list of active WordPress plugins: $wp-plugins$.

humanstxt_languages
Applied to current WordPress language(s): $wp-language$.

humanstxt_lastupdate
Applied to returned date of the $wp-lastupdate$ variable.

humanstxt_lastupdate_format
Applied to the used date-format of the $wp-lastupdate$ variable. Default is Y/m/d. Read more about date and time formatting.

humanstxt_authors
Applied to the list of active authors: $wp-authors$.

humanstxt_authors_format
Applied to the format used for the author list $wp-authors$ variable. Please see humanstxt_callback_wpauthors() in humanstxt/callbacks.php for details.

Pricing

Starting from $0 per month.

Check Out the Count-Up Clock Widget

By Common Ninja

Count-Up ClockTry For Free!

App Info

Rating

Reviewers

6 reviews

Tags

human
humans
humans.txt
humanstxt

Developed By

Till Krüss

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms