WordPress.org

Ready to get started?Download WordPress

Forums

Removing comments from node based posts and change for category SOS please (4 posts)

  1. DeveWeb
    Member
    Posted 2 years ago #

    sorry for post this.. but i need help urgent pleaseeee... I need to change the CODE, This Code displays the date and the number of comments and I need to change to display the date and category, i need chabge only numbers of comments for category, I use the Arras theme .. Please someone can help me. SOS

    if ($show_meta) {
            $postheader .= '<span class="entry-meta"><span class="entry-comments">' . get_comments_number() . '</span>';
            $postheader .= '<abbr class="published" title="' . get_the_time('c') . '">' . get_the_time( get_option('date_format') ) . '</abbr></span>';
        }

    thanks in advanced..

  2. Mike Little
    Member
    Posted 2 years ago #

    You could try something like this:

    if ($show_meta) {
      $postheader .= '<span class="entry-meta"><span class="entry-comments">' . get_the_category_list( ', ' ) . '</span>';
      $postheader .= '<abbr class="published" title="' . get_the_time('c') . '">' . get_the_time( get_option('date_format') ) . '</abbr></span>';
    }
  3. DeveWeb
    Member
    Posted 2 years ago #

    hey Mike is good to talk with you again my friend, Mike does not work you unconfigure the code completely.! i send you the other day by email a link to my web site, username and pass for your to check it..

  4. noxemedia
    Member
    Posted 1 year ago #

    http://www.noxemedia.com web tasarım,web tasarımı,
    web dizayn,webmaster,internet,web site,web yazılım

Topic Closed

This topic has been closed to new replies.

About this Topic