Hallo,
danke für die schnelle Antwort.
In dem Thema steht man soll folgendes tun:
1.) Quelltext Deiner WP index im Browser aufrufen. Kopiere dort den ganzen div container für den header-Bereich deines WP. / Sichere den Code in einer *txt Datei.
2.) Die WP css-Anweisung dort dito kopieren (etwa das: "<link rel="stylesheet" href="http://www.DEINEDOMAIN.de/wp-content/themes/theme/style.css" type="text/css" media="screen" />.") / Auch diesen Code am besten in einer *txt Datei sichern.
3.) Gehe ins ACP deines vB: Öffne das template header.
4.) Dort ganz an den Anfang sämtlichen header-code aus dem WP reinkopieren.
5.) Evt. den logo-Code dort im Original vb header template löschen.
6.) Die css-Verlinkung einfügen!
7.) ---: Fertig
Habe ich dann gemacht, aber hat leider nicht funktioniert.
In meiner index.php von meinem Wordpress Template (JQ) steht folgendes drin:
PHP-Code:
<?php get_header(); ?>
<div id="content" class="clearfix">
<?php get_sidebar(); ?>
<div id="left">
<?php include (TEMPLATEPATH . "/wp-loop.php"); ?>
</div>
</div>
<?php get_footer(); ?>
In meiner header.php von meinem Wordpress Template (JQ) steh folgendes drin:
PHP-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php //language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php if ( is_home() ) { ?><?php bloginfo('description'); ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_search() ) { ?><?php echo $s; ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_single() ) { ?><?php wp_title(''); ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_page() ) { ?><?php wp_title(''); ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_category() ) { ?>Archive <?php single_cat_title(); ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_month() ) { ?>Archive <?php the_time('F'); ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_tag() ) { ?><?php single_tag_title();?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_404() ) { ?>Sorry, not found! - <?php bloginfo('name'); ?><?php } ?>
</title>
<?php
/* This code retrieves all our admin options. */
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php /* Style Schemes */
if ($jq_style_scheme == 'Default') { ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php } ?>
<?php
if ($jq_style_scheme == 'Icon') { ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/lib/css/style_icon.css" type="text/css" media="screen" />
<?php } ?>
<?php
if ($jq_style_scheme == 'Dark') { ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/lib/css/style_dark.css" type="text/css" media="screen" />
<?php } ?>
<?php
if ($jq_style_scheme == 'Green') { ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/lib/css/style_green.css" type="text/css" media="screen" />
<?php } ?>
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/lib/js/jquery.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/lib/js/superfish.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/lib/js/supersubs.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/lib/js/cookies.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/lib/js/fontResizer.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/lib/js/theme.js"></script>
<style type="text/css">
<?php /* Sidebar position */
if (!($jq_sidebar_left == "false")) { ?>
div#left {float: right; padding: 10px 0 10px 20px;}
div#right {float: left; padding: 10px 20px 10px 0;}
<?php } ?>
<?php /* Custom bg colour */
if ($jq_bg_color) { ?>
body {background: <?php echo $jq_bg_color; ?>;}
<?php } ?>
<?php /* Custom page colour */
if ($jq_page_color) { ?>
div#content {background: <?php echo $jq_page_color; ?>;}
div#appendix {background: <?php echo $jq_page_color; ?>;}
<?php } ?>
</style>
<!-- wp_head -->
<?php wp_head(); ?>
</head>
<body>
<div id="outline">
<div id="blog-line">
<!-- blog title and tag line -->
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a> | <?php bloginfo('description'); ?></h1>
</div>
<!-- page navigation -->
<div id="nav" class="clearfix">
<ul class="sf-menu">
<li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php /* Navigation */
if ($jq_nav_display == "false") {
wp_list_pages('title_li=&depth=4&sort_column=menu_order');
} else {
wp_list_categories('depth=2&title_li=0&orderby=name&show_count=0');
} ?>
</ul>
<ul id="mail_rss">
<?php /* Navigation */
if ($jq_mail_display == "false") { ?>
<li><a href="mailto:<?php bloginfo('admin_mail'); ?>">Mail</a></li>
<?php } ?>
<li><a href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
</ul>
</div>
<!-- ending header template -->
und meine style.css befinden sich hier:
PHP-Code:
http://memoryprinz.de/gpsvision/wordpress/wp-content/themes/jq/style.css
Könnt Ihr mir Bitte sagen, was ich davon in meinen Header von vB (vbulletin) einfügen muss?
gruss Markus
Lesezeichen