Title: Wedepohl Engineering Time Since
Author: Martin Wedepohl
Published: <strong>18 Tháng 5, 2020</strong>
Last modified: 16 Tháng 2, 2022

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/we-time-since.svg)

# Wedepohl Engineering Time Since

 Bởi [Martin Wedepohl](https://profiles.wordpress.org/mwedepohl/)

[Tải về](https://downloads.wordpress.org/plugin/we-time-since.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/we-time-since/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/we-time-since/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/we-time-since/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/we-time-since/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/we-time-since/)

## Mô tả

Shortcode to return the number of years or days since a certain date.

Usage: `[we_time_since y=Y m=M d=D type="T"]`

Where:
 * Y = the year **required** * M = the month (1 – 12) – **optional** Default
= **1** * D = the day (1-31) – **optional** Default = **1** * T = the type (“year”,“
day”) – **optional** Default = **“year”**

Returns:
 The number of years or days since the supplied date or an error message
if the date is invalid / no year supplied

#### Examples

I have worked at Wedepohl Engineering for `[we_time_since y=1998 m=1 d=1]` years

I have been sailing for `[we_time_since y=2008 m=4]` years

I have been on this journey for `[we_time_since y=2020 m=5 d=5 type="day"]` days

#### Actions

    ```
    before_we_time_since - Called upon entry to the shortcode. Passed the array of arguments that are passed to the shortcode.
    after_we_time_since - Called just before exit of the function. Passed the processed array of arguments from the shortcode.
    ```

#### Filters

    ```
    we_time_since Called at exit of the function. Passed a string which is the results of the shortcode.
    ```

#### Active Contributors

  [Martin Wedepohl](https://profiles.wordpress.org/mwedepohl/) (Development)
  
  ## Cài đặt
  
   1. Upload `we-disable-fs` folder to the `/wp-content/plugins/` directory
   2. Navigate to the plugins admin page
   3. Click the **Activate** link
   4. That’s all (no further configuration or settings required)
  or
   1. Navigate to the plugins admin page
   2. Click the **Add New** button
   3. Search for `Wedepohl Engineering Time Since`
   4. Click the **Install Now** button
   5. Click the **Active** button
   6. That’s all (no further configuration or settings required)
  
  #### Removal Instructions
  
   1. Navigate to the plugins admin page
   2. Click the **Deactivate** link
   3. Click the **Delete** link
   4. That’s all (plugin doesn’t use the database so there is nothing to cleanup)
  
  ## Hỏi đáp
  
  
  ### Settings
  
  There are none, just activate and use the shortcode
  
  ### Database
  
  This plugin doesn’t use the database at all
  
  ### Does this work with WordPress blocks
  
  Yes, just enter the shortcode in the text of a paragraph or heading
  
  ### Does this work with ClassicPress
  
  Yes, there is nothing WordPress specific
  
  ### Issues/Bugs/Features
  
   1. Go to [Plugin GitHub Page](https://github.com/martin-wedepohl/we-time-since)
   2. Create an Issue
   3. I will endevor to resolve issues as soon as time permits
  
  ## Đánh giá
  
  Không có đánh giá nào cho plugin này.
  
  ## Người đóng góp & Lập trình viên
  
  “Wedepohl Engineering Time Since” là mã nguồn mở. Những người sau đã đóng góp 
  vào plugin này.
  Những người đóng góp
   *   [ Martin Wedepohl ](https://profiles.wordpress.org/mwedepohl/)
  “Wedepohl Engineering Time Since” đã được dịch qua 2 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/we-time-since/contributors)
  vì đóng góp của họ.
  [Dịch “Wedepohl Engineering Time Since” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/we-time-since)
  
  ### Muốn tham gia phát triển?
  
  [Duyệt code](https://plugins.trac.wordpress.org/browser/we-time-since/), check
  out [SVN repository](https://plugins.svn.wordpress.org/we-time-since/), hoặc theo
  dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/we-time-since/)
  qua [RSS](https://plugins.trac.wordpress.org/log/we-time-since/?limit=100&mode=stop_on_copy&format=rss).
  
  ## Nhật ký thay đổi
  
  
  #### 1.0.5
  
  Feb 15, 2022
   * Tested with WordPress Version 5.9
  
  #### 1.0.4
  
  Aug 1, 2021
   * Tested with WordPress Version 5.8
  
  #### 1.0.3
  
  February 5, 2021
   * Tested with WordPress Version 5.6.1
  
  #### 1.0.2
  
  October 24, 2020
   * Tested with WordPress Version 5.5.1
  
  #### 1.0.1
  
  June 10, 2020
   * Tested with WordPress Version 5.4.2
  
  #### 1.0.0
  
  May 15, 2020
   * Initial release
  
  ## Meta
  
   *  Phiên bản **1.0.5**
   *  Cập nhật lần cuối **4 năm trước**
   *  Số lượt cài đặt **Ít hơn 10**
   *  Phiên bản WordPress ** 4.9 hoặc cao hơn **
   *  Đã kiểm tra lên đến **5.9.13**
   *  Phiên bản PHP ** 5.6 hoặc cao hơn **
   *  Ngôn ngữ
   * [English (US)](https://wordpress.org/plugins/we-time-since/), [Spanish (Chile)](https://cl.wordpress.org/plugins/we-time-since/),
     và [Spanish (Spain)](https://es.wordpress.org/plugins/we-time-since/).
   *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/we-time-since)
   * Thẻ
   * [days](https://vi.wordpress.org/plugins/tags/days/)[span](https://vi.wordpress.org/plugins/tags/span/)
     [time](https://vi.wordpress.org/plugins/tags/time/)[years](https://vi.wordpress.org/plugins/tags/years/)
   *  [Nâng cao](https://vi.wordpress.org/plugins/we-time-since/advanced/)
  
  ## Đánh giá
  
  Chưa có đánh giá nào được gửi.
  [Your review](https://wordpress.org/support/plugin/we-time-since/reviews/#new-post)
  [Xem tất cả đánh giá](https://wordpress.org/support/plugin/we-time-since/reviews/)
  
  ## Những người đóng góp
  
   *   [ Martin Wedepohl ](https://profiles.wordpress.org/mwedepohl/)
  
  ## Hỗ trợ
  
  Có điều gì muốn nói? cần giúp đỡ?
   [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/we-time-since/)
  
  ## Ủng hộ
  
  Bạn có muốn hỗ trợ vào sự phát triển của plugin này?
   [ Ủng hộ plugin này ](https://paypal.me/martinwedepohl)