176 reputation
6
bio website
location
age
visits member for 1 year, 11 months
seen Dec 10 at 10:20

Jul
2
comment Display featured image on blog page
Can you post the result please?
Jul
2
comment Display featured image on blog page
You didn't answered my question, what does the get_option('page_for_posts'); returns when you vardump this?
Jul
1
comment Plugin to load theme if mobile and specific page
try switching the if and else if. Or if(!is_page(145) && wp_is_mobile()) { // use other template }
Jul
1
comment Display featured image on blog page
What does get_option( 'page_for_posts') return? And why use if and no else if?
Jun
26
comment Can't grab author info outside of the loop
Try get_the_author(get_the_ID()); maybe
Jun
25
comment How to separate the tags?
Can't you use the :last-child in css maybe?
Jun
24
answered Send email from Wordpress
May
22
awarded  Student
May
20
comment Alternative to mysql_real_escape_string
Good to hear that!
May
20
awarded  Commentator
May
20
comment Alternative to mysql_real_escape_string
I know there is a custom php function on stackoverflow (see: stackoverflow.com/questions/1162491/…), but I also suggest mysqli or pdo.
May
17
comment Count images in post then add class if just one
Not today, tomorrow I have some time. Maybe another user can work it out?
May
17
comment Count images in post then add class if just one
You can still do that with JS, something like: if($('.post img').length == 1) { $('.post img').addClass('some-class'); }
May
17
comment Count images in post then add class if just one
Can you better not use JavaScript for this? Like: $('.post img:first'); for example
May
17
comment Create XML sitemap in wordpress
Don't forget the fun tough. Then next time I will provide some more context.
May
17
comment Create XML sitemap in wordpress
It's the right answer tough? I will write it in a comment next time, but hope to get a vote then!
May
17
answered Create XML sitemap in wordpress
May
15
comment How to display summary content from a Page (Not a Post) on another page
To reset the postdata use wp_reset_postdata();
May
15
answered How to display summary content from a Page (Not a Post) on another page
May
14
answered Taxonomy page shows category in title