Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Sa fie microfon defect ?

Depanare pompa ULKA E type EP5GW ...

Write Only Usb Stick

Problema releu termic pompa subme...
 Cont curent in RON - ce facilitat...

se pot pune 2 BMS-uri in paralel?

Bicicleta ușor de reparat

Euroins a intrat in faliment
 Nu mai are airbag-uri mașina?

Cea mai buna varianta (banca, CSV...

Facultatea de design de produs si...

Recomandare mousepad low friction...
 Aer conditionat Samsung

KVM Switch, e PC's

Ce planta este asta?

Garnitura WC
 

Eroare instalare tema wordpress

- - - - -
  • Please log in to reply
3 replies to this topic

#1
dani555

dani555

    Active Member

  • Grup: Members
  • Posts: 1,077
  • Înscris: 02.12.2011
Buna tuturor
Am facut o tema simpla pentru Wordpress dar nu reusesc sa o instalez
Am arhivat tot pachetul in format Zip
Am creeat folderul Dani5
Am creeat urmatoarele fisiere:
header.php
Codul urmator:
<html>
  <head>
  Tema <title> Dani5 </ title>
  <Link rel = "stylesheet" href = "<Dani5 php ("style.css");?>">
  </ Head>
  <body>
  <div id="wrapper">
  <div id="header">
  <h1> HEADER </ h1>
  </ Div>

Index.php
Cu urmatorul cod:
<?php get_header(); ?>
<div id="main">
<div id="content">
<h1>Main Area</h1>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<h4>Posted on <?php the_time('F jS, Y') ?></h4>
<p><?php the_content(__('(more...)')); ?></p>
<hr> <?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<div id="delimiter">
</div>
<?php get_footer(); ?>

sidebar.php
cu urmatorul cod:
<div id="sidebar">
<h2 ><?php _e('Categories'); ?></h2>
<ul >
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
<h2 ><?php _e('Archives'); ?></h2>
<ul >
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>

footer.php
cu urmatorul cod:
<div id="footer">
<h1>FOOTER</h1>
</div>
</div>
</body>
</html>


style.css
cu urmatorul cod
body { text-align: center; }
#wrapper { display: block; border: 1px #a2a2a2 solid; width:90%;  margin:0px auto; }
#header { border: 2px #a2a2a2 solid; }
#content { width: 75%; border: 2px #a2a2a2 solid; float: left; }
#sidebar { width: 23%; border: 2px #a2a2a2 solid; float: right; }
#delimiter { clear: both; }
#footer { border: 2px #a2a2a2 solid; }
.title { font-size: 11pt; font-family: verdana; font-weight: bold; }


Eroarea care imi apare la instalare este urmatoarea
Installing Theme from uploaded file: Dani5.zip
Unpacking the package…
Installing the theme…
The package could not be installed. The style.css stylesheet doesn't contain a valid theme header.
Theme install failed.

#2
ciuschi

ciuschi

    Member

  • Grup: Members
  • Posts: 254
  • Înscris: 20.10.2007
Pai nu ai header
/*
Theme Name: Twenty Thirteen
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

http://codex.wordpre...eme_Development

#3
dani555

dani555

    Active Member

  • Grup: Members
  • Posts: 1,077
  • Înscris: 02.12.2011
Eu instalez tema pe localhost si nu stiu ce sa scriu
Am mai modificat pentru Css in header am pus
Tema <title> Dani5 </ title>
  <link href = "style.css" rel="stylesheet" type = "text/css">
Dar tot nu a mers

#4
dani555

dani555

    Active Member

  • Grup: Members
  • Posts: 1,077
  • Înscris: 02.12.2011
Am adaugat descrierea si a mers instalata tema
Merci de raspuns

Anunturi

Second Opinion Second Opinion

Folosind serviciul second opinion ne puteți trimite RMN-uri, CT -uri, angiografii, fișiere .pdf, documente medicale.

Astfel vă vom putea da o opinie neurochirurgicală, fără ca aceasta să poată înlocui un consult de specialitate. Răspunsurile vor fi date prin e-mail în cel mai scurt timp posibil (de obicei în mai putin de 24 de ore, dar nu mai mult de 48 de ore). Second opinion – Neurohope este un serviciu gratuit.

www.neurohope.ro

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate