changed logo from gif to svg

This commit is contained in:
jorge-vitrubio 2022-06-30 16:29:22 +02:00
parent 84b29215e7
commit a39bd3aab2
3 changed files with 229 additions and 1 deletions

View File

@ -1,3 +1,21 @@
# 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)

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-->

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 28 KiB