• hi all
    why there is no field 4 category_nicename in admin section ?!
    there is any way to edit it ?!
    i did it with PHPMYADMIN but thal is not the way !
    Tanx 4 your help
    i am using WP 1.2 mingus
    When 1.3 will be available ( released ?) ?
    Ali ix

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ali_ix

    (@ali_ix)

    i think that is in Writing Post page ! yes ?!
    i want a field to insert the categori_nice name values in DB 4 each categori !
    in categori tab we have : ID Name Description # Posts Action
    and there must be another one as : Nicename
    and a field to define it ! ??
    Tanx …
    Ali ix

    Thread Starter ali_ix

    (@ali_ix)

    :(((

    I asked Matt sometime back to have a category slug feature. But well apparently no one else was interested.

    Thread Starter ali_ix

    (@ali_ix)

    yes ! that is usefull and necesseri ! ??
    i think that is forgoten !
    Cuz there is a Row in table catogeries named : nice_name ! in DB ??
    and we just wants some code and a form to put our values in the nice_name section in DB !
    i did it with phpmyadmin ! but there must be a form in ADMIN CP ! ??
    Tanx …
    Ali ix

    so it works by inserting a value through phpmyadmin?
    that would be a feature that is not accessible from the front end ??

    Thread Starter ali_ix

    (@ali_ix)

    yes !
    it works !
    i have it on my blog : weblog.corelist.net
    That is one of hidden sides of WP ! :)))

    Thread Starter ali_ix

    (@ali_ix)

    :((

    a little guide how to add category nicename by DIY method:
    1. open in your favourite editor /wp-admin/categories.php
    2. on line 50
    replace $category_nicename = sanitize_title($cat_name);
    with $category_nicename= addslashes(stripslashes(stripslashes($_POST['cat_nicename'])));
    3. right after line 92
    add $cat_nicename = stripslashes($category->category_nicename);
    4. around line 101
    after <?php _e('Category name:') ?>

    <input type="text" name="cat_name" value="<?php echo $cat_name; ?>" />
    add <?php _e('Category safe-URL:') ?>

    <input type="text" name="cat_nicename" value="<?php echo $cat_nicename; ?>" />
    5. around line 132
    replace line $category_nicename = sanitize_title($cat_name);
    with $category_nicename = $wpdb->escape(stripslashes($_POST['cat_nicename']));
    I hope this will be implemented in next WP release..
    and I also hope the code I just wrote will be displayed correctly ??

    Thread Starter ali_ix

    (@ali_ix)

    Tanx A lot !
    I will test it Now ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘where to define Category_nicename ?!’ is closed to new replies.