Hallo zusammen,
nachdem ich sämtliche abrufbaren Plugins und Code-Schnipsel ausprobiert habe und keinen Erfolg hatte, versuche ich es nun auf diesem Wege. Für den Betrachter meiner Seite (vereinsintern) soll nicht erkennbar sein, dass es sich um einen Beitrag handelt, und schon gar nicht, dass dieser kategorisiert ist, und von wann und wem geschrieben. Ich schaffe es zwar, Autor und Veröffentlichungsdatum auszublenden, allerdings nicht die Kategorie, Aber selbst bei Autor und V.datum verbleiben zwei kleine icons, die nicht sein sollen. Meiner Meinung nach liegt das Problem in der style.css, in den anderen Dateien (single.php, archive.php) bin ich nicht fündig geworden. Könnt Ihr mir helfen bzw. sagen, wo ich auskommentieren muss?
}
}
/*clear left margin*/
.clr-margin { margin-left: 0 }
/* Site Widths
----------------------------------------------------------- */
.container { width: 1040px; min-width: 200px; max-width: 85%; margin: 0 auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.sidebar-container { padding-left: 20px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.sidebar-container h4 { margin: 0 0 20px }
.content-area.span_16 { max-width: 650px }
/* Lists
----------------------------------------------------------- */
.entry ul, .entry ol { margin: 30px 0 30px 30px }
.entry ul { list-style: disc }
.entry ol { list-style: decimal }
/* Forms
----------------------------------------------------------- */
/*buttons*/
button, input[type="button"], input[type="submit"], input[type="submit"] { font-family: inherit; display: inline-block; *display: inline; padding: 4px 12px; margin: 0; font-size: 12px; line-height: 20px; color: #333333; text-align: center; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); vertical-align: middle; cursor: pointer; background-color: #f5f5f5; *background-color: #e6e6e6; background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); background-repeat: repeat-x; border: 1px solid #cccccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); *zoom: 1; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -webkit-transition: background 0.1s linear; }
button:hover, input[type="button"]:hover, input[type="submit"]:hover, #commentsbox input[type="submit"]:hover { color: #333333; background-image: none; background-color: #f6f6f6; }
button:active, input[type="button"]:active, input[type="submit"]:active, #commentsbox input[type="submit"]:active { outline: 0; -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); }
/* WordPress Styles
Alles anzeigen
Oder hier:
[CODE][/*read more*/
a.read-more { float: right; margin-top: 10px; }
a.read-more:hover { color: #000; text-decoration: none; }
blockquote { border-left: double #ddd; margin: 20px; padding-left: 20px; font-family: Georgia, Times New Roman, Times, serif; font-style: italic; font-size: 21px; color: #999; line-height: 1.4em; }
blockquote p:last-child { margin: 0 }
pre { background: #eee; margin: 20px 0px; padding: 20px; border: 1px solid #ddd; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; text-shadow: 1px 1px 1px rgba(255,255,255,0.85); }
address { letter-spacing: 1px; margin: 20px 0; }
#page-featured-img { position: relative; margin: -30px -25px 25px; border-bottom: 5px solid #eee; margin-bottom: 25px; }
#page-featured-img img { display: block; width: 100%; }
.blog-entry.sticky { padding: 20px; background: #f6f6f6; border-bottom: 4px solid #ddd; }
.blog-entry.sticky .meta li { background-color: #e6e6e6 }
.bypostauthor { }
/* Typography
/CODE]
Oder hier:
----------------------------------------------------------- */
.home-block { margin-top: 20px; }
/*headings*/
#home-wrap .heading { text-align: center; text-transform: uppercase; color: #666; font-weight: normal; font-size: 11px; margin-top: 0; }
#home-wrap .heading span { padding-left: 20px }
/*tagline*/
#home-tagline { font-family: Georgia, Times New Roman, Times, serif; color: #333; font-size: 21px; line-height: 1.7em; text-align: center; font-style: italic; }
#home-tagline a { border-bottom: 1px dotted #eb6b1e }
#home-tagline a:hover { text-decoration: none }
/*home blog*/
#home-blog { margin-bottom: -25px; overflow: hidden; }
.home-blog-entry-img-link { display: block; border: 1px solid #ddd; margin-bottom: 13px; }
.home-blog-entry-img-link img { width: 100%; display: block; padding: 3px; background: #eee; border: 1px solid #fff; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.home-blog-entry-img-link img:hover { opacity: 0.8; -moz-opacity: 0.8; -webkit-opacity: 0.8; }
.home-blog-entry h2 { line-height: 1.4em; font-size: 12px; font-weight: bold; margin: 10px 0 7px 0; padding-bottom: 7px; border-bottom: 1px solid #eee; }
/* Slider
-----------------------------------------------------------
Alles anzeigen
[CODE][/*entry*/
.blog-entry { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #eee; }
.blog-entry p:last-child { margin: 0 }
.blog-entry-img-link { display: block; border: 1px solid #ddd; margin-bottom: 20px; }
.blog-entry-img-link img { display: block; width: 100%; padding: 3px; background: #eee; border: 1px solid #fff; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.blog-entry-img-link img:hover { opacity: 0.8; -moz-opacity: 0.8; -webkit-opacity: 0.8; }
.blog-entry h2 { margin-bottom: 25px; margin: 7px 0 15px; font-size: 21px; line-height: 25px; }
/*post-thumbnail*/
/CODE]
in der single.php hatte auskommentieren nicht geklappt:
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<header class="page-header">
<h1 class="page-header-title"><?php the_title(); ?></h1>
<nav class="single-nav clr">
<?php next_post_link('<div class="single-nav-left">%link</div>', '<span class="fa fa-chevron-left"></span>', false); ?>
<?php previous_post_link('<div class="single-nav-right">%link</div>', '<span class="fa fa-chevron-right"></span>', false); ?>
</nav><!-- .page-header-title -->
</header><!-- .page-header -->
<div id="primary" class="content-area span_16 col clr clr-margin">
<div id="content" class="site-content" role="main">
<?php if ( !post_password_required() ) { ?>
<ul class="meta single-meta clr">
<li><span class="fa fa-clock-o"></span><?php echo get_the_date(); ?></li>
<li><span class="fa fa-folder-open"></span><?php the_category(' / '); ?></li>
<?php if( comments_open() ) { ?>
<li class="comment-scroll"><span class="fa fa-comment"></span> <?php comments_popup_link(__('Leave a comment', 'wpex'), __('1 Comment', 'wpex'), __('% Comments', 'wpex'), 'comments-link', __('Comments closed', 'wpex')); ?></li>
<?php } ?>
<li><span class="fa fa-user"></span><?php the_author_posts_link(); ?></li>
</ul><!-- .meta -->
<?php get_template_part('content', get_post_format() ); ?>
<?php } ?>
<article class="entry clr">
<?php the_content(); ?>
</article><!-- /entry -->
<?php
// Post pagination
wp_link_pages( array( 'before' => '<div class="page-links clr">', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
<?php
// Tags
if ( of_get_option( 'blog_tags', '1' ) ) { ?>
<?php the_tags('<div class="post-tags clr">','','</div>'); ?>
<?php } ?>
<?php
// Author bio
if ( of_get_option('blog_bio', '1' ) && get_the_author_meta( 'description' ) ) { ?>
<?php get_template_part( 'author-bio' ); ?>
<?php } ?>
<?php
// Related posts
if ( of_get_option('blog_related', '1' ) ) { ?>
<?php get_template_part( 'content', 'related-posts' ); ?>
<?php } ?>
<?php comments_template(); ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php endwhile; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Viel Erfahrung habe ich - zugegeben - nicht.
Vielen Dank.
Uwe