Making WordPress.org

Ticket #3865: poll-3865.diff

File poll-3865.diff, 529 bytes (added by tellyworth, 6 years ago)

Adds the poll to the download page template

  • page-download.php

     
    6666
    6767get_header();
    6868the_post();
     69
     70// https://meta.trac.wordpress.org/ticket/3865
     71if ( !wp_is_mobile() && empty( $rosetta_release ) ) {
     72        include_once( ABSPATH . '/wp-content/plugins/polldaddy/polldaddy.php' );
     73        echo do_shortcode( "[polldaddy poll=9992274 type='slider']" );
     74}
     75
    6976?>
    7077        <main id="main" class="site-main col-12" role="main">
    7178