Jump to content

Cum Sa Fac Footer Cu 3 Coloane In Wordpress?


dani5555

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.