hangar-wp-theme/README.md

46 lines
1.6 KiB
Markdown
Raw Permalink 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
2022-07-19 15:15:26 +02:00
The menus content is changed in the menus control pannel
2022-06-30 16:29:22 +02:00
- 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
editar el docuemento `./page-templates/seccions.php` para controlar la visualización de las páginas
```
2022-07-19 15:15:26 +02:00
if ($pare == 2 | 58856) : //artistes residents post=2 post=58856 page change on 2022 07 19th
$tipus = 'art';
2022-07-19 15:15:26 +02:00
elseif ($pare == 46565) : //artistes residents estada curta post=46565
$tipus = 'art';
2022-07-19 15:15:26 +02:00
elseif ($pare == 46572) : //artistes amb beca post=46572
$tipus = 'art';
elseif ($pare == 58841 ) : //artistes becades post= 58841
$tipus = 'art';
2022-07-19 15:15:26 +02:00
elseif ($pare == 136) : //desc+arregues post=136
$tipus = 'desc';
2022-07-19 15:15:26 +02:00
elseif ($pare == 74) : //equip post=74
$tipus = 'equip';
2022-07-19 15:15:26 +02:00
elseif ($pare == 40378) : //patronat post=40378
$tipus = 'equip';
else:
$tipus = 'pag';
endif;
```