Add one more Skin Color

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  CTHthemes 2 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4774

    anhninh
    Participant

    Unknow

    Hi Supporter,

    I would like to add one more skin, so what is the right way so that we can prevent overwrite theme when upgrading theme?

    Thanks

    #4798

    CTHthemes
    Keymaster

    Hi,
    I don’t understand your question well. Would you give me more info.

    Thanks.

    #4800

    anhninh
    Participant

    Unknow

    About skin of wordpress lotek theme:
    Currently, you support 20 skins but i want to add 4 more skins(21 to 24).
    I have done it in “wp-content\themes\lotek\functions\admin-config.php” by adding below code:

    ,
    /*Modify below: adding more than 4 skins*/
    ‘skin21’ => array(
    ‘alt’ => ‘Skin 21’,
    ‘img’ => get_template_directory_uri(). ‘-child/functions/assets/skin21.png’ //#ff3333
    ),
    ‘skin22’ => array(
    ‘alt’ => ‘Skin 22’,
    ‘img’ => get_template_directory_uri(). ‘-child/functions/assets/skin22.png’ //#3399cc
    ),
    ‘skin23’ => array(
    ‘alt’ => ‘Skin 23’,
    ‘img’ => get_template_directory_uri(). ‘-child/functions/assets/skin23.png’ //#663399
    ),
    ‘skin24’ => array(
    ‘alt’ => ‘Skin 24’,
    ‘img’ => get_template_directory_uri(). ‘-child/functions/assets/skin24.png’ //#ff6633
    ),

    So my question is how to add above code to child theme.(wp-content\themes\lotek-child)???

    Please help

    #4845

    CTHthemes
    Keymaster

    Hi,
    It’s possible, you will need to edit the file again.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Hello! CityBook version 1.2.7 was released. Bulk Import Add-On, OpenStreetMapView Details
+