> EDD List File Names wordpress plugin resources analysis

EDD List File Names wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name EDD List File Names
Version 1.0.1
Author Andrew Munro, Sumobi
Rating 100
Last updated 2014-02-22 12:17:00
Downloads
559
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
EDD List File Names plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

EDD List File Names plugin added 24 bytes of resources to the Home page and 28 bytes of resources to the sample Post page.

EDD List File Names plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! EDD List File Names plugin ads no tables to your Wordpress blog database.

This plugin requires Easy Digital Downloads.

Using the included [edd_file_names] shortcode you'll be able to list a download's file names (not file paths). This is useful for showing customers what is included when they purchase your product. The shortcode also takes 2 parameters, title and ID. Using the ID you're able to show a download's file names from another post/page/download.

Shortcode usage

Basic listing of the current download in an ordered list

[edd_file_names]

Custom title above the list

[edd_file_names title="Files Included"]

Show the download's files by using it's ID. Useful when you are also using the [purchase_link] shortcode on another page/post

[edd_file_names id="123" title="Another download's files"]

Modifying the HTML markup

This example shows how you can modify the HTML markup. Heading has been replaced with an <h1> tag, and the list is now an unordered list. Copy and paste the following function into your child theme's functions.php or a custom plugin:

function sumobi_edd_list_file_names( $html, $title, $download_files ) { 
    ob_start();
    if ( $download_files && is_array( $download_files ) ) : ?>

        <?php if ( $title ) : ?>
        <h1><?php echo $title; ?></h1>
        <?php endif; ?>

        <ul class="edd-file-names">
        <?php foreach ( $download_files as $file ) : ?>
            <li><?php echo $file['name']; ?></li>
        <?php endforeach; ?>
        </ul>

    <?php endif;

    $html = ob_get_clean();
    return $html;
}
add_filter( 'edd_list_file_names', 'sumobi_edd_list_file_names', 10, 3 );

Extensions for Easy Digital Downloads

https://easydigitaldownloads.com/extensions/

Tips for Easy Digital Downloads

http://sumobi.com/blog

Stay up to date

Follow me on Twitter http://twitter.com/sumobi_

Become a fan on Facebook http://www.facebook.com/sumobicom

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
ProMax screenshot

ProMax

by: sandy786

45305
100%
Snapshot screenshot

Snapshot

by: gpriday

173798
83%