Support » Fixing WordPress » Post title description on one line

  • Resolved Kevin Kwok


    Hello! I am trying to display a category title and its description on one continuous line. I found in my functions.php where it generated the category title and description from.

    function gallery_page_title ($content) {
      if (is_category()) {
        $content = '<div class="page-title">';
        $content .= single_cat_title();
    	$content .= category_description();

    Right now with that code it displays like this:


    BUT i want it to display like:


    But i cant seem to figure out how =( please help if you can, thank you in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post title description on one line’ is closed to new replies.