Hallo Leute,
ich habe gerade einen Katastrophen-Fehler. Die vollständige Fehlermeldung lautet:
[COLOR=#000000][FONT=Times]Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /mnt/webi/d2/14/53441914/htdocs/wordpress/wp-content/themes/Scylla_Pro/functions.php on line 9
Hier noch den ersten Block meines [/FONT][/COLOR][FONT=Times][size=12][COLOR=#000000]Funktion.php`s
[/COLOR][/SIZE][/FONT]<?php
add_theme_support('automatic-feed-links');
if ( ! isset( $content_width ) )
$content_width = 560;
function add_search_to_wp_menu ( $items, $args ) {
if( 'primary' === $args -> theme_location ) {
$items .= '<li class="menu-item menu-item-search">';
$items .= '<form method="get" class="menu-search-form" action="' . get_bloginfo('home') . '/"><p><input class="text_input" type="text" name="s" id="s" placeholder="suchen..." onfocus="this.placeholder = ''" onblur="this.placeholder = 'suchen...'" /><input type="submit" class="my-wp-search" id="searchsubmit" value="suche" /></p></form>';
$items .= '</li>';
}
return $items;
}
add_filter('wp_nav_menu_items','add_search_to_wp_menu',10,2);
//Post Thumbnail
Ich hoffe, dass ihr mir hier schnell helfen könnt ...
Vielen Dank im voraus