Title: sergiust's Replies | WordPress.org

---

# sergiust

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Website alignment distorts when zooming in and out](https://wordpress.org/support/topic/website-alignment-distorts-when-zooming-in-and-out/)
 *  Thread Starter [sergiust](https://wordpress.org/support/users/sergiust/)
 * (@sergiust)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/website-alignment-distorts-when-zooming-in-and-out/#post-2581482)
 * well gets messed up on chrome. Man … i don’t know what to do ..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Website alignment distorts when zooming in and out](https://wordpress.org/support/topic/website-alignment-distorts-when-zooming-in-and-out/)
 *  Thread Starter [sergiust](https://wordpress.org/support/users/sergiust/)
 * (@sergiust)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/website-alignment-distorts-when-zooming-in-and-out/#post-2581364)
 * well if u press on ctrl and u scroll up and down on the mouse wheel, you’ll see
   how the website goes out of alignment. this is so frustrating
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Make different categories show posts in different way](https://wordpress.org/support/topic/make-different-categories-show-posts-in-different-way/)
 *  Thread Starter [sergiust](https://wordpress.org/support/users/sergiust/)
 * (@sergiust)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/make-different-categories-show-posts-in-different-way/#post-2096705)
 * this one shows the posts in a gallery view with only the featured thumbnail picture
 *     ```
       ?php
       $et_ptemplate_settings = array();
       $et_ptemplate_settings = maybe_unserialize( get_post_meta($post->ID,'et_ptemplate_settings',true) );
   
       $fullwidth = isset( $et_ptemplate_settings['et_fullwidthpage'] ) ? (bool) $et_ptemplate_settings['et_fullwidthpage'] : (bool) $et_ptemplate_settings['et_fullwidthpage'];
   
       $gallery_cats = isset( $et_ptemplate_settings['et_ptemplate_gallerycats'] ) ? $et_ptemplate_settings['et_ptemplate_gallerycats'] : array();
       $et_ptemplate_gallery_perpage = isset( $et_ptemplate_settings['et_ptemplate_gallery_perpage'] ) ? $et_ptemplate_settings['et_ptemplate_gallery_perpage'] : 12;
       ?>
   
       <?php get_header(); ?>
   
               <?php include(TEMPLATEPATH . '/includes/top_info.php'); ?>
   
               <div id="left-area">
                       <?php if (get_option('modest_integration_single_top') <> '' && get_option('modest_integrate_singletop_enable') == 'on') echo(get_option('modest_integration_single_top')); ?>
   
                       <div class="entry clearfix post">
                               <?php
                                       $thumb = '';
                                       $width = 188;
                                       $height = 188;
                                       $classtext = 'post-thumb';
                                       $titletext = get_the_title();
                                       $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,false,'Entry');
                                       $thumb = $thumbnail["thumb"];
                               ?>
   
                               <?php if($thumb <> '' && get_option('modest_page_thumbnails') == 'on') { ?>
                                       <div class="post-thumbnail">
                                               <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
                                               <span class="post-overlay"></span>
                                       </div>  <!-- end .post-thumbnail -->
                               <?php } ?>
   
                               <?php the_content(); ?>
                               <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages','Modest').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
   
                               <div id="et_pt_gallery" class="clearfix">
   
                                                               <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                                               <?php $width = 207;
                                               $height = 136;
                                               $titletext = get_the_title();
   
                                               $thumbnail = get_thumbnail($width,$height,'portfolio',$titletext,$titletext,true,'Portfolio');
                                               $thumb = $thumbnail["thumb"]; ?>
   
                                               <div class="et_pt_gallery_entry">
                                                       <div class="et_pt_item_image">
                                                               <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, 'portfolio'); ?>
                                                               <span class="overlay"></span>
   
                                                               <a class="zoom-icon" title="<?php the_title(); ?>" rel="prettyPhoto[gallery]" href="<?php echo($thumbnail['fullpath']); ?>"><?php _e('Zoom in','Modest'); ?></a>
                                                               <a class="more-icon" href="<?php the_permalink(); ?>"><?php _e('Read more','Modest'); ?></a>
                                                       </div> <!-- end .et_pt_item_image -->
                                               </div> <!-- end .et_pt_gallery_entry -->
   
                                       <?php endwhile; ?>
                                               <div class="page-nav clearfix">
                                                       <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
                                                       else { ?>
                                                                <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
                                                       <?php } ?>
                                               </div> <!-- end .entry -->
                                       <?php else : ?>
                                               <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
                                       <?php endif; wp_reset_query(); ?>
   
                               </div> <!-- end #et_pt_gallery -->
   
                               <?php edit_post_link(__('Edit this page','Modest')); ?>
                       </div> <!-- end .entry -->
   
                       <?php if (get_option('modest_integration_single_bottom') <> '' && get_option('modest_integrate_singlebottom_enable') == 'on') echo(get_option('modest_integration_single_bottom')); ?>
               </div>  <!-- end #left-area -->
               <?php if (!$fullwidth) get_sidebar(); ?>
   
       <?php get_footer(); ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Call on current category only](https://wordpress.org/support/topic/call-on-current-category-only/)
 *  Thread Starter [sergiust](https://wordpress.org/support/users/sergiust/)
 * (@sergiust)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/call-on-current-category-only/#post-2096672)
 * oh nvm .. found it ..
 *  <?php if (have_posts()) : while (have_posts()) : the_post(); ?> will just pull
   the posts from that particular category ,.:)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Make different categories show posts in different way](https://wordpress.org/support/topic/make-different-categories-show-posts-in-different-way/)
 *  Thread Starter [sergiust](https://wordpress.org/support/users/sergiust/)
 * (@sergiust)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/make-different-categories-show-posts-in-different-way/#post-2096669)
 * how can i make one category show posts differently?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Call on current category only](https://wordpress.org/support/topic/call-on-current-category-only/)
 *  Thread Starter [sergiust](https://wordpress.org/support/users/sergiust/)
 * (@sergiust)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/call-on-current-category-only/#post-2096664)
 * but in every cat it’s showing all the posts
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Call on current category only](https://wordpress.org/support/topic/call-on-current-category-only/)
 *  Thread Starter [sergiust](https://wordpress.org/support/users/sergiust/)
 * (@sergiust)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/call-on-current-category-only/#post-2096662)
 * i’m trying to get posts from that particular category .. i.e. [http://localhost/hometreasures3/?cat=3](http://localhost/hometreasures3/?cat=3)
   <— only feature posts from this parent cateogry … [http://localhost/hometreasures3/?cat=8](http://localhost/hometreasures3/?cat=8)
   <— only feature posts from this child category

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