Title: printf() [function.printf] error
Last modified: August 24, 2016

---

# printf() [function.printf] error

 *  Resolved [succeedingsteps](https://wordpress.org/support/users/succeedingsteps/)
 * (@succeedingsteps)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/printf-functionprintf-error/)
 * I am getting the following error on all my blog entries and not sure how to fix.
 * Warning: printf() [function.printf]: Too few arguments in ……../wp-content/themes/
   sela/inc/template-tags.php on line 343

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/printf-functionprintf-error/?output_format=md)
[1](https://wordpress.org/support/topic/printf-functionprintf-error/?output_format=md)
2

 *  [andrewayala](https://wordpress.org/support/users/andrewayala/)
 * (@andrewayala)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/#post-6046362)
 * +1
 *  [andrewayala](https://wordpress.org/support/users/andrewayala/)
 * (@andrewayala)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/#post-6046363)
 * **Just to shed some light on the source of the problem:** The sela_footer_entry_meta()
   function in the parent theme’s inc/template-tags.php file is looking for values
   to populate a permalink–values that I don’t think exist in the function’s context.
   The function appears to only populate a permalink if there’s nothing else to 
   display (in other words, if the category is uncategorized and there are no tags,
   the function displays a permalink to the post).
 * I’m using a child theme on top of Sela, and happily, the parent function is pluggable(
   you Automatticons are always thinking ahead!). If you are using a child theme,
   you can override the function pretty easily. I wrote a solution, but alexuadrop’s
   solution (offered in the comments of this thread), works really well for my situation
   and it’s much more elegant. You might want to give it a try by adding it to your
   child theme’s function.php file. But, I am looking forward to a sela parent solution
   for this problem. 😉
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years ago](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/#post-6046405)
 * This issue is fixed in version 1.0.5 of Sela, which we’ve submitted to the theme
   directory and should be available here soon.
 * Thanks to everyone for their reports.

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/printf-functionprintf-error/?output_format=md)
[1](https://wordpress.org/support/topic/printf-functionprintf-error/?output_format=md)
2

The topic ‘printf() [function.printf] error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sela/1.0.17/screenshot.png)
 * Sela
 * [Support Threads](https://wordpress.org/support/theme/sela/)
 * [Active Topics](https://wordpress.org/support/theme/sela/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sela/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sela/reviews/)

 * 18 replies
 * 6 participants
 * Last reply from: [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/#post-6046405)
 * Status: resolved