Support » Plugin: CyberSEO Lite (CyberSyn) » upper/lower case titles

  • Resolved Alain Aubry



    This is just a suggestion.
    It would be nice to have an Upper/lower case switch for the titles.

    I change line 1399 of cybersyn.php from:
    $post['post_title'] = $this->post['post_title'];
    $post['post_title'] = ucwords( mb_strtolower( $this->post['post_title'], 'UTF-8') );

    I do it every time after updating.

    • This topic was modified 3 months, 1 week ago by  Alain Aubry.
Viewing 1 replies (of 1 total)
  • Plugin Author CyberSEO


    I don’t think it’s a good idea to add yet another option tho the CyberSEO Lite feed settings, because otherwise will will be just endless. On the other hand, the CyberSEO Pro allows you to do this by executing of your PHP code which can be placed right into thee feed settings page. In your case, you just need to add the following line into the “PHP code <?php .. ?>” box:

    $post['post_title'] = ucwords(mb_strtolower($post['post_title']));

    And the settings won’t disappear after update. Actually the “PHP code <?php .. ?>” box allows you to modify every part of post (content, excerpt, title, categories, tags, authors, date, type, format etc) on the fly by means of your own code.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.