콘텐츠로 바로가기
WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
    • 문서
    • 포럼
  • About
    • WordPress 6.9
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 한국팀
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

WP Custom Author Image

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

WP Custom Author Image

작성자: p4wparamjeet
다운로드
  • 세부사항
  • 평가
  • 설치
  • 개발
지원

설명

The WP Custom Author Image plugin for WordPress lets you easily add WP Custom Author Images on your site.

It creates a widget that you can insert in a sidebar or any other widget area allowed by your theme.
The plugin now supports a short code [wp-custom-author-image] you can use to directly add the image to the page or post content.

Alternatively, you can place the following call in the loop where you want the WP Custom Author Image to appear:

<?php the_wp_custom_author_image($author_id = null); ?>

This $author_id parameter is optional.  If it is not passed in, the code will attempt to get the current author of the page/post.

A second version of this function exists whereby you can pass in width and height to display the image.

<?php the_wp_custom_author_image_size($width, $height, $author_id = null); ?>

This $author_id parameter is optional.  If it is not passed in, the code will attempt to get the current author of the page/post.

To configure your WP Custom Author Image, browse Users / Your Profile in the admin area.

Setting WP Custom Author Image Size

You can adjust the actual display size in the WP Custom Author Image widget or by using the_wp_custom_author_image_size function call.

If you do not specify a size the width and height of the actual image will be used.

Shortcode

  1. You can use [wp-custom-author-image] to display the uploaded WP Custom Author Image in your page/post content.

Multi-Author Sites

For sites with multitudes of authors, the widget offers the ability to insert a link to the author’s posts — his archives.

Single Author Sites

Normally the widget will only display an WP Custom Author Image when it can clearly identify who the content’s author actually is. In other words, on singular pages or in the loop.

If you run a single author site, or a site with multiple ghost writers, be sure to check the “This site has a single author” option. The widget will then output your image at all times.

Alternate About Page Link

Normally the widget will use the author’s posts page (/author/authorname/) is the image is clicked on. If your site has a dedicated page for the author, such as an ‘About Me’ page,

there is a new field in ‘Your Profile’ called ‘About Me Page’. Entering a url in this field (/about-me/) will cause the widget to use this link as opposed to /author/authorname.

Retrieving Author Url

You can retrieve the url to the respective WP Custom Author Image by calling the function

<?php the_wp_custom_author_image_url($author_id = null); ?>

If $author_id is blank the plugin will attempt to determine the current author and retrieve his/her image.

스크린샷

  • After activate this plugin go to plugin settings by click on “Users”. You can also find the plugin settings by ‘Users > Your Profile’ menu in your WordPress backend like as above screen.
  • You can use [wp-custom-author-image] to display the uploaded WP Custom Author Image in your page/post content.

설치

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make the wp-content folder writable by your server (chmod 777)

FAQ

Image Style

You can use the .entry_wp_custom_author_image CSS class to customize where and how the image appears.

For instance:

.entry_wp_custom_author_image {
  float: left;
  border: solid 1px outset;
  margin: 1.2em 1.2em 0px .1em;
}
Overriding CSS Floats

When displaying wide videos, images or tabular data, it becomes desirable to bump the content below the author’s image. To achieve this, insert the following code in your post:

<div style="clear:both;"></div>
Set Uploaded Image Max Width and Height

Two constants can be set in your wp-config.php file to set the max size of the uploaded image. These values are in pixels.

define('wp_custom_wp_custom_author_image_WIDTH', 100);
define('wp_custom_wp_custom_author_image_HEIGHT', 120);

The default values for these settings are 250 x 250.

Can I Make changes to the Author’s Bio Before it is Displayed

There is a filter called wp_custom_author_image_bio that can be used to modify the bio text.

Nothing is Displaying

More than likely you have place the the_wp_custom_author_image function call outside of your template’s posts loop so the author cannot be determined. Trying passing in an author id directly.

후기

No Other Choice!

pawan99saini 2019년 8월 26일
This better be kept up to date.

Works Great for Author Image

ankurnama007 2019년 4월 18일
worth it and satisfy me
모든 2 평가 읽기

기여자 & 개발자

“WP Custom Author Image”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • p4wparamjeet

자국어로 “WP Custom Author Image”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

기초

  • 버전 1.0
  • 최근 업데이트: 7년 전
  • 활성화된 설치 100+
  • 워드프레스 버전 3.1 또는 그 이상
  • 다음까지 시험됨: 5.2.24
  • 언어
    English (US)
  • 태그:
    authoruser photo
  • 고급 보기

평점

별 5점 만점에 5점.
  • 2/5-별점 후기 별 5개 2
  • 0/4-별점 후기 별 4개 0
  • 0/3-별점 후기 별 3개 0
  • 0/2-별점 후기 별 2개 0
  • 0/1-별점 후기 별 1개 0

Your review

모든 리뷰 보기

기여자

  • p4wparamjeet

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

기부

이 플러그인이 발전하도록 도우시겠습니까?

이 플러그인에 기부하기

  • 소개
  • 뉴스
  • 호스팅
  • 개인정보
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 배우기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • 미래를 위한 5가지
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

한국어

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다
The WordPress® trademark is the intellectual property of the WordPress Foundation.