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

Easy Digital Downloads Featured Downloads

설명

This plugin requires Easy Digital Downloads. It’s aimed at developers/clients who need to show a list of featured downloads.

  1. Provides a template tag so finely-tuned placement of featured downloads in your theme is possible.
  2. Provides a shortcode which will simply list all the featured downloads, without the need to enter any IDs.
  3. Provides a simple interface for managing featured downloads in the WordPress admin. A “feature download” checkbox will be added to each download edit/publish screen as well as the quick edit boxes. At a glance you’ll also be able to see which downloads have been featured on your website from the main download listing.

Shortcode Usage

Add the “featured” attribute to the existing [downloads] shortcode provided by Easy Digital Downloads:

[downloads featured="yes"]

Template Tag Usage

The following code can be used to show the featured downloads anywhere in your theme:

echo do_shortcode( '[downloads featured="yes"]' );

You can include any other attributes supported by the [downloads] shortcode.

Building your own Query

To build your own query using WP_Query you can use the meta_key parameter with a value of edd_feature_download. The following example builds a simple unordered list with all the featured downloads.

<?php

$args = array(
    'post_type' => 'download',
    'meta_key'  => 'edd_feature_download',
);

$featured_downloads = new WP_Query( $args );

if( $featured_downloads->have_posts() ) : ?>

    <ul>
        <?php while( $featured_downloads->have_posts() ) : $featured_downloads->the_post(); ?>
        <li>
           <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                <?php the_title(); ?>
           </a>
        </li>
        <?php endwhile; ?>
    </ul>

<?php endif; wp_reset_postdata(); ?>

스크린샷

  • Feature a download quickly from the publish/edit screen.
  • Feature a download quickly from the quick edit menu.
  • See which downloads have been featured at a glance.

설치

  1. Upload entire edd-featured-downloads to the /wp-content/plugins/ directory, or just upload the ZIP package via ‘Plugins > Add New > Upload’ in your WP Admin
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Feature your downloads and then use either the included template tag or shortcode to show the featured downloads anywhere on your website.

후기

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

기여자 & 개발자

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

기여자

“Easy Digital Downloads Featured Downloads”(이)가 4(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Easy Digital Downloads Featured Downloads”(을)를 번역하세요.

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

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

변경이력

1.0.5

  • Dev: Compatibility with EDD 3.0.
  • Tweak: Update plugin author name and URI to Sandhills Development.

1.0.4

  • Fix: Featured column not showing when the Frontend Submissions extension is active.

1.0.3

  • New: Added a “featured” attribute to the default [downloads] shortcode in Easy Digital Downloads. Example [downloads featured=”yes”].
  • Fix: Fixed a PHP notice that could occur: Undefined index: download_edit_nonce

1.0.2

  • Fix: Fatal error on some PHP versions

1.0.1

  • Tweak: Updated plugin information

1.0

  • Initial release