hangar-wp-theme/README.md

42 lines
1.3 KiB
Markdown
Raw Normal View History

2022-06-30 16:29:22 +02:00
# hangar wordpress theme
## side menu and logos howto
The side panel is controlled throght menus and widgets.
### widgets
The menu shows the content of "Zona de ginys primaria" or "Primary widgets area", inside we have different widgets to control the menus
Each menu widget calls a submenu.
- hangar: https://hangar.org/wp-admin/widgets.php
- test hangar: https://test.hangar.org/wp-admin/widgets.php
### menus
The menus content is changed in the menus control pannel
- hangar: https://hangar.org/wp-admin/nav-menus.php
- test hangar: https://test.hangar.org/wp-admin/nav-menus.php
names now are defined by "order" but names can be changed as well content
2022-06-28 12:19:01 +02:00
## logo howto
2022-06-28 12:23:44 +02:00
To change logo change content of `images/logo.gif` to desired logo to be displayed wich is called in file [header.php line #94](https://git.hangar.org/hangar-tech/hangar-wp-theme/src/branch/test/header.php#L94)
2021-02-18 14:02:08 +01:00
2022-06-28 12:19:01 +02:00
## opciones de las páginas de artistas
2021-02-18 14:13:09 +01:00
2022-06-28 12:23:44 +02:00
editar el docuemnto `seccions.php` para controlar la visualización de las páginas
```
if ($pare == 2) : //artistes residents
$tipus = 'art';
elseif ($pare == 46565) : //artistes residents estada curta
$tipus = 'art';
elseif ($pare == 136) : //desc+arregues
$tipus = 'desc';
elseif ($pare == 74) : //equip
$tipus = 'equip';
elseif ($pare == 40378) : //patronat
$tipus = 'equip';
else:
$tipus = 'pag';
endif;
```