Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Characters encoding in Vanilla Wordpress plugin

2»

Comments

  • Probably split, interesting question

    There was an error rendering this rich post.

  • you could strip | Tizen Italia but the maximum length is controlled by the database field.

    There is nothing actually truncating the title in script, you can simply change the varchar field to allow more characters.

    grep is your friend.

  • Hmm...I know this is off-topic but...if there isn't any chance to truncate title via script, how I can "strip" | Tizen Italia via database?

  • x00x00 MVP
    edited June 2013

    That doesn't make a lot of sense to do it that way, you can do it in the function above.

    I'm saying you can increase the size of the field in the discussion table, so you can get more characters.

    If you want to learn how to strip a string out of a string, learn some php and string manipulation.

    grep is your friend.

  • I think that echo str_replace("| Tizen Italia", "", $Title); or something like should work...but I'm not a PHP master...I'm only a newbie! I'd appreciate your help in this direction!

Sign In or Register to comment.