hangar-wp-theme/README.md

46 lines
1.6 KiB
Markdown

# 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
## logo howto
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)
## opciones de las páginas de artistas
editar el docuemento `./page-templates/seccions.php` para controlar la visualización de las páginas
```
if ($pare == 2 | 58856) : //artistes residents post=2 post=58856 page change on 2022 07 19th
$tipus = 'art';
elseif ($pare == 46565) : //artistes residents estada curta post=46565
$tipus = 'art';
elseif ($pare == 46572) : //artistes amb beca post=46572
$tipus = 'art';
elseif ($pare == 58841 ) : //artistes becades post= 58841
$tipus = 'art';
elseif ($pare == 136) : //desc+arregues post=136
$tipus = 'desc';
elseif ($pare == 74) : //equip post=74
$tipus = 'equip';
elseif ($pare == 40378) : //patronat post=40378
$tipus = 'equip';
else:
$tipus = 'pag';
endif;
```