Compare commits

..

12 Commits
hero ... main

87 changed files with 253 additions and 28 deletions

View File

@ -1,5 +1,41 @@
# hangar-wp-theme
# hangar wordpress theme
## side menu and logos howto
The side panel is controlled throght menus and widgets.
Wordpress theme for hangar.org website
### widgets
The menu shows the content of "Zona de ginys primaria" or "Primary widgets area", inside we have different widgets to control the menus
Remember: the theme is in `./public_html/wp-content/themes/`
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 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;
```

View File

@ -1,23 +0,0 @@
---
title: hangar template howto
---
### opciones de las páginas de artistas
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;
```

View File

@ -91,7 +91,7 @@
<div class="logo">
<h1><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php echo get_template_directory_uri() . '/images/logo.gif' ?>" alt="<?php bloginfo('name') . " - " . bloginfo( 'description' ); ?>" /></a></h1>
<h1><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php echo get_template_directory_uri() . '/images/hangar-logo-claim.svg' ?>" alt="<?php bloginfo('name') . " - " . bloginfo( 'description' ); ?>" /></a></h1>
</div>
<!--end Logo-->

View File

Before

Width:  |  Height:  |  Size: 423 B

After

Width:  |  Height:  |  Size: 423 B

View File

Before

Width:  |  Height:  |  Size: 407 B

After

Width:  |  Height:  |  Size: 407 B

View File

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 221 B

View File

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

View File

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 349 B

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
images/logo-blink.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
images/logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 332 B

After

Width:  |  Height:  |  Size: 332 B

View File

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View File

Before

Width:  |  Height:  |  Size: 303 B

After

Width:  |  Height:  |  Size: 303 B

View File

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 274 B

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 492 B

View File

Before

Width:  |  Height:  |  Size: 491 B

After

Width:  |  Height:  |  Size: 491 B

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 191 B

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 KiB

View File

@ -3,7 +3,7 @@ Theme Name: Hangar, basat en Ari
Theme URI: http://wordpress.org/
Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades.
Author: Enfusion team & vitrubio.net
Version: 2.1
Version: 3.0
License: GNU General Public License
License URI: license.txt
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu
@ -437,6 +437,7 @@ ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!impor
height:96px;
margin:0px 0px 10px 0px;
display:block;
width:100%;
}
#sidebar-primary .logo h1 {
padding:5px 0px 0px 0px;
@ -454,6 +455,7 @@ font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sa
#sidebar-primary .logo img {
margin:0px;
padding:0px;
max-width: 100%;
}
/* --- About Text Widget --- */
#sidebar-primary ul.sidebar li.widget_text img {