Assign Staff as Author for Total

外掛說明

Adds a new field to the post edit screen for all public post types so you can select a “Staff Member” (a post from the staff custom post type) as the “author” of the article to be displayed on the front-end. This will not actually change the author of the post itself but simply change the name displayed on the front-end in the author bio and post meta sections.

Note: This plugin is intended to be used with the Total Theme for WordPress and the Total Theme Core plugin which registers the Staff post type. If you are using it with a different theme that has a built-in staff post type or a different theme using a custom post types plugin to register the staff members, it may or may not work depending how the theme is coded. This plugin hooks into the author_link, the_author and get_the_author_description to make it’s changes.

螢幕擷圖

安裝方式

  1. Upload ‘assign-staff-as-author-for-total’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can now assign any post to a Staff Member so that they will appear as the author on the front-end

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Assign Staff as Author for Total〉的開發相關工作。

參與者

變更記錄

1.1

  • Updated plugin to hook into pre_get_avatar which attempts to display the staff member featured image instead of the author avatar so it can display the correct avatar in theme card styles.
  • Fixed display issues in Gutenberg editor.
  • Updated the save mechanism.

1.0

  • First official release