Title: By this Author
Author: racanu
Published: <strong>January 22, 2015</strong>
Last modified: December 8, 2018

---

Search plugins

![](https://ps.w.org/by-this-author/assets/banner-772x250.jpg?rev=1073578)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/by-this-author_a38f89.svg)

# By this Author

 By [racanu](https://profiles.wordpress.org/racanu/)

[Download](https://downloads.wordpress.org/plugin/by-this-author.1.2.0.zip)

 * [Details](https://wordpress.org/plugins/by-this-author/#description)
 * [Reviews](https://wordpress.org/plugins/by-this-author/#reviews)
 *  [Installation](https://wordpress.org/plugins/by-this-author/#installation)
 * [Development](https://wordpress.org/plugins/by-this-author/#developers)

 [Support](https://wordpress.org/support/plugin/by-this-author/)

## Description

Sometimes in a website the articles are not authored by the respective registered
users but still need to be attributed to them somehow.

This plugin addresses this specific situation and offers a way to deal with it.

The idea is that articles are tagged with the names of people to which they should
be attributed.
 Thus, when making an author’s bio page a shortcode can be inserted
that will show a list of articles authored by or attributed to a registered user.
If the user later registers using the same name and starts publishing his/her own
posts, they will auto-magically be inserted in his bio page.

The shortcode is:

    ```
    [by-this-author name="name of the author" post_types="authored_by, attributed_to" posts_per_page=#]
    ```

_post\_types_ is optional and may contain one of or both keywords
 _posts\_per\_page_
is optional and specifies how many posts to display

There is no support for pagination so the only way of limiting very long pages is
to use the _posts\_per\_page_ parameter.

The plugin solves a very specific problem of a very specific website. It may be 
useful to someone else too.

A single translation file is provided for it_IT.

There are two other, unrelated, shortcodes included.

Age calculation

    ```
    [get-age ref_date="reference date" end_date="end date"]
    ```

Calculates the age (in years) since a reference date. The age is calculated until
the current moment, unless _end\_date_ is specified.
 This is meant to show ages
of people (possibly at the time of their death) but may also be used for other events
that have a start and maybe an end date.

_ref\_date_ is the date (typically in the past) to which the age refers
 _end\_date_
is optional and represents the date up to which the age is calculated (typically
in the past too but may also be in the future)

Time machine

    ```
    [time-machine ref_time="reference moment" future_text="text to show before ref_time" past_text="text to show after ref_time"]
    ```

Allows altering the text of the post based on the current moment relative to a reference
moment.

Suppose a post is published before an event, is should refer to that event in terms
of the future.
 However, after the time of the event (the reference time) has passed,
the same post should refer to the event in terms of the past. This simple change
avoids the post looking stale until you manually edit it to maybe add post-event
information.

_ref\_time_ is the date and time of the event; up until midnight after the event
it will show the future_text, then the past_text
 _future\_text_ is the text to 
show while the event is still in the future _past\_text_ is the text to show when
the event is in the past

## Installation

 1. Download the zip file, and use WordPress’ plugin installation page in the dashboard
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place the shortcode(s) you need in your post

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“By this Author” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ racanu ](https://profiles.wordpress.org/racanu/)

[Translate “By this Author” into your language.](https://translate.wordpress.org/projects/wp-plugins/by-this-author)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/by-this-author/), check
out the [SVN repository](https://plugins.svn.wordpress.org/by-this-author/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/by-this-author/)
by [RSS](https://plugins.trac.wordpress.org/log/by-this-author/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * First release.

#### 1.1.1

 * Updated “tested to” version to 4.5.3

## Meta

 *  Version **1.1.0**
 *  Last updated **8 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.1 or higher **
 *  Tested up to **5.0.25**
 * Tags
 * [generate](https://wordpress.org/plugins/tags/generate/)[list](https://wordpress.org/plugins/tags/list/)
   [overview](https://wordpress.org/plugins/tags/overview/)
 *  [Advanced View](https://wordpress.org/plugins/by-this-author/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/by-this-author/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/by-this-author/reviews/)

## Contributors

 *   [ racanu ](https://profiles.wordpress.org/racanu/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/by-this-author/)