1 (edited by nakome 2012-10-18 11:07:41)

Topic: Nkf theme options

Theme with options

And sorry for my english smile

Youtube preview

Download 

Update code (Added button to delete item and deleted droptown of menu).


Help tags for use in your theme.

Put in your theme before head

<?php Nkftheme::nkfstyles()?>

Reference css nkftheme.plugin.php

 
        // Body  css //
        < -- background -->
        Option::get('nkf_body_bck'); = #000 
        < -- color -->
        Option::get('nkf_body_col'); = #000 
        < -- font-size -->
        Option::get('nkf_body_Fsize'); = 15px 
        < -- font-family -->
        Option::get('nkf_body_Ffamy'); = Arial 
        < -- a -->
        Option::get('nkf_body_Link'); = #000 
        < -- a:hover -->
        Option::get('nkf_body_H'); = #000 
        // Menu css //
        < -- background gradient up -->
        Option::get('nkf_menu_bck1'); = #000 
        < -- background gradient down -->
        Option::get('nkf_menu_bck2'); = #000 
        < -- active -->
        Option::get('nkf_menu_act'); = #000 
        < -- hover -->
        Option::get('nkf_menu_hov'); = #000 
        < -- color -->
        Option::get('nkf_menu_color'); = #000 
        < -- font-family -->
        Option::get('nkf_menu_Ffamy'); = Arial 
        // Main css //
        < -- background -->
        Option::get('nkf_main_bck'); = #000 
        < -- color -->
        Option::get('nkf_main_col'); = #000 
        < -- a -->
        Option::get('nkf_main_link'); = #000 
        < -- a:hover -->
        Option::get('nkf_main_hov'); = #000 
        < -- font-size -->
        Option::get('nkf_main_Fsize'); = 15px 
        < -- font-family -->
        Option::get('nkf_main_Ffamy'); = Arial
        // blocks css //
        < -- background -->
        Option::get('nkf_widgets_bck'); = #000 
        < -- color -->
        Option::get('nkf_widgets_col'); = #000 
        < -- a -->
        Option::get('nkf_widgets_link'); = #000 
        < -- a:hover -->
        Option::get('nkf_widgets_hov'); = #000 
        < -- font-size -->
        Option::get('nkf_widgets_Fsize'); = 15px
        < -- font-family -->
        Option::get('nkf_widgets_Ffamy'); = Arial
        // Content //
        < -- background -->
        Option::get('nkf_content_bck'); = #000 
        < -- color --> 
        Option::get('nkf_content_col'); = #000 
        < -- a -->
        Option::get('nkf_content_link'); = #000 
        < -- a:hover -->
        Option::get('nkf_content_hov'); = #000 
        < -- blockquote -->
        Option::get('nkf_content_bloq'); = #000 
        < -- blockquote border -->
        Option::get('nkf_content_blbor'); = #000 
        // Footer and prefooter //
        < -- Footer background -->
        Option::get('nkf_footer_bck'); = #000 
        < -- Prefooter background -->
        Option::get('nkf_footer_prebck'); = #000 
        < -- Footer color -->
        Option::get('nkf_footer_col'); = #000 
        < -- Prefooter color -->
        Option::get('nkf_footer_precol'); = #000 
        < -- footer a -->
        Option::get('nkf_footer_Link'); = #000 
        < -- Prefooter a -->
        Option::get('nkf_footer_prelink'); = #000 

Reference for logo and socials webs

        <-- facebook -->
       Option::get('nkffacebook') = your id
        <-- twitter --> 
       Option::get('nkftwitter')  = your id
       <-- youtube -->
       Option::get('nkfyoutube')  = your id
       <-- vimeo -->
       Option::get('nkfvimeo')  = your id
        <-- logo -->
       Option::get('nkf_logo')  = http://your img path

Social tags

Facebook

<?php Nkftheme::nkfFacebook()?>

Twitter

<?php Nkftheme::nkfTwitter()?>

Youtube

<?php Nkftheme::nkfYoutube()?>

Vimeo

<?php Nkftheme::nkfVimeo()?>

Logo tag

<?php Nkftheme::nkflogo()?>

Change the background with a img

url(Your image link) repeat center transparent
..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: Nkf theme options

Good Work smile

Monstra Loves You! Give some love back!

Re: Nkf theme options

Thanks little by little I will put more stuff.

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: Nkf theme options

Sorry to bother you but how do i remove this plugin?

Do i just have to delete the plugin folder and the nkf-theme folder?

(because i spotted some bugs which showed that it was still in beta development stage ->there was an "example" drop down menu(you should probably remove that in your next update by deleting it from the header theme template.) and add an edit block text section to edit the text on specific blocks that have been added on by the template.)

But i think this is coming along nicely!

Re: Nkf theme options

Sorry, I assumed that any error would have, tomorrow will add a button that deletes the template and remove the navigation droptown.
Thanks

Ps "add an edit block text section to edit the text on specific blocks". Good idea

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: Nkf theme options

Update code added button to delete item and deleted droptown of menu.

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website