Am creat răspunsuri în forum

Vizualizare 15 răspunsuri - 16 la 30 (din 88 în total)
  • Forum: Probleme și soluții
    În răspuns la: remove titlu sit

    Daca vrei sa dispara chaosmedia90.com de deasupra logheaza-te pe site, apoi Settings > General, iar la Site Title si Tagline scrii ce vrei sa iti apara in loc de numele site-lui, dupa care salvezi.

    Daca vrei sa renunti la titlu, copiaza in header.php codul de mai jos. Inainte de asta, fa o copie a fisierului (header.php). Bafta!

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package WordPress
     * @subpackage Twenty_Ten
     * @since Twenty Ten 1.0
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php
    	/* We add some JavaScript to pages with the comment form
    	 * to support sites with threaded comments (when in use).
    	 */
    	if ( is_singular() && get_option( 'thread_comments' ) )
    		wp_enqueue_script( 'comment-reply' );
    
    	/* Always have wp_head() just before the closing </head>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to add elements to <head> such
    	 * as styles, scripts, and meta tags.
    	 */
    	wp_head();
    ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div id="wrapper" class="hfeed">
    
        <?php ttw_put_area('preheader'); ?>
    
        <div id="header">
    <?php if (is_active_sidebar('header-widget-area')) { // header widget
    	ob_start(); /* let's use output buffering to allow use of Dynamic Widgets plugin and not have empty sidebar */
    	$success = dynamic_sidebar('header-widget-area');
    	$content = ob_get_clean();
    	if ($success) {
    	?>
        <div id="ttw-head-widget" class="ttw-head-widget-area" role="complementary" >
    	<?php echo($content) ; ?>
        </div> <!-- #ttw-header-widget -->
    <?php 	} } ?>
    	<div id="masthead">
    	    <div id="branding" role="banner">
    		<div id="ttw-site-logo"></div>
    		<div id="ttw-site-logo-link" onclick="location.href='<?php echo home_url( '/' ); ?>';" style="cursor:pointer;"></div>
    		<?php
    		if (!ttw_getopt('ttw_hide_site_title')){	/* TTW - hide site title */ ?>
    		    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    		    <<?php echo $heading_tag; ?> id="site-title">
    		    <span>
    			<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    		    </span>
    		    </<?php echo $heading_tag; ?>>
    		<div id="site-description"><?php bloginfo( 'description' ); ?></div>
    		<?php } /* end hide site title if */ ?>
    		<?php
    		if (!ttw_getopt('ttw_hide_menu') && ttw_getopt('ttw_move_menu')) { 	/* TTW: move header */ ?>
    		<div id="access" role="navigation">
    		    <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    		    <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', TTW_TRANS ); ?>"><?php _e( 'Skip to content', TTW_TRANS ); ?></a></div>
    		    <?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.
    			     The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
    		    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    		    </div><!-- #access -->
    		<?php } ?>
    		<?php
    		if (!ttw_getopt('ttw_hide_menu') && !ttw_getopt('ttw_move_menu')) { 	/* don't move header */ ?>
    
    		<div id="access2" role="navigation">
    		    <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', TTW_TRANS ); ?>"><?php _e( 'Skip to content', TTW_TRANS ); ?></a></div>
    		    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'secondary', 'fallback_cb' => '' ) ); ?>
    
    		</div><!-- #access2 -->
    
    		<?php } ?>
    		<?php
    		if (ttw_getopt('ttw_header_insert')) {	/* header insert defined? */
    		    if (ttw_getopt('ttw_header_frontpage_only')) {
    			if (is_front_page()) echo (do_shortcode(str_replace("\\", "", ttw_getopt('ttw_header_insert'))));
    			} else {
    			    echo (do_shortcode(str_replace("\\", "", ttw_getopt('ttw_header_insert'))));
    			}
    		}
    
    		// The Dynamic Headers shows headers on a per page basis - will also optionally add site link
    		if(function_exists('show_media_header')) show_media_header();  // **Dynamic Headers** built-in support for plugin
    
    		do_action('ttwx_extended_header_insert');				/* add any extension header insert */
    		do_action('ttwx_super_header_insert');		// future extension
    
    		if (HEADER_IMAGE_HEIGHT > 0 && !(ttw_getopt('ttw_header_frontpage_only') && is_front_page() )) {
    			if (ttw_getopt('ttw_link_site_image')) { ?>
    			    <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    		        <?php }
    			// Check if this is a post or page, if it has a thumbnail,  and if it's a big one
    			if ( is_singular() && !ttw_getopt('ttw_hide_featured_header') &&
    			    has_post_thumbnail( $post->ID ) &&
    				( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
    				$image[1] >= HEADER_IMAGE_WIDTH ) :
    				    // Houston, we have a new header image!
    				    echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
    				else : ?>
    
    		<img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
    				    <?php endif;
    				    if (ttw_getopt('ttw_link_site_image')) echo("</a>\n");
    		} /* closes header > 0 */ ?>
    
    	    </div><!-- #branding -->
    		<?php if (!ttw_getopt('ttw_hide_menu') && !ttw_getopt('ttw_move_menu')) { 	/* ttw - move header */ ?>
    
    	    <div id="access" role="navigation">
    		    <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    		<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', TTW_TRANS ); ?>"><?php _e( 'Skip to content', TTW_TRANS ); ?></a></div>
    
    		    <?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
    		    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    	    </div><!-- #access -->
    		<?php } ?>
    		<?php if (!ttw_getopt('ttw_hide_menu') && ttw_getopt('ttw_move_menu')) { 	/* ttw - move header */ ?>
    	    <div id="access2" role="navigation">
    		<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', TTW_TRANS ); ?>"><?php _e( 'Skip to content', TTW_TRANS ); ?></a></div>
    		    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'secondary', 'fallback_cb' => '' ) ); ?>
    	    </div><!-- #access2 -->
    		<?php } ?>
    
    	</div><!-- #masthead -->
        </div><!-- #header -->
    
        <?php ttw_put_area('postheader'); ?>
    
        <div id="main">
    alin1987

    (@alin1987)

    Da. Pentru personalizarea sau creearea unor teme ma poti contacta.

    alin1987

    (@alin1987)

    Nu folosi foarte mule taguri(la primul post ai exagerat putin). Incearca sa iti faci un plan pe hartie despre structura site-ului si apoi treci la treaba. Asa cum a amintit si Eugen, poti folosi http://www.tudi.ro/optimizare-pentru-wordpress.

    alin1987

    (@alin1987)

    :(. Nu stiu, pentru ca imi este greu sa imi dau seama asa care fisier este corupt. Si zici ca acces la FtP nu ai. Mai bine apuca-te de alt site si nu mai umbla peste tot. Google nu il va indexa asa mai repede. Scrie mult continut pe el, cuvintele tale, nu copia din alta parte. bafta

    alin1987

    (@alin1987)

    Tu ai bagat textu ala acolo >? „:)

    alin1987

    (@alin1987)

    Nu imi dau seama acum, dar sunt mai multe cauze. Cred ca unul sau mai multe fisiere sunt corupte, pentru ca in[agina de login apare textul: „canapele,coltare,extensibile din piele,din stofa,mobilier living,mobila living,mobilier dormitor,biblioteca,sufragerie,living,mansarda,dormitoare,bilioteci,mobilier furniruit,mobila furniruita,mobila clasica,mobilier modern,canapele din stofa,coltare din stofa,canapele din piele,coltare din piele,canapele cu sisteme metalice, saltele cu arcuri. Lista Directoare Web„, ceea ce in mod normal nu trebuia sa apara. Daca tu ai modificat unele fisiere sau cine le-a modificat, posibil sa le fi deteriorat

    alin1987

    (@alin1987)

    nu esti nicio eroare. acolo trebuie sa introduci userul si parola cu care te-ai inregistrat. introdu datele si da Log in

    alin1987

    (@alin1987)

    pe ce adresa te loghezi tu ?

    alin1987

    (@alin1987)

    Ce eroare iti da cand incerci sa te conectezi in panoul de control ?

    alin1987

    (@alin1987)

    o intrebare: de ce vrei sa le stergi ?

    Forum: Probleme și soluții
    În răspuns la: Parola aleatorie
    alin1987

    (@alin1987)

    Vezi in setarile pluginului, poate poti dezactiva una din optiuni.

    Folosesti Opera ca browser ?

    Forum: Probleme și soluții
    În răspuns la: Problema

    Eu zic sa il lasi asa, dar daca vrei sa setezi numarul de caractere care apare pe prima pagina foloseste acest plugin.

    Forum: Probleme și soluții
    În răspuns la: Problema

    pune in index.php codul de mai jos si zi-mi daca merge:

    <?php get_header();
    // search reminder
    if ( is_category() ) {
    	echo '<div class="wp-caption aligncenter"><p class="wp-caption-text">' . __( 'Search Results' ) . ' <strong>' . __( 'Category' ) . ': ';
    	wp_title( '',true,'right' );
    	echo ' </strong></p></div>';
    } elseif ( is_tag() ) {
    	echo '<div class="wp-caption aligncenter"><p class="wp-caption-text">' . __( 'Search Results' ) . ' <strong>' . __( 'Tag' ) . ': ';
    	wp_title( '',true,'right' );
    	echo ' </strong></p></div>';
    } elseif ( is_date() ) {
    	echo '<div class="wp-caption aligncenter"><p class="wp-caption-text">' . __( 'Search Results' ) . ' <strong>' . __( 'Archives' ) . ': ';
    	wp_title( '',true,'right' );
    	echo ' </strong></p></div>';
    }
    
    if ( have_posts() ) {
    	while ( have_posts() ) {
    		the_post(); //start post loop ?>
    			<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    
    				<h2 class="storytitle">
    					<a href="<?php the_permalink() ?>" rel="bookmark">
    						<?php
    						$post_title = the_title_attribute( 'echo=0' );
    						if ( !$post_title ) {
    							_e( '(no title)' );
    						} else {
    							echo $post_title;
    						}
    						?>
    					</a>
    				</h2>
    
    				<div class="meta top_meta">
    
    					<div class="metafield_trigger" style="left: 10px;"><?php _e( 'by','fastfood' ); ?> <?php the_author() ?></div>
    					<div class="metafield">
    						<div class="metafield_trigger mft_date" style="right: 100px; width:16px"> </div>
    						<div class="metafield_content">
    							<?php printf( __( 'Published on: <b>%1$s</b>' ), '' ); the_time( get_option( 'date_format' ) ); ?>
    						</div>
    					</div>
    
    					<div class="metafield">
    						<div class="metafield_trigger mft_cat" style="right: 10px; width:16px"> </div>
    						<div class="metafield_content">
    							<?php echo __( 'Categories' ) . ':'; ?>
    							<?php the_category( ', ' ) ?>
    						</div>
    					</div>
    
    					<div class="metafield">
    						<div class="metafield_trigger mft_tag" style="right: 40px; width:16px"> </div>
    						<div class="metafield_content">
    							<?php
    							_e( 'Tags:' );
    							if ( !get_the_tags() ) {
    								_e('No Tags');
    							} else {
    								the_tags( '', ', ', '' );
    							}
    							?>
    						</div>
    					</div>
    
    					<div class="metafield">
    						<div class="metafield_trigger mft_comm" style="right: 70px; width:16px"> </div>
    						<div class="metafield_content">
    							<?php _e( 'Comments' ); ?>:
    							<?php comments_popup_link( __( 'No Comments' ), __( '1 Comment' ), __( '% Comments' )); // number of comments ?>
    						</div>
    					</div>
    
    					<div class="edit_link metafield_trigger" style="right: 130px;"><?php edit_post_link( __( 'Edit' ),'' ); ?></div>
    
    				</div>
    
    				<div class="storycontent">
    					<?php the_excerpt(); ?>
    				</div>
    
    				<div>
    					<?php wp_link_pages( 'before=<div class="comment_tools">' . __( 'Pages:' ) . '&after=</div><div class="fixfloat"></div>' ); ?>
    				</div>
    
    				<div class="fixfloat"> </div>
    
    			</div>
    		<?php } //end while ?>
    
    	<div class="w_title">
    		<?php //num of pages
    		global $paged;
    		if ( !$paged ) {
    			$paged = 1;
    		}
    		printf( __( 'page %1$s of %2$s','fastfood' ), $paged, $wp_query->max_num_pages );
    		?>
    	</div>
    
    <?php } else { ?>
    
    	<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
    
    <?php } //endif ?>
    
    <?php get_footer(); ?>

    Forum: Probleme și soluții
    În răspuns la: Problema

    in tema.

Vizualizare 15 răspunsuri - 16 la 30 (din 88 în total)