02.01.2018 Änderungen

Änderungen 02.01.2018:

  1. Neue Rubriken/Menüpunkte für 2018 für
  • Spenden                            (Seite)
  • Zuhause gesucht             (Kategorie Tiere)
  • Happy-End                      (Kategorie Tiere)
  • Regenbogenbrücke        (Kategorie Tiere)

2. Menüpunkte 2014 und früher entfernt (bis auf Rubrik Spenden)

3. Content.php geändert:

 Wenn Tierbeiträge über “Suche” angezeigt werden, dann wird Tabelle mit ausgegeben. Dazu wird in content.php abgefragt, ob ein Tierbeitrag vorliegt. Wenn ja, dann wird content-single.php ausgeführt, wenn nicht, dann wird the_content () ausgeführt.

<?php
/**
* @package Bouquet
*/
?>
<?php echo” content.php in child-bouquet”; ?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<header class=”entry-header”>
<h2 class=”entry-title”><a href=”<?php the_permalink(); ?>” rel=”bookmark”><?php the_title(); ?></a></h2>

<?php //if ( ‘post’ == get_post_type() ) : ?>
<?php //echo” content.php in child-bouquet”; ?>
<?php //bouquet_posted_on(); ?>
<?php //endif; ?>
</header><!– .entry-header –>

<!– Wenn der Post-type = ‘tiere’ ist, dann Inhalt mit table ausgeben = content-single –>
<?php if ( ‘tiere’ == get_post_type() ) : ?>

<div class=”entry-content”>
<?php //the_content(); ?>
<?php get_template_part( ‘content-single’, ‘page’ ); ?>

<?php else: ?>
<!– sonst normal ohner Tabelle ausgeben = content.php –>
<div class=”entry-content”>
<?php the_content(); ?>

<?php endif ?> <!– endif tiere –>

<!– <div class=”entry-content”> –>
<?php //the_content( __( ‘Continue reading <span class=”meta-nav”>&rarr;</span>’, ‘bouquet’ ) ); ?>
<?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘bouquet’ ), ‘after’ => ‘</div>’ ) ); ?>
</div><!– .entry-content –>

<!– footer auskommentiert –>
<!– <footer class=”entry-meta”> –>
<?php //bouquet_post_meta(); ?>
<!–
<?php //if ( comments_open() || ( ‘0’ != get_comments_number() && ! comments_open() ) ) : ?>
<span class=”comments-link”><?php //comments_popup_link( __( ‘Leave a comment’, ‘bouquet’ ), __( ‘1 Comment’, ‘bouquet’ ), __( ‘% Comments’, ‘bouquet’ ) ); ?></span>
<?php //endif; ?>
–>
<?php //edit_post_link( __( ‘Edit’, ‘bouquet’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
<!– </footer> –><!– #entry-meta –>
</article><!– #post-## –>

 

 

20.06.2017 Steckbrief

Steckbrief auf Tier-Beitragsseite (content-single) eingefügt.

style.css ergänzt, table-Formatierungen von Bouquet auskommentiert.

Color-Unterverzeichnis forget-me-not.css: Tabellenformatierungen auskommentiert.

<table> in content-single.php eingefügt.

Geänderte Dateien

in child-bouquet:

content-single.php

style.css

in bouquet/colors:

forget-me-not.css

 

18.06.2017

Gästebuch mit Plugin “gwolle-gb” erstellt.

Seitentemplate “page-guest.php” für Gästebuch neu erstellt (in child-bouquet),

Seiteninhalt wird mit Template content-guest dargestellt (in child-bouquet).

Styling des Gästebuchs mit style.css (in child-bouquet) Zeile 1645 ff (#gwolle_gb_write_button) geändert.

ToDo:

  • Hintergrundfarbe für Gästebuch etwas abdunkeln (neue Klasse in page-guest, content-guest).
  • Statistik einfügen
  • Tabellen auf Tierseiten ändern

12.06.2017

Änderungen in page-php erstellt (Abfrage ob Gästebuchseite (id=710) aufgerufen wird) und page php in child-bouquet integriert.

comments-guest.php und content-guest.php in child-bouquet erstellt, functions.php in child-bouquet geändert.

styles.css in child-bouquet erweitert.

Seite und php-funktionen werden richtig aufgerufen, Inhalte von comment-guest und style.css werden auf dem Server nicht richtig ausgeführt (z.B. wird comment-form() in comment-guest nicht ausgeführt), lokal funktioniert alles.

 

 

09.05.2017 hover-Farben

Hintergrundfarbe für Menüpunkte geändert in

bouquet/colors/forget_me_not, Zeile 42 ff:

access ul ul a {
    background: #4599ee;
    color: #000000;
}
#access li:hover > a,
#access ul ul :hover > a,
#access ul ul a:hover {
    background: #264f89;
    color: #def0fd;


Rückgängig gemacht, da auch der Kopfbereich eingefärbt wird !

Hintergrundfarbe Seitenmenü geändert:

style.css in bouquet-child,  Zeile 264 ff, background-color eingefügt:

a:hover {
    background-color: #2099FF;
    text-decoration: underline;

17.04.2017 Changelog

17.04.2017 Änderungen:

in archive.php Abfrage nach den Kategorien “Aktuelles” und “Das Team”

Ausgabe Aktuelles als Excerpt über content-aktuelles (vorläufig gleiches php-script wie content-excerpt),

Ausgabe Team als Seite (content-full)

Eingefügter Code (archive.php)

<!– Der aktuelle category-Name: –>
<?php $current_category = single_cat_title(“”, false); ?>
<!– Wenn Post-Type category Aktuelles ist  –>
<!– dann Ausgabe ueber content-aktuelles –>

<?php if ( ‘Aktuelles’ == $current_category ) : ?>
<!– Statt content-excerpt auf content-aktuelles verzweigen –>
<?php get_template_part( content-aktuelles‘, get_post_format() ); ?>
<?php elseif ( ‘Das Team’ == $current_category ) :  ?>
<!– Fuer category Das Team Ausgabe ueber content-full –>
<?php get_template_part( ‘content-full‘, get_post_format() ); ?>

<?php else: ?>
<!– Alle anderen post-categorien ueber content full ausgeben –>
<?php //echo” Ausgabe content-full”; ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( ‘content-full‘, get_post_format() );
?>

<!– if Abfrage categorien Aktuelles und Das Team Ende –>
<?php endif; ?>

 

 

17-04-14

In CSS Zeile 463/464 geändert:

margin 0em 0em 3em -> margin 0em 0em 1em

padding 1.5em 0.6em 4em -> padding 1.5em 0.6em 2.4em

=> Abstand zwischen Excerpten und Artikeln wird verkleinert, Beiträge rücken dichter zusammen

Änderungen in style.css  in child-bouquet und bouquet durchgeführt