Hallo zusammen!
Hat jemand eine Ahnung, wie ich beim Itheme siehe Change now! Verändern Einfach Machen oben in den Bereich, wo die Searchform ist, ein Bild platzieren kann?!?
Ich möchte dort oben einen RSS Button einbauen (also Bild mit Link quasi).
Leider habe ich keine Idee, wo ich das machen muss...
Vielen Dank und einen tollen Tag!! :-)
André
Itheme Rss Button unter Search Form?
-
-
- Gerade eben
- Anzeige
Hallo!
Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.
- ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
- ✔️ Deutsche Server & DSGVO-konform
- ✔️ Persönlicher Support (kein 0815-Ticket-System)
-
In der header.php deines Themes. Poste mal den Inhalt dieser Datei, dann kann man besser helfen. :)
-
Allrighty!! :-)
Vielen Dank schon mal im Voraus! :-)
Viele Grüße,
André
Hier ist meine header.php
PHP
Alles anzeigen<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL]"> <html xmlns="[URL="http://www.w3.org/1999/xhtml"]XHTML namespace[/URL]"> <head profile="[URL="http://gmpg.org/xfn/11"]XFN 1.1 profile[/URL]"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <?php echo ' <title>'; if ( is_home() ) { // Blog's Home echo get_bloginfo('name') . ' » Weblog'; } elseif ( is_single() or is_page() ) { // Single blog post or page wp_title(''); echo ' - ' . get_bloginfo('name'); } elseif ( is_category() ) { // Archive: Category echo get_bloginfo('name') . ' » Kategorie: '; single_cat_title(); } elseif ( is_day() ) { // Archive: By day echo get_bloginfo('name') . ' » Alle Weblogartikel vom ' . get_the_time('d') . '. ' . get_the_time('F') . ' ' . get_the_time('Y'); } elseif ( is_month() ) { // Archive: By month echo get_bloginfo('name') . ' » Alle Weblogartikel vom ' . get_the_time('F') . ' ' . get_the_time('Y'); } elseif ( is_year() ) { // Archive: By year echo get_bloginfo('name') . ' » Alle Weblogartikel vom Jahr ' . get_the_time('Y'); } elseif ( is_search() ) { // Search echo get_bloginfo('name') . ' » Suche: ‹' . wp_specialchars($s, 1) . '›'; } elseif ( is_404() ) { // 404 echo get_bloginfo('name') . ' » 404 - Angeforderte Seite nicht gefunden'; } else { // Everything else. Fallback bloginfo('name'); wp_title(); } echo '</title>'; ?> <script type="text/javascript"> var GB_ROOT_DIR = "./gbeffects/"; </script> <script type="text/javascript" src="gbeffects/AJS.js"></script> <script type="text/javascript" src="gbeffects/AJS_fx.js"></script> <script type="text/javascript" src="gbeffects/gb_scripts.js"></script> <link href="gbeffects/gb_styles.css" rel="stylesheet" type="text/css" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" type="text/css" media="print" /> <!-- Sidebar docking boxes (dbx) by Brothercake - [URL="http://www.brothercake.com/"][brothercake][/URL] --> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx.js"></script> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx-key.js"></script> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/dbx.css" media="screen, projection" /> <!--[if lt IE 7]> <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie-gif.css" type="text/css" /> <![endif]--> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php if((is_home() && ($paged < 2 )) || is_single() || is_page() || is_category()){ echo '<meta name="robots" content="index,follow" />'; } else { echo '<meta name="robots" content="noindex,follow" />';} ?> <?php wp_head(); ?> </head> <body> <div id="page"> <div id="wrapper"> <div id="header"> <?php if(is_single() || is_page() || is_archive()){ ?> <div id="page_header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div> <?php } else { ?><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <?php } ?> <div class="description"><?php bloginfo('description'); ?></div> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </div><!-- /header --> <?php include_once("sidebar-left.php"); ?> <div id="left-col"> <div id="nav"> <ul> <li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li> <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?> </ul> </div><!-- /nav --> <?php /* Menu for subpages of current page (thanks to K2 theme for this code) */ global $notfound; if (is_page() and ($notfound != '1')) { $current_page = $post->ID; while($current_page) { $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); $current_page = $page_query->post_parent; } $parent_id = $page_query->ID; $parent_title = $page_query->post_title; // if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) { if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_type != 'attachment'")) { ?> <div id="subnav"> <ul> <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&child_of='. $parent_id); ?> </ul> </div><!-- /sub nav --> <?php } } ?> -
Das grün markierte an der gezeigten Stelle einfügen.
PHP<?php include (TEMPLATEPATH . '/searchform.php'); ?> [COLOR="SeaGreen"]<a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.gif" alt="RSS" title="RSS" border="0" /></a>[/COLOR]
Und es muss sich eine rss.gif-Datei in einem images-Ordner deines Themes befinden, also z.B. wp-content/themes/dein-theme/images/rss.gifKann auch woanders sein, dannn musst du nur den Pfad im HTML-Code ändern. :)
-
Hi Alphawolf!! :-))
Vielen Dank!!! Das Bild ist drin!! Yippieh! :-)
(ja, ich weiß, es ist noch ein jpg, ich muss erst noch ein gif basteln... wegen der Transparenz und so... :-) )
Jetzt bastel ich noch daran, das Bild nach rechts zu bekommen, irgendwie ist die header im Moment div-resistent... ;-)
Ich sag bescheid, sobald es steht!!Danke noch mal und viele Grüße!
André
-
Scheint geklappt zu haben?
-
Hi!
Ja, ich habe es gestern abend hinbekommen!! :-))
Nachdem er meine margin-Befehle einfach immer komplett ignoriert hat, habe ich es mit vspace gelöst... :-)) Danke noch mal für Deine super Hilfe!!! :-)
Einen tollen Start in Deine Woche und viele viele Grüße,André
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!