3
First off, congrats on getting your navbar working and sticking with this over several days! 🎉🥂
There are a lot of things which could be improved, but at a glance the most glaring issue is that your styles are spread all across the HTML, CSS, and JS files. This makes it very difficult to reason about them. Here's how you could simplify the situation and ...
2
SELECT COUNT(DISTINCT comment_post_ID)
FROM ".$wpdb->prefix."comments USE INDEX (left_frame_index)
WHERE comment_approved = 1
AND comment_type = 'comment'
LIMIT $count_limit
Needs a better index; see the below.
Do NOT compare a VARCHAR (such as comment_approved) with a numeric literal (such as 1), the index cannot be used....
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
jquery × 2383javascript × 2294
html × 445
css × 245
performance × 211
ajax × 195
beginner × 174
php × 111
form × 108
plugin × 98
dom × 96
animation × 95
html5 × 80
event-handling × 76
jquery-ui × 66
json × 64
object-oriented × 63
validation × 63
twitter-bootstrap × 47
datetime × 42
image × 42
game × 26
backbone.js × 25
ecmascript-6 × 23
array × 22