Jump to content

Recommended Posts

Posted

Buna tuturor,

Cum pot sa fac Footer cu 3 coloane in wordpress

Site-ul meu www.retete-super.ro

Am gasit urmatorul cod care trebuie pus in functions.php:

register_sidebars(3, array…
if ( function_exists('register_sidebar') )
register_sidebar();
register_sidebars(3, array('name'=>'Footer %d'));
Daca pun codul asa imi da eroare
 
In functions.php am urmatorul cod la mine pe site
if(is_admin()){
theme_include_lib('options.php');
theme_include_lib('admins.php');
function theme_add_option_page() {
  add_theme_page(__('Theme Options', THEME_NS), __('Theme Options', THEME_NS), 'edit_themes', basename(__FILE__), 'theme_print_options');
}
add_action('admin_menu', 'theme_add_option_page');
if (WP_VERSION >= 3.0) {
  add_action('sidebar_admin_setup', 'theme_widget_process_control');
  add_action('add_meta_boxes', 'theme_add_meta_boxes');
  add_action('save_post', 'theme_save_post');
}
return;
}

 

Cum trebuie modificat codul respectiv

exemplul complet l-am gasit pe un site explicat in romana

cum pot sa adaptez codul pentru site-ul meu

Va multumesc!

Posted

Adauga acel cod la sfarsitul fisierului functions.php, dupa care urmeaza intocmai instructiunile de acolo.

 

Daca tot nu merge, incearca si alte tutoriale, precum:

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.