Problema tema WordPress

bloom7

Nuovo Utente
11 Ott 2008
26
3
0
ciao a tutti, sto provando ad utilizzare il php. Premetto che sono dei theme proposti da wordpress. Quando lo provo mi da questo messaggio:

Fatal error: Call to undefined function arjuna_get_options() in C:\Program Files\EasyPHP5.3.0\www\arjuna-x.1.2.1\arjuna-x\index.php on line 1

Vi posto anche il file index.php che è questo:
<?php $arjunaOptions = arjuna_get_options(); ?>
<?php get_header(); ?>

<div class="contentArea">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<div class="postHeader">
<h2 class="postTitle"><span><a href="<?php the_permalink() ?>" title="<?php _e('Permalink to', 'Arjuna'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></span></h2>
<div class="bottom"><div>
<span class="postDate"><?php the_time(get_option('date_format')); ?><?php
//Time
if($arjunaOptions['postsShowTime']) {
print _e(' at ', 'Arjuna'); the_time(get_option('time_format'));
}
?></span>
<?php if($arjunaOptions['postsShowAuthor']): ?>
<span class="postAuthor"><?php the_author_posts_link(); ?></span>
<?php endif; ?>
<a href="<?php comments_link(); ?>" class="postCommentLabel"><span><?php
if (function_exists('post_password_required') && post_password_required()) {
_e('Pass required', 'Arjuna');
} elseif(0 == $post->comment_count && !comments_open() && !pings_open()) {
_e('Comments off', 'Arjuna');
} else {
comments_number(__('No comments', 'Arjuna'), __('1 comment', 'Arjuna'), __('% comments', 'Arjuna'));
}
?></span></a>
</div></div>
</div>
<div class="postContent">
<?php the_content(__('continue reading...', 'Arjuna')); ?>
</div>
<div class="postFooter"><div class="r"></div>
<div class="left">
<span class="postCategories"><?php the_category(', '); ?></span>
<?php if ( function_exists('the_tags') ): ?>
<span class="postTags"><?php
if (get_the_tags()) the_tags('', ', ', '');
else print '<span>'.__('<i>none</i>', 'Arjuna').'</span>';
?></span>
<?php endif; ?>
</div>
<a href="<?php the_permalink() ?>" class="postReadMore"><span><?php _e('Read more', 'Arjuna'); ?></span></a>
</div>
</div>
<?php endwhile; ?>

<?php
if($arjunaOptions['pagination']) {
arjuna_get_pagination(__('Previous Page', 'Arjuna'), __('Next Page', 'Arjuna'));
} elseif(function_exists('wp_paginate')) {
print '<div class="pagination">';
wp_paginate();
print '</div>';
} elseif(function_exists('wp_pagenavi')) {
print '<div class="pagination">';
wp_pagenavi();
print '</div>';
} elseif(has_pages()) {
print '<div class="pagination"><div>';
arjuna_get_previous_page_link(__('Newer Entries', 'Arjuna'));
arjuna_get_next_page_link(__('Older Entries', 'Arjuna'));
print '</div></div>';
}
?>

<?php else : ?>
<p><?php _e('There is nothing here (yet).', 'Arjuna'); ?></p>
<?php endif; ?>
</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>



Vi ringrazio in anticipo.
 

borgo italia

Super Moderatore
Membro dello Staff
SUPER MOD
MOD
4 Feb 2008
16.046
150
63
PR
www.borgo-italia.it
ciao
il messaggio èsemplice:
la funzione arjuna_get_options();
non viene trovata,
i casi sono due (anche se non conosco wordpress):

o la funzione viene definita nella stessa pagina e qui non la vedo, oppure si trova in una pagina esterna e non vedo il richiamo/caricamento della pagina esterna
 

bloom7

Nuovo Utente
11 Ott 2008
26
3
0
ciao kodemondo, non l'ho installato in nessuna directory. Ho preso il tutto e messo nello spazio web. Perchè questi temi è come se fossero dei piccoli siti già fatti dove poi li modifichi come vuoi. Ancore non riesco a capire perchè mi da quell'errore.

ciao Eliox, grazie per il suggerimento, cmq i suggerimenti nn sono chiari... alcuni dicono che hanno eliminato dei file che io nn ho altri dicono la versione del php e di conseguenza aggiungere un file ecc.
 

Sivano25

Nuovo Utente
3 Mar 2010
5
0
0
hai fatto un pasticcio, il tema devi metterlo nella cartella apposita e poi selezionarlo dal pannello wp-admin
 
Discussioni simili
Autore Titolo Forum Risposte Data
L [WordPress] Problema traduzione tema WordPress 2
giuseppe_123 [WordPress] Problema foglio di stile tema child WordPress 2
giuseppe_123 Problema tema Child WordPress WordPress 19
F problema tema wordpress WordPress 0
I Help - Problema installazione tema di themeforest WordPress 1
N problema installazione tema WordPress 5
V Problema posizionamento sito tema turismo SEO e Posizionamento 2
J Problema con tema tumblr HTML e CSS 0
I Sto progettando nuovi siti utilizzando bootstrap e devo dire funziona bene, l'unico problema e la maschera -moz- HTML e CSS 0
K Problema form update PHP 2
O problema con dvr dahua xvr5116 IP Cam e Videosorveglianza 0
S Problema nel ciclare un json Javascript 0
G Problema con Xampp Web Server 1
andrea barletta Problema con miniature comandi Photoshop 0
I problema con alice Posta Elettronica 0
K Problema Inner join PHP 1
F firefox problema http Linux e Software 0
N Problema con position absolute e overflow HTML e CSS 4
E Problema jquery Success jQuery 2
L Problema con inner join PHP 11
K [php] Problema con inner join PHP 4
E problema selezione sfumata Photoshop 2
K [PHP] Problema con variabili concatenate. PHP 1
A Problema filtro fluidifica Photoshop Photoshop 1
H Problema Bordi Scontorno Photoshop 1
O problema con query PHP 4
R Problema installazione Realtek WiFi USB rtl8821 Reti LAN e Wireless 0
I problema con 2 account Posta Elettronica 1
L problema collegamento file css con html HTML e CSS 1
Y Problema percorso file in rete PHP 1
N Problema SEO "L'URL non si trova su Google" SEO e Posizionamento 4
E Problema accesso a file con app sviluppata con MIT APP INVENTOR 2 Sviluppo app per Android 0
P Problema acquisizione clienti Webdesign e Grafica 1
F NetBeans problema creazione progetto Java Windows e Software 0
M Problema con Try Catch PHP 0
C problema seo + cerco esperto SEO e Posizionamento 11
Sergio Unia Problema con gli eventi del mouse su una data table: Javascript 2
T PROBLEMA CON SESSIONI PHP 3
A Problema, non so, di scale() o transform, oppure altro? HTML e CSS 0
T ALTRO PROBLEMA CON ARRAY PHP PHP 1
R problema con else PHP 0
T PROBLEMA CON ARRAY PHP 8
L problema con query select PHP 2
R Problema query con ricerca id numerico PHP 2
F Problema con risposta PHP 0
S problema con recupero dati tabella mysql PHP 2
Z Problema con il mio tp-l i nk Reti LAN e Wireless 1
I PROBLEMA: Sostituzione sito XAMPP E-Commerce 0
T problema data 30/11/-1 PHP 0
L Problema RAM con Tomcat 8 Apache 0

Discussioni simili