• I need to turn a <?php echo single_cat_title(); ?> such as “National News” into “National%20News” for my image generation script. It works fine with titles having only one word. The PHP function urlencode() doesn’t change the space to a “%20”.

    Running: PHP4, WordPress 1.5

  • The topic ‘Category name to generate an image’ is closed to new replies.