Startseite ohne den Text "gepostet von"

  • Hi, habe eine Startseite, ein Artikel, auf dem immer die Info kommt "gepostet von" und das Datum. Kann man diesen gesamten Text entfernen?

    http://www.cross-shaping-bonn.info/wordpress

    Dann noch ne Frage, kann ich bei der URL den Hinweis auf wordpress entfernen. Die Domain ist gekauft. Mich stört aber der hintere Textteil. Habe viele Wordpress-HP gesehen, die das nicht haben.

    Unter der Startseite steht ja sowieso, dass es eine wordpress-site ist.

    Danke

    Herbert

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • zu 1.) kann man, wenn die Startseite eine Seite ist, und man bei Seiten auf "gepostet von " etc. im Template verzichtet oder wenn man bei der ID der Startseite den Teil im Template nur ausgeben lässt, wenn != ID der Startseite.


    zu 2.) Deine Installation liegt nun mal im Verzeichnis /wordpress. Ist bei mir auch so.
    Domain direkt auf diese Verzeichnis leiten, dann wird der Teil /wordpress nicht angezeigt. Geht bei zB all-inkl (bei mir mit meiner Domain) im KAS.

  • Hi,
    die zweite Antwort ist mir jetzt klar.

    zur ersten schaue ich noch nicht richtig durch, wo muss ich denn da dran drehen? An der style.css des thems?

    Versuche es mir bitte kleinschrittig zu erklären - grins.

  • <?php
    /* Arclite/digitalnature */
    get_header();
    ?>

    <!-- main wrappers -->
    <div id="main-wrap1">
    <div id="main-wrap2">

    <!-- main page block -->
    <div id="main" class="block-content">
    <div class="mask-main rightdiv">
    <div class="mask-left">

    <!-- first column -->
    <div class="col1">
    <div id="main-content">

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <!-- post -->
    <div id="post-<?php the_ID(); ?>" <?php if (function_exists("post_class")) post_class(); else print 'class="post"'; ?>>

    <div class="post-header">
    <h3 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','arclite'); echo ' '; the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    <p class="post-date">
    <span class="month"><?php the_time(__('M','arclite')); ?></span>
    <span class="day"><?php the_time(__('j','arclite')); ?></span>
    </p>
    <p class="post-author">
    <span class="info"><?php printf(__('Posted by %s in %s','arclite'),'<a href="'. get_author_posts_url(get_the_author_ID()) .'" title="'. sprintf(__("Posts by %s","arclite"), attribute_escape(get_the_author())).' ">'. get_the_author() .'</a>',get_the_category_list(', '));
    ?> | <?php comments_popup_link(__('No Comments', 'arclite'), __('1 Comment', 'arclite'), __('% Comments', 'arclite'), 'comments', __('Comments off', 'arclite')); ?> <?php edit_post_link(__('Edit','arclite'),' | '); ?>
    </span>
    </p>
    </div>

    <div class="post-content clearfix">
    <?php if(get_arclite_option('post_preview')=='excerpt') the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'arclite')); ?>

    <?php
    $posttags = get_the_tags();
    if ($posttags) { ?>
    <p class="tags"> <?php the_tags(__('Tags:','arclite').' ', ', ', ''); ?></p>
    <?php } ?>
    </div>

    </div>
    <!-- /post -->


    <?php endwhile; ?>

    <div class="navigation" id="pagenavi">
    <?php if(function_exists('wp_pagenavi')) : ?>
    <?php wp_pagenavi() ?>
    <?php else : ?>
    <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','arclite')) ?></div>
    <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','arclite')) ?></div>
    <div class="clear"></div>
    <?php endif; ?>
    </div>
    <?php else : ?>
    <h2><?php _e("Not Found","arclite"); ?></h2>
    <p class="error"><?php _e("Sorry, but you are looking for something that isn't here.","arclite"); ?></p>
    <?php get_search_form(); ?>
    <?php endif; ?>

    </div>
    </div>
    <!-- /first column -->
    <?php get_sidebar(); ?>
    <?php include(TEMPLATEPATH . '/sidebar-secondary.php'); ?>

    </div>
    </div>
    <div class="clear-content"></div>
    </div>
    <!-- /main page block -->

    </div>
    </div>
    <!-- /main wrappers -->

    <?php get_footer(); ?>

  • PHP
    <p class="post-author">
    <span class="info"><?php printf(__('Posted by %s in %s','arclite'),'<a href="'. get_author_posts_url(get_the_author_ID()) .'" title="'. sprintf(__("Posts by %s","arclite"), attribute_escape(get_the_author())).' ">'. get_the_author() .'</a>',get_the_category_list(', '));
    ?> | <?php comments_popup_link(__('No Comments', 'arclite'), __('1 Comment', 'arclite'), __('% Comments', 'arclite'), 'comments', __('Comments off', 'arclite')); ?> <?php edit_post_link(__('Edit','arclite'),' | '); ?>
    </span>
    </p>



    Diesen Teil auskommentieren mit <!-- und -->.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!