Making WordPress.org


Ignore:
Timestamp:
12/24/2013 08:39:56 AM (12 years ago)
Author:
coffee2code
Message:

jobs.wordpress.net: improve responsiveness for the job listings. see #84

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php

    r88 r169  
    8181            $link .= apply_filters( 'list_cats', $category->name, $category ).'</a>';
    8282    }
    83     $link .= ' '.$after;       
    84     $output .= $link;
    85     $output .= '<div class="grid_2 omega jobs-count">';
    86 
     83
     84    $orig_jobscnt = $jobscnt;
    8785    if ( is_search() ) {
    8886        $feed_link = get_search_feed_link();
     
    9391    }
    9492
    95     $output .= '<a href="' . $feed_link . '"><div class="dashicons dashicons-rss"></div></a>' . $jobscnt . '</div>
     93    $link .= " <span>($orig_jobscnt)</span> $after";
     94    $output .= $link;
     95    $output .= '<div class="grid_2 omega jobs-count">';
     96
     97    $output .= '<a href="' . $feed_link . '"><div class="dashicons dashicons-rss"></div></a><span>' . $jobscnt . '</span></div>
    9698        </div>
    9799        <div class="clear"></div>
     
    120122    $field_label = esc_html( $field_label );
    121123
    122     echo '<div class="post-job-input post-job-input-$field_name">' . "\n";
     124    echo '<div class="post-job-input post-job-input-' . $field_name . '">' . "\n";
    123125    echo "<label for='$field_name'>$field_label" . ( $required ? '*' : '' ) . "</label>\n";
    124126
Note: See TracChangeset for help on using the changeset viewer.