Risposte nei forum create
-
AutorePost
-
6 Marzo 2009 alle 18:42 in risposta a: un buon feed reader per inserire in automatico le news nel mio sito #63511gabbiano69Partecipante
grazie … ci sono riuscito, ho solo un problemino da risolvere fare aprire il collegamento in una nuova finestra cosa aggiungo a questo codice??? grazie ancora senza il tuo aiuto sarei ancora in altomare
ecco il codice cosa devo aggiungere???<code<?php echo ‘‘ . get_the_author() . ‘‘; ?>>
6 Marzo 2009 alle 15:47 in risposta a: un buon feed reader per inserire in automatico le news nel mio sito #63497gabbiano69Partecipantegrazie sei d’aiuto proverò… mq il nome dell’autore me lo da all’inizio, io invce vorrei inserirlo alla fine del contenuto cioè dell’articolo… dove lo inserisco??? vorrei scrivere: leggi la notizia completa su: e poi il parametro che dici tu syndication_permalink, ecco il codice… grazie
<code<?php global $theme_options, $newspaper; ?>
<?php get_header(); ?>
<div id=”singleContent”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id=”entryMeta”>
<h2 class=”singlePageTitle”><?php the_title(); ?></h2>
<p><?php echo get_avatar( get_the_author_email(), ’21’ ); ?>
<?php echo $newspaper[“postedBy”]; ?> <?php the_author_posts_link(); ?>
<?php /* This is commented, because it requires a little adjusting sometimes.
You’ll need to download this plugin, and follow the instructions:
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) – (60*120)); echo time_since($entry_datetime); echo ‘ ago’; */ ?>
on <?php the_time(‘M jS, Y’) ?> <?php echo $newspaper[“filedUnder”]; ?> <?php the_category(‘, ‘) ?>.
<?php echo $newspaper[“rssLink”]; ?> <?php comments_rss_link(‘RSS 2.0’); ?>.
<?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Both Comments and Pings are open ?>
<?php echo $newspaper[“postInfo”]; ?>
<?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Only Pings are Open ?>
<?php echo $newspaper[“postInfo2”]; ?>
<?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Comments are open, Pings are not ?>
<?php echo $newspaper[“postInfo3”]; ?>
<?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
<?php echo $newspaper[“postInfo4”]; ?>
<?php } edit_post_link(‘Edit’,”,”); ?>
</div>
<div id=”entry”>
<div class=”post”>
<?php if($theme_options == 1) { ?>
<?php if ( in_category($theme_options[“mpPhotoGalCatID”]) ): ?>
” alt=”<?php the_title(); ?>” class=”photoGalItem” />
<?php endif; ?>
<?php } ?>
<?php if($theme_options == 1) { ?>
<?php if ( in_category($theme_options[“videoCatID”]) ): ?>
<div class=”video”>
<object type=”application/x-shockwave-flash” style=”width:501px; height:280px;” data=”<?php echo get_post_meta($post->ID, ‘video’, true); ?>”>
<param name=”movie” value=”<?php echo get_post_meta($post->ID, ‘video’, true); ?>” /></object>
</div>
<?php endif; ?>
<?php } ?>
<?php the_content(); ?>
</div>
<?php comments_template(); ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
<div id=”singlePostSidebarLeft”>
<?php include (TEMPLATEPATH . ‘/innerSidebarLeft.php’); ?>
</div>
<div class=”clear”></div>
</div>
<div id=”singlePostSidebarRight”>
<?php include (TEMPLATEPATH . ‘/innerSidebarRight.php’); ?>
</div>
<div class=”clear”></div>
<?php get_footer(); ?>
</div><!– enf od wrapper –>
</body>
</html>>
5 Marzo 2009 alle 17:36 in risposta a: un buon feed reader per inserire in automatico le news nel mio sito #63467gabbiano69Partecipantesi h associato il nome dell’autore al fedd e l’autore compare nell’articolo … inviato da… etc… quindi spunta l’autore
5 Marzo 2009 alle 17:06 in risposta a: un buon feed reader per inserire in automatico le news nel mio sito #63454gabbiano69Partecipanteho configurato il feedreader con il permalink che punta sul mio sito, quando clicco su leggi tutto punta al mio sito .. ecoo, e qui che vorrei aggiungere automaticamente la fonte ed il link alla notizia intera sul sito originale ovviamente… è questo che mi serve.. come faccio??? grazie ancora
5 Marzo 2009 alle 15:04 in risposta a: un buon feed reader per inserire in automatico le news nel mio sito #63443gabbiano69Partecipantegrazie cmq… ma alcune cose non mi sono chiare.. come faccio ad usare il l’autore del post come link in automatico come devo fare??? e cosa intendi per excerpt?? e come assegnare il link dell’autore??? sono un neofita sii più chiaro se puoi .. cmq grazie ancora
1 Marzo 2009 alle 22:16 in risposta a: un buon feed reader per inserire in automatico le news nel mio sito #63257gabbiano69Partecipanteno forse non mi sono spiegato, io voglio riportare solo quello che riporta il feed ma vorrei che mi creasse in automatico il link e la fonte per andare a vedere la notizia sul loro sito.. se vedi questo esempio capisci quello che voglio fare.. http://www.giornaledizona.com poi clicca su una notizia e vedrai che c’è solo quello che riporta il sito ma in automatico c’è anche la fonte ed il link per vedere la notizia per intero dalla fonte originale… ho visto più siti che adottano questo sistema… volevo capire come fare con feedreader o con un altro plugin… mi puoi aiutare…
gabbiano69Partecipantee dove lo posso comprare a che indirizzo ? perchè a me serve, oppure qualcosa di simile grazie
-
AutorePost