Navigazione

    Privacy - Termini e condizioni
    © 2020 Search On Media Group S.r.l.
    • Registrati
    • Accedi
    • CATEGORIES
    • Discussioni
    • Non letti
    • Recenti
    • Hashtags
    • Popolare
    • Utenti
    • Stream
    • Interest
    • Categories
    1. Home
    2. palooza
    3. Post
    P

    palooza

    @palooza

    • Profilo
    • Chi segue 0
    • Da chi è seguito 0
    • Discussioni 2
    • Post 2
    • Migliore 0
    • Gruppi 0
    Iscrizione Ultimo Accesso
    0
    Reputazione
    2
    Post
    0
    Visite al profilo
    0
    Da chi è seguito
    0
    Chi segue
    User Newbie

    Post creati da palooza

    • div in RANDOM

      Ciao a tutti,
      sono un giovanissimo autodidatta alle prese con un problema.
      Per me è una montagna ma per gli esperti forse no e spero di imparare da loro attraverso i consigli e le soluzioni che mi proporrete.

      Allora:

      Sto studiando questo theme di Wordpress

      elegantthemes.com/preview/MyCuisine/

      Vorrei che i profili dei "testimonial" in basso a dx vengano mandati in loop (anche non in maniera randomica ma in ordine così come li pesca).

      Adesso, Ogni volta che aggiorno la pagina si carica un testimonial diverso.
      Come posso fare che si carichino anche senza aggiornare? Cioè mandarli in "slider" cosi come fanno le foto in alto?

      credo che debba agire in questo pezzo di codice...ma nn è ancora di mio dominio e nn so proprio come fare. Grazie ancora!

      [HTML]<?php if ( $i == 3 ) { ?>
      <?php if ( get_option('mycuisine_use_area3') != 'on' ) { ?>
      <h3 class="title"><?php _e("AUTHORS - random profiles",'MyCuisine'); ?></h3>
      <?php
      $testimonials_args = array(
      'post_type' => array('testimonial'),
      'showposts' => '1',
      'orderby' => 'rand'
      );
      $testimonials_query = new WP_Query( $testimonials_args );
      while ( $testimonials_query->have_posts() ) : $testimonials_query->the_post(); ?>
      <div class="testimonials-item">
      <div class="testimonials-item-bottom">
      <div class="testimonials-item-content">
      <?php
      $thumb = '';
      $width = 56;
      $height = 56;
      $classtext = 'item-image';
      $titletext = get_the_title();
      $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,false,'Testimonial');
      $thumb = $thumbnail["thumb"];
      ?>
      <?php if ( $thumb <> '' ) { ?>
      <div class="thumb">
      <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
      <span class="overlay"></span>
      </div> <!-- end .thumb -->
      <?php } ?>
      <p class="author"><?php the_title(); ?></p>
      <?php the_content(''); ?>
      </div> <!-- end .testimonials-item-content -->
      </div> <!-- end .testimonials-item-bottom -->
      </div> <!-- end .testimonials-item -->
      <?php endwhile; wp_reset_postdata(); ?>
      <?php } else { ?>
      <?php
      $service_query = new WP_Query('page_id=' . get_pageId(html_entity_decode(get_option('mycuisine_home_page_3'))));
      while ( $service_query->have_posts() ) : $service_query->the_post(); ?>
      <?php
      global $more; $more = 0;
      ?>
      <h3 class="title"><?php the_title(); ?></h3>
      <?php the_content(''); ?>
      <?php endwhile; wp_reset_postdata(); ?>
      <?php } ?>
      <?php } ?>
      </div> <!-- end .home-block -->
      <?php } ?>
      <?php } ?>[/HTML]

      postato in Coding
      P
      palooza
    • Calendario editabile da parte degli utenti.

      Ciao a tutti,
      cerco un calendario editabile da parte degli utenti.
      Per mettere su una pag dove i visitatori scrivono contenuto testuale nei giorni del calendario...
      avete quelche idea, esempio?
      Thanx!
      P.

      postato in CMS & Piattaforme Self-Hosted
      P
      palooza