Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Legatura dintre religiile dominan...

ochelari achizitionati azi 27 sep...

Plita cu inductie si circuitul pa...

Care este procedura pentru a deve...
 Elemente cheie pentru achizitia u...

Bluray player-ele vechi pot reda ...

Credeți ca generația ta...

Totul despre AEROITALIA
 Kia E-niro 2021 64kwh

Neclaritate Bios Placa de baza Gi...

Black Friday 2023 (TOPIC DISCUTII...

Nou proiect de lege pentru prosum...
 Backup si restaurare drivere

Cu masina la supermarket

RCA to jack 3.5

Personal medical in varsta lipsa ...
 

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

Chirurgia spinală minim invazivă Chirurgia spinală minim invazivă

Chirurgia spinală minim invazivă oferă pacienților oportunitatea unui tratament eficient, permițându-le o recuperare ultra rapidă și nu în ultimul rând minimizând leziunile induse chirurgical.

Echipa noastră utilizează un spectru larg de tehnici minim invazive, din care enumerăm câteva: endoscopia cu variantele ei (transnazală, transtoracică, transmusculară, etc), microscopul operator, abordurile trans tubulare și nu în ultimul rând infiltrațiile la toate nivelurile coloanei vertebrale.

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