Find answers, ask questions, and connect with our
community around the world.

Activity Forums Web Design WordPress How can I remove the last comma from this loop code?

  • How can I remove the last comma from this loop code?

    updated 1 week, 5 days ago 0 Member · 1 Post
  • Deborah

    Member
    October 30, 2019 at 2:17 pm

    foreach((get_the_category()) as $category){ echo $category->name.”, “; } – by hq overview pacyhero – –

Reply to: Deborah
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now