Title: Affiliate Press
Author: ldebrouwer
Published: <strong>2012년 4월 6일</strong>
Last modified: 2012년 4월 19일

---

플러그인 검색

![](https://ps.w.org/affiliate-press/assets/banner-772x250.jpg?rev=530018)

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

![](https://s.w.org/plugins/geopattern-icon/affiliate-press_5399ca.svg)

# Affiliate Press

 작성자: [ldebrouwer](https://profiles.wordpress.org/ldebrouwer/)

[다운로드](https://downloads.wordpress.org/plugin/affiliate-press.0.3.8.zip)

 * [세부사항](https://ko.wordpress.org/plugins/affiliate-press/#description)
 * [평가](https://ko.wordpress.org/plugins/affiliate-press/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/affiliate-press/#installation)
 * [개발](https://ko.wordpress.org/plugins/affiliate-press/#developers)

 [지원](https://wordpress.org/support/plugin/affiliate-press/)

## 설명

Affiliate Press is a plugin that allows you to create products ( as a custom post
type ) based on product feeds. It also collects other data for these products, such
as prices and affiliate links, which are shown on the product pages in the front
end, effectively allowing you to set up your own affiliate website as easy as 1-
2-3.

Affiliate Press was specifically developed to be compatible with multiple affiliate
programs and networks, aiming to support a broader range of feeds and therefor more
competitive prices for your visitor.

Currently I’m looking for people who are willing to send me examples of their product
feeds so I can improve this plugin further. Please send your XML product feeds as
attachment to [affiliatepress@lucdebrouwer.nl](https://ko.wordpress.org/plugins/affiliate-press/affiliatepress@lucdebrouwer.nl?output_format=md).

Follow Luc De Brouwer on [Facebook](https://www.facebook.com/lucdebrouwernl) & [Twitter](http://twitter.com/ldebrouwer).

## 설치

 1. Upload the `affiliate-press` folder to the `/wp-content/plugins/` directory
 2. Activate the Affiliate Press plugin through the ‘Plugins’ menu in WordPress
 3. Configure the plugin by going to the `Affiliate Press` menu that appears in your
    admin menu

## FAQ

  How do I display the prices and links on a product page?

You can do this by copying the following PHP code in your product template.

    ```
        if( class_exists( 'LDB_Affiliate_Press' ) ) {
            $ap = new LDB_Affiliate_Press;
            echo $ap->AP_getPrices( true );
        }
    ```

To load the products into a page template you can use this code.

    ```
        $posts = get_posts( array( 'post_type' => 'product' ) );
        foreach( $posts as $post ) {
            setup_postdata( $post );
            the_title();
            the_post_thumbnail();
            the_content();
            if( class_exists( 'LDB_Affiliate_Press' ) ) {
                $ap = new LDB_Affiliate_Press;
                echo $ap->AP_getPrices( true );
            }
        }
    ```

If you’d rather retrieve just the data and not the pre-formatted table you can use
the following code.

    ```
        if( class_exists( 'LDB_Affiliate_Press' ) ) {
            $ap = new LDB_Affiliate_Press;
            $data = $ap->AP_getPrices();
        }
    ```

The affiliate data is now stored in the $data variable.

  Why am I not seeing the products on a category page?

By default custom post types are not shown on a category page. To achieve this you’ll
have to add something along the lines of the code below to your themes’ function.
php.

    ```
    add_filter( 'pre_get_posts', 'my_get_posts' );

    function my_get_posts( $query ) {

        if ( is_category() && $query->is_main_query() )
            $query->set( 'post_type', array( 'post', 'product' ) );

        return $query;

    }
    ```

  Why aren’t the images from the feed being attached to the post?

The permissions on you ‘uploads’ folder in ‘wp-content’ are most likely not set 
correctly.

  Where’s the help section?

This plugin is still under development and in beta. Most of the functionality is
still subject to change and I hope to bring some more features to the plugin. Compiling
an extensive help and support section would therefor be somewhat of a hassle at 
the moment. I strongly advise you to post in the [support forums](https://wordpress.org/tags/affiliate-press)
if you have any questions. ( And please check there first if your question wasn’t
answered yet. )

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

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

기여자

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

[자국어로 “Affiliate Press”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/affiliate-press)

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

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/affiliate-press/)는, 
[SVN 저장소](https://plugins.svn.wordpress.org/affiliate-press/)를 확인하시거나,
[개발 기록](https://plugins.trac.wordpress.org/log/affiliate-press/)을 [RSS](https://plugins.trac.wordpress.org/log/affiliate-press/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 0.3.8

 * Added ways to contact me to the sidebar.
 * Expanded the FAQ.

#### 0.3.7

 * Added support for categories and tags to the product post type.
 * Updated the FAQ.

#### 0.3.6

 * Added contextual help to all the pages of the plugin. I’ll try to expand these
   in the near future.
 * Removed a dependency on the $_SERVER[‘HTTP_REFERER’] variable.
 * Confirmed that the wizard works perfectly with TradeDoubler product feeds.

#### 0.3.5

 * Confirmed that the wizard also works with tradetracker.net product feeds.
 * Made some changes to the way how the dashboard statistics are calculated.
 * Added the currency to the price table for the front-end.
 * Fixed some typos.

#### 0.3.4

 * Added a first version of the dashboard.

#### 0.3.3

 * Added the ‘Add New Feed Wizard’. It’s still rudimentary and feedback would be
   highly appreciated. Should work like a charm with Daisycon feeds.

#### 0.3.2

 * Minor CSS change.
 * Alerts/Messages are now dismissible.

#### 0.3.1

 * Added support for cron jobs. They will process all prices every hour for now.
   Later I’ll make this manageable through a settings page.
 * Fixed a small bug where performing a bulk actions redirected you to the wrong
   page.
 * Tweaked the styling on the messages/warnings a little.
 * Made the icons stand out more.
 * The title tags for the ‘hidden pages’ are now also rendered correctly.
 * Switched from POST to GET methods on the feed and item index pages to allow keyboard
   entry of page numbers for the pagination.
 * Added support to return you to the right index page if you’ve been using sortable
   columns.

#### 0.3

 * Rewrite of a substantial part of the code.
 * You’re now able to link a feed item to an existing product.
 * The number of prices linked to a product is now shown on the products index page.

#### 0.2.1

 * Fixed some typos.
 * Added a pointer to help adding a feed.

#### 0.2

 * Second beta release.
 * Added support for automatic image import from the feed when creating drafts.

#### 0.1

 * Initial beta release.

## 기초

 *  버전 **0.3.8**
 *  최근 업데이트: **14년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 3.3 또는 그 이상 **
 *  다음까지 시험됨: **3.4.2**
 *  언어
 * [English (US)](https://wordpress.org/plugins/affiliate-press/)
 * 태그:
 * [affiliate](https://ko.wordpress.org/plugins/tags/affiliate/)[affiliates](https://ko.wordpress.org/plugins/tags/affiliates/)
   [product](https://ko.wordpress.org/plugins/tags/product/)[product feed](https://ko.wordpress.org/plugins/tags/product-feed/)
   [products](https://ko.wordpress.org/plugins/tags/products/)
 *  [고급 보기](https://ko.wordpress.org/plugins/affiliate-press/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/affiliate-press/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/affiliate-press/reviews/)

## 기여자

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

## 지원

지난 2개월 동안 해결된 문제:

     1 중 0

 [지원 포럼 보기](https://wordpress.org/support/plugin/affiliate-press/)

## 기부

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

 [ 이 플러그인에 기부하기 ](http://luc.me/40)