soaivu / clipbucket

Automatically exported from code.google.com/p/clipbucket
0 stars 0 forks source link

Remove Dash from Title #355

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This fix may help anyone searching for the answer like I was.

Removing the Dash in Site Title when not using Website Slogan.

Open file: includes/
Edit: functions.php

Find this code, around 8175, or search for "cbtitle":
/////////////////////////////////////////////

     * Function used to load clipbucket title

     */

    function cbtitle($params=false)

    {

        global $cbsubtitle;

        $sub_sep = $params['sub_sep'];

        if(!$sub_sep)

            $sub_sep = '-';

/////////////////////////////////////////////////////////////////

Now in this code find: $sub_sep = '-';

Remove dash: $sub_sep = '';

Save file, upload, refresh. Dash is now gone. But remember, if you want to use 
a slogan you need to go back and add the dash.

Original issue reported on code.google.com by TLRProje...@gmail.com on 18 Nov 2012 at 11:02

GoogleCodeExporter commented 8 years ago
How can i change title tag like (video name - web title)?

Original comment by desilent...@gmail.com on 2 Mar 2013 at 8:59

GoogleCodeExporter commented 8 years ago

Original comment by zomail...@gmail.com on 7 May 2013 at 9:19