Compare commits
No commits in common. "main" and "hero" have entirely different histories.
42
README.md
|
@ -1,41 +1,5 @@
|
||||||
# hangar wordpress theme
|
# hangar-wp-theme
|
||||||
## side menu and logos howto
|
|
||||||
The side panel is controlled throght menus and widgets.
|
|
||||||
|
|
||||||
### widgets
|
Wordpress theme for hangar.org website
|
||||||
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.
|
Remember: the theme is in `./public_html/wp-content/themes/`
|
||||||
- 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;
|
|
||||||
```
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
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;
|
||||||
|
```
|
|
@ -91,7 +91,7 @@
|
||||||
|
|
||||||
<div class="logo">
|
<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/hangar-logo-claim.svg' ?>" 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/logo.gif' ?>" alt="<?php bloginfo('name') . " - " . bloginfo( 'description' ); ?>" /></a></h1>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--end Logo-->
|
<!--end Logo-->
|
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 191 B |
|
@ -3,7 +3,7 @@ Theme Name: Hangar, basat en Ari
|
||||||
Theme URI: http://wordpress.org/
|
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.
|
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
|
Author: Enfusion team & vitrubio.net
|
||||||
Version: 3.0
|
Version: 2.1
|
||||||
License: GNU General Public License
|
License: GNU General Public License
|
||||||
License URI: license.txt
|
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
|
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,7 +437,6 @@ ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!impor
|
||||||
height:96px;
|
height:96px;
|
||||||
margin:0px 0px 10px 0px;
|
margin:0px 0px 10px 0px;
|
||||||
display:block;
|
display:block;
|
||||||
width:100%;
|
|
||||||
}
|
}
|
||||||
#sidebar-primary .logo h1 {
|
#sidebar-primary .logo h1 {
|
||||||
padding:5px 0px 0px 0px;
|
padding:5px 0px 0px 0px;
|
||||||
|
@ -455,7 +454,6 @@ font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sa
|
||||||
#sidebar-primary .logo img {
|
#sidebar-primary .logo img {
|
||||||
margin:0px;
|
margin:0px;
|
||||||
padding:0px;
|
padding:0px;
|
||||||
max-width: 100%;
|
|
||||||
}
|
}
|
||||||
/* --- About Text Widget --- */
|
/* --- About Text Widget --- */
|
||||||
#sidebar-primary ul.sidebar li.widget_text img {
|
#sidebar-primary ul.sidebar li.widget_text img {
|
Before Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 8.3 KiB |
BIN
images/logo.gif
Before Width: | Height: | Size: 8.6 KiB |
BIN
screenshot.png
Before Width: | Height: | Size: 717 KiB |