Reputation
298
Top tag
Next privilege 300 Rep.
Create new tags
Badges
2 11
Impact
~8k people reached

Apr
16
awarded  Popular Question
Feb
20
comment How to Query the Top 5 Posts of a specific category?
If by top posts you mean most popular posts, you would have to build a plugin that would add a value of 1 to the custom field: post_views_count each time the post was viewed using update_post_meta. Alternatively, there's a bunch of plugins that do this.
Oct
24
awarded  Popular Question
Sep
26
comment How to paginate this custom loop?
What template are you using for this loop?
Sep
25
answered How to paginate this custom loop?
Sep
15
awarded  Tenacious
Sep
9
comment If file exists with page slug name show image else nothing
Glad it worked out @ZacocomZaccom Would you mind editing your question for future visitors? Thanks
Sep
8
revised If file exists with page slug name show image else nothing
added 10 characters in body
Sep
8
comment If file exists with page slug name show image else nothing
@ZacocomZaccom I edited my answer to use the file_exists function on the file path. This is outputting only if the condition is true.
Sep
8
revised If file exists with page slug name show image else nothing
clarifying
Sep
7
revised If file exists with page slug name show image else nothing
code further edited
Sep
7
revised If file exists with page slug name show image else nothing
edit to code to answer user's request
Sep
6
comment If file exists with page slug name show image else nothing
@Milo I had overlooked testing the_title_attribute earlier. This is outputting correctly now, see edit. Thanks.
Sep
6
revised If file exists with page slug name show image else nothing
improved answer
Sep
6
revised If file exists with page slug name show image else nothing
added 5 characters in body
Sep
6
comment If file exists with page slug name show image else nothing
I just edited my answer. $slug is being evaluated correctly now.
Sep
6
revised If file exists with page slug name show image else nothing
updating code
Sep
5
answered If file exists with page slug name show image else nothing
Aug
30
awarded  Excavator
Aug
30
revised How to make Isotope and Wordpress work together?
fixing formatting, deleting unneccessary div ending that doesn't opening in this snippet