Viewing 2 replies - 1 through 2 (of 2 total)
  • I want the tag post for category as well. Please let us know.

    Thread Starter SeyMedia

    (@seymedia)

    My solution for category name in search results:
    in sf.php, after line 533:

    $pst->post_date_formatted = date($date_format,  strtotime( $pst->post_date) );

    add:

    $post_category = get_the_category( $pst->ID, 'echo $category[0]->cat_name');
    $pst->post_category = $post_category[0]->cat_name;

    and after that you go in Ajaxy in Wp-admin => Templates => Posts => and add

    Category: {post_category}

    where do you want tho show it.

    P.S. I’m not really sure that this was the fix, but check that and if is not working, tell me.. Now i don’t have this plugin installed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tag for post category?’ is closed to new replies.