Title: 10rous's Replies | WordPress.org

---

# 10rous

  [  ](https://wordpress.org/support/users/10rous/)

 *   [Profile](https://wordpress.org/support/users/10rous/)
 *   [Topics Started](https://wordpress.org/support/users/10rous/topics/)
 *   [Replies Created](https://wordpress.org/support/users/10rous/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/10rous/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/10rous/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/10rous/engagements/)
 *   [Favorites](https://wordpress.org/support/users/10rous/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [sort custom type posts by date, php](https://wordpress.org/support/topic/sort-custom-type-posts-by-date-php/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/sort-custom-type-posts-by-date-php/#post-4335623)
 * REsolved
 *     ```
       <?php
       /*
       Template Name: ferias
       */
       ?>
       <?php get_header(); ?>
       <?php
         $query = new WP_Query(array(
       			      'post_type' =>'fre_firas',
       			      'post_status'=> 'publish',
           				'meta_key' => 'fecha',
           				'orderby' => 'meta_value_num',
           				'order' => 'ASC',
       			      ));
   
         $query2 = new WP_Query(array(
       			      'post_type' =>'fre_firas',
       			      'post_status'=> 'publish',
           				'meta_key' => 'fecha',
           				'orderby' => 'meta_value_num',
           				'order' => 'ASC',
       			      ));
         $fecha_actual = (int)(date('Y') . date('m') . date('d'));
       ?>
   
       <?php
   
       	  // The Loop
       	  while ( $query->have_posts() ) : $query->the_post();
       	  $fecha = get_post_meta($post->ID, "fecha", true);
       	  $fecha_tmp = explode("/",$fecha);
       	  $fecha_format = (int)($fecha_tmp[2] . $fecha_tmp[0] . $fecha_tmp[1]);
       	  if ($fecha_format >= $fecha_actual) {
       	  ?>
       	  <p class="main-blog8leftcontent"><span><strong><?php echo  date("d/m/Y", strtotime(get_post_meta($post->ID, "fecha", true))) ?> <?php echo  get_post_meta($post->ID, "lugar", true) ?></strong></span> <span><?php the_title() ?></span> <span><a href="<?php echo anyade_http(get_post_meta($post->ID, "link", true)) ?>"><?php _e("més informació") ?></a></span></p>
       	  <?php
       	    };
       	  endwhile;
       	  // Reset Post Data
                 wp_reset_postdata();
       	?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [display repeater custom field image](https://wordpress.org/support/topic/display-repeater-custom-field-image/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/display-repeater-custom-field-image/#post-4292501)
 * solved, checking the image url option in custom field return option
 *     ```
       <ul>
       		<?php while(has_sub_field('fotos', 'option')): ?>
       		<li><img class="foto" src="<?php the_sub_field('foto') ?>"/></li>
       		<?php endwhile; ?>
       </ul>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] display repeater custom field image](https://wordpress.org/support/topic/display-repeater-custom-field-image-1/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/display-repeater-custom-field-image-1/#post-4292500)
 * solved, checking the image url option in custom field return option
 *     ```
       <ul>
       		<?php while(has_sub_field('fotos', 'option')): ?>
       		<li><img class="foto" src="<?php the_sub_field('foto') ?>"/></li>
       		<?php endwhile; ?>
       </ul>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [display repeater custom field image](https://wordpress.org/support/topic/display-repeater-custom-field-image/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/display-repeater-custom-field-image/#post-4292497)
 * I’m working on a php cutom template, that line should be ok WPRanger, as it works
   for text custom fields in other div within the same template
 * e.g.
 *     ```
       <?php while(has_sub_field('servicios_restaurante', 'option')): ?>
                               <li style="float:left; padding-left:10px; width:280px; clear:none; padding-right:10px; text-transform:uppercase; font-size:12px; line-height:20px;" id="serv_lista"><p class="dinpro"><?php the_sub_field('servicio') ?></p></li>
                               <?php endwhile; ?>
       ```
   
 * I’ve tried to remove the ‘option’ but it doesn’t work either
 * thanks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [display repeater custom field image](https://wordpress.org/support/topic/display-repeater-custom-field-image/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/display-repeater-custom-field-image/#post-4292296)
 * i can’t get it to work
 * it should be like this?
 *     ```
       <ul>
       <?php while(has_sub_field('fotos_platos', 'option')): ?>
       <li>
       <?php $my_image = wp_get_attachment_image_src(get_sub_field('foto_plato')); ?>
       <img class="foto" src="<?php echo $my_image[0]; ?>"/>
       </li>
       <?php endwhile; ?>
       </ul>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [display repeater custom field image](https://wordpress.org/support/topic/display-repeater-custom-field-image/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/display-repeater-custom-field-image/#post-4292290)
 * thanks a lot
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SlideWizard] Shortcode in widgets](https://wordpress.org/support/topic/shortcode-in-widgets-1/)
 *  [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-in-widgets-1/#post-4220765)
 * thanks shinjing, it works like charm
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to edit page builder block](https://wordpress.org/support/topic/how-to-edit-page-builder-block/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/how-to-edit-page-builder-block/#post-4264508)
 * solved by theme authors:
    use the Heading block. You can add that above a section
   and create a title link.
 * You can really change the size of the thumbnail because it all depends on where
   you put the post block and how wide that section is. If you want to change the
   demensions of the thumbnails then you would need to edit the engine_thumbnail()
   function inside of the /reporter/library/engine-functions.php file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SlideWizard] Shortcode in widgets](https://wordpress.org/support/topic/shortcode-in-widgets-1/)
 *  [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-in-widgets-1/#post-4220730)
 * stuck with the same issue, anyone got it?
    thanks a lot
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [default theme on mobile devices](https://wordpress.org/support/topic/default-theme-on-mobile-devices/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/default-theme-on-mobile-devices/#post-4226504)
 * you’re right once again WPyogi!
    there’s an option on the jetpack settings page,
   turned off and everything worked out right thanks a lot solved
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [default theme on mobile devices](https://wordpress.org/support/topic/default-theme-on-mobile-devices/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/default-theme-on-mobile-devices/#post-4226496)
 * thanks WPyogi
    it was jetpack, I turned it off and it displays the new them mobile
   too but I’d like to used some of the jet pack services so if I’m not wrong I 
   do have turn off the mobile option for the default theme in wordpress.com as 
   ImageOmega said isn’t it so?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [default theme on mobile devices](https://wordpress.org/support/topic/default-theme-on-mobile-devices/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/default-theme-on-mobile-devices/#post-4226492)
 * I think you’re right, it must be jetpack
    I’ll dig down there and keep you posted,
   thanks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [default theme on mobile devices](https://wordpress.org/support/topic/default-theme-on-mobile-devices/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/default-theme-on-mobile-devices/#post-4226487)
 * wordpress.org
    it actually has an option to turn on/off responisive but it on
   I’ll try and ask the themes developer but it was purchased by someone else
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [default theme on mobile devices](https://wordpress.org/support/topic/default-theme-on-mobile-devices/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/default-theme-on-mobile-devices/#post-4226481)
 * [http://gesdi.com/responsivator/?site=inthemoodforfood.es](http://gesdi.com/responsivator/?site=inthemoodforfood.es)
   
   here you can see it works well in term of responsive
 * but it displays de default blue and white theme within mobiles, i’ve tested it
   with htc, sony and iphone
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [default theme on mobile devices](https://wordpress.org/support/topic/default-theme-on-mobile-devices/)
 *  Thread Starter [10rous](https://wordpress.org/support/users/10rous/)
 * (@10rous)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/default-theme-on-mobile-devices/#post-4226477)
 * hickory, it was purchased two or three weeks ago at my office

Viewing 15 replies - 1 through 15 (of 15 total)