• Hi. I wanted to change my featured posts slideshow images from custom slides to category posts, because I want my recent posts to be displayed there. But this message shows up where my pictures should have been. The posts’ text and title are there, but the images aren’t. I saw different topics about this, and I tried everything they said there, but no good:

    Warning: printf() [function.printf]: Too few arguments in /home/ziarulag/public_html/wp-content/themes/WpTech/includes/featuredposts/template.php on line 16

    and this is line 16:

    printf(“%s<img src=\”$slider[img]\” />%s”, ““, ““);

Viewing 1 replies (of 1 total)
  • What is the content of $slider[img]? My guess is that it contains some double quotes that are confusing printf.

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: printf() [function.printf]: Too few arguments’ is closed to new replies.