Title: ulitka's Replies | WordPress.org

---

# ulitka

  [  ](https://wordpress.org/support/users/ulitka/)

 *   [Profile](https://wordpress.org/support/users/ulitka/)
 *   [Topics Started](https://wordpress.org/support/users/ulitka/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ulitka/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ulitka/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ulitka/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ulitka/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ulitka/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [how to include any script output into WP_tag as a parameter?](https://wordpress.org/support/topic/how-to-include-any-script-output-into-wp_tag-as-a-parameter/)
 *  Thread Starter [ulitka](https://wordpress.org/support/users/ulitka/)
 * (@ulitka)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/how-to-include-any-script-output-into-wp_tag-as-a-parameter/#post-255328)
 * Thank you, Kafka!
    It works great. I’ll try to customize function get_archives()
   Are you talking about this code (from /wp-includes/template-functions-general.
   php)? ——————— /* link navigation hack by Orien [http://icecode.com/](http://icecode.com/)*/
   function get_archives_link($url, $text, $format = ‘html’, $before = ”, $after
   = ”) { $text = wptexturize($text); $title_text = wp_specialchars($text, 1);
 *  if (‘link’ == $format) {
    return “\t<link rel=’archives’ title=’$title_text’
   href=’$url’ />\n”; } elseif (‘option’ == $format) { return “\t<option value=’
   $url’>$before $text $after</option>\n”; } elseif (‘html’ == $format) { return“\
   t
    - $before[$text](https://wordpress.org/support/users/ulitka/replies/$url?output_format=md)
      $after
    - \n”;
       } else { // custom return “\t$before[$text](https://wordpress.org/support/users/ulitka/replies/$url?output_format=md)
      $after\n”; } } —————
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [how to include any script output into WP_tag as a parameter?](https://wordpress.org/support/topic/how-to-include-any-script-output-into-wp_tag-as-a-parameter/)
 *  Thread Starter [ulitka](https://wordpress.org/support/users/ulitka/)
 * (@ulitka)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/how-to-include-any-script-output-into-wp_tag-as-a-parameter/#post-255303)
 * I am triyng to use ‘witty text’ rundomizer plugin like this:
    <?php get_archives(‘
   postbypost’,’5′,’html’,witty(),'<br><br>’,”); ?> but it works only for the first
   post from five. How to do it for all fives?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [how to include any script output into WP_tag as a parameter?](https://wordpress.org/support/topic/how-to-include-any-script-output-into-wp_tag-as-a-parameter/)
 *  Thread Starter [ulitka](https://wordpress.org/support/users/ulitka/)
 * (@ulitka)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/how-to-include-any-script-output-into-wp_tag-as-a-parameter/#post-255298)
 * Thank you Kafka!
    It works great, but only for the file contents, not for the
   script output. Actually i want to have a random quote as ‘before’ parameter. 
   Could you please help me with this?

Viewing 3 replies - 1 through 3 (of 3 total)