Support » Fixing WordPress » a function within the string of another function??

  • Hmm, I hope my question makes sense. Maybe if I show the code first:

    <?php comments_popup_link(‘ No Comments’, ‘ 1 Comment<?php mdv_comment_plugger(‘, Last By’,1,’ ‘); ?>’, ‘ % Comments<?php mdv_comment_plugger(‘, Last By’,1,’ ‘); ?>’); ?>

    So basically, I want to include the function mdv_comment_plugger, but only if there are 1 or more comments. So I’m including them within the comments_popup_link so that they’ll only appear in those circumstances. Does that make sense?



  • The topic ‘a function within the string of another function??’ is closed to new replies.