Hallo,
ich komme nicht so richtig mit Wpads klar, das heißt ich möchte in jedem Artikel links oben eine Zone einfügen. Ich weiß, das ich die Zone in der single.php einfügen muss. Habe aber keine Ahnung wo. Ich hoffe ihr könnt mir helfen. Hier ist die Single.php, das Template wurde mit Artisteer erstellt.
PHP
<?php get_header(); ?>
<div class="art-content-layout">
<div class="art-content-layout-row">
<div class="art-layout-cell art-content">
<?php
get_sidebar('top');
global $post;
if (have_posts()){
if (art_get_option('art_single_pagination')) {
// previous_post_link | next_post_link
art_pagination(array('next_link' => art_get_previous_post_link('« %link'),'prev_link' => art_get_next_post_link('%link »')));
}
while (have_posts())
{
the_post();
art_post_wrapper(
array(
'id' => art_get_post_id(),
'class' => art_get_post_class(),
//'thumbnail' => art_get_post_thumbnail(),
'title' => art_get_meta_option($post->ID, 'art_show_post_title') ? get_the_title() : '',
'before' => art_get_metadata_icons('date,author,edit', 'header'),
'content' => art_get_content(), // 'content' => 'My post content',
'after' => art_get_metadata_icons('category,tag', 'footer')
)
);
comments_template();
}
} else {
art_post_wrapper(
array(
'title' => __('Not Found', THEME_NS),
'content' => '<p class="center">'
.__( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', THEME_NS)
. '</p>' . "\r\n" . art_get_search()
)
);
}
get_sidebar('bottom');
?>
<div class="cleared"></div>
</div>
<div class="art-layout-cell art-sidebar1">
<?php get_sidebar('default'); ?>
<div class="cleared"></div>
</div>
</div>
</div>
<div class="cleared"></div>
<?php get_footer();
Alles anzeigen
Schonmal Danke für die Hilfe
MfG Daniel