Skocz do zawartości

Rekomendowane odpowiedzi

Zarejestruj się za darmo i naucz się zarabiać online!

  • Dostęp do darmowych poradników pokazujących krok po kroku jak zarabiać w Internecie
  • Sposoby zarabiania niepublikowane nigdzie indziej
  • Aktywna społeczność, która pomoże Ci rozwiązać problemy i doradzi
  • Profesjonalne treści na temat SEO, social media, afiliacji, kryptowalut, sztucznej inteligencji i wiele więcej!

W którym miejscu mam to zmienić? :)

W single.php mam takie coś:

<?php        get_header();        $cb_post_id = $post->ID;        cb_visit_counter( $cb_post_id );        $cb_comments_onoff = ot_get_option('cb_comments_onoff', 'cb_comments_on');        $cb_author_box_onoff = ot_get_option('cb_author_box_onoff', 'on');        $cb_related_onoff = ot_get_option( 'cb_related_onoff', 'on' );        $cb_previous_next_onoff = ot_get_option('cb_previous_next_onoff', 'on');        $cb_social_sharing = ot_get_option('cb_social_sharing', 'on');        $cb_breadcrumbs = ot_get_option('cb_breadcrumbs', 'on');        $cb_featured_image_style_override_onoff = ot_get_option('cb_post_style_override_onoff', 'off');        $cb_featured_image_style_override_style = ot_get_option('cb_post_style_override', 'standard');        $cb_post_format = get_post_format();        $cb_full_width_post = get_post_meta( $cb_post_id, 'cb_full_width_post', true );        $cb_featured_image_style = get_post_meta( $cb_post_id, 'cb_featured_image_style', true );        $cb_featured_image_style_override_post_onoff = get_post_meta( $cb_post_id, 'cb_featured_image_style_override', true );        $cb_review_checkbox = get_post_meta($cb_post_id, 'cb_review_checkbox', true );        $cb_sidebar_position = $cb_social_style = NULL;        $cb_full_width_post = get_post_meta( $cb_post_id, 'cb_full_width_post', true );        if ( $cb_related_onoff == 'cb_related_off' ) {            $cb_related_onoff = 'off';        }        if ( $cb_social_sharing == 'on_big' ) {            $cb_social_style = 'cb-social-big';        }        if ( $cb_full_width_post == 'sidebar_left' ) {            $cb_sidebar_position = 'cb-sidebar-left ';        } elseif ( $cb_full_width_post == 'nosidebar' ) {             $cb_sidebar_position = 'cb-full-width ';        }        if ( ( $cb_featured_image_style_override_onoff == 'on' ) && ( $cb_featured_image_style_override_post_onoff != 'on') ) {           $cb_featured_image_style = $cb_featured_image_style_override_style;        }        if ( $cb_featured_image_style == NULL ) {             $cb_featured_image_style = 'standard';        }        if ( have_posts() ) : while ( have_posts() ) : the_post();            if ( ( $cb_featured_image_style == 'full-width' ) && ( $cb_breadcrumbs != 'off' ) ) { echo cb_breadcrumbs(); }            if ( ( $cb_featured_image_style != 'standard' ) && ( $cb_featured_image_style != 'off' ) && ( $cb_post_format != 'gallery' ) ) {                 echo cb_featured_image( $post, $cb_featured_image_style ) ;            }            if ( $cb_post_format == 'gallery' ) {                echo cb_gallery_post( $cb_post_id );            }?>            <div id="cb-content" class="wrap clearfix">				   <?php if ( ( $cb_featured_image_style == 'standard' ) && ( $cb_breadcrumbs != 'off' ) ) { echo cb_breadcrumbs(); } ?>					<div id="main" class="<?php echo $cb_sidebar_position; ?>clearfix" role="main">							<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" <?php if ( $cb_review_checkbox != '1' ) { echo 'itemscope itemtype="http://schema.org/BlogPosting"'; } ?>>                                 <?php                                            if ( ( $cb_featured_image_style == 'off' ) &&  ( $cb_breadcrumbs != 'off' ) ) { echo cb_breadcrumbs( 'padding-off' ); }                                            if ( ( $cb_featured_image_style == 'standard' ) && ( $cb_post_format != 'gallery' ) ) { echo cb_featured_image( $post, 'standard' ); }                                            if ( ( $cb_featured_image_style == 'off' ) || ( $cb_post_format == 'gallery' ) ) { echo cb_featured_image( $post, 'off' ); }                                 ?>								<section class="entry-content clearfix" <?php if ( $cb_review_checkbox == '1' ) { echo 'itemprop="reviewBody"'; } else { echo 'itemprop="articleBody"'; } ?>>									<?php  the_content(); ?>								</section> <!-- end article section -->								<footer class="article-footer">									<?php                                           wp_link_pages('before=<div class="cb-post-pagination clearfix">&after=</div>&next_or_number=number&pagelink=<span class="wp-link-pages-number">%</span>');                                           the_tags('<p class="cb-tags"> ', '', '</p>');                                           if ( $cb_social_sharing != 'off' ) { echo cb_social_sharing($post, $cb_social_style); }                                           if ( ( $cb_previous_next_onoff != 'cb_previous_next_off' ) && ( $post->post_type != 'attachment' ) ) { cb_previous_next_links(); }                                           if ( $cb_author_box_onoff != 'cb_author_box_off' ) { echo cb_author_box($post); }                                           if ( $cb_related_onoff != 'off' ) { cb_related_posts(); }                                     ?>								</footer> <!-- end article footer -->								<?php if ( $cb_comments_onoff == 'cb_comments_on' ) { comments_template(); } ?>							</article> <!-- end article -->						<?php endwhile; ?>						<?php endif; ?>					</div> <!-- end #main -->					<?php if ( $cb_full_width_post != 'nosidebar' ) { get_sidebar(); } ?>			</div> <!-- end #cb-content --><?php get_footer(); ?>
Odnośnik do komentarza
  • 1 miesiąc temu...

odpowiedni element {

display: none;

}

 

Daja do odpowiedniego elementu, który odpowiada za wyświetlanie daty to co wyżej napisałam. Żeby sprawdzić co to za odpowiedni element naicśnij na dacie prawym przyciskiem i wybierz "Zbadaj element". P oprawej stronie na dole pokaże się Tobie "odpowiedni element". Dopisz do niego to display: none; i zapisz to w swjej wtyczce css czy pliku z cssem :)

Odnośnik do komentarza
Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Ta strona korzysta z ciasteczek, aby świadczyć usługi na najwyższym poziomie. Dalsze korzystanie z witryny oznacza zgodę na ich wykorzystanie. Polityka prywatności .