Title: kz's Replies | WordPress.org

---

# kz

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/kz/replies/page/2/?output_format=md) [3](https://wordpress.org/support/users/kz/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/kz/replies/page/9/?output_format=md) [10](https://wordpress.org/support/users/kz/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/kz/replies/page/11/?output_format=md) [→](https://wordpress.org/support/users/kz/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Jquery slideTrigger has me stumped](https://wordpress.org/support/topic/jquery-slidetrigger-has-me-stumped/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/jquery-slidetrigger-has-me-stumped/#post-2247546)
 * `p=principles`: Is the equal sign between `p` and `principles` a typo?
 * So, I think it is the fast way to solve the probrem that you tell us the URL.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Jquery slideTrigger has me stumped](https://wordpress.org/support/topic/jquery-slidetrigger-has-me-stumped/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/jquery-slidetrigger-has-me-stumped/#post-2247523)
 * `at the top of the paragraph with id = "p=principles"`
 * Make sure that `id="p-principles"`.
 * Notice:
    If you write HTML like this:
 *     ```
       <p id="p-principles">
       <span id="principles">text</span> text text
       </p>
       ```
   
 * When you mouse over #principles, the paragraph #p-principles slides up and is
   hidden. And #p-principles will never be able to slide down and be shown.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Need to add variable to function](https://wordpress.org/support/topic/need-to-add-variable-to-function/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/need-to-add-variable-to-function/#post-2247520)
 *     ```
       <?php
       $link = get_post_meta( get_the_ID(), 'links', true );
       wp_list_bookmarks(
         "categorize=0&category=$link&before=<span>&after=</span>&show_images=1&show_description=1&orderby=url"
       );
       ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [I just cannot make the logo show up](https://wordpress.org/support/topic/i-just-cannot-make-the-logo-show-up/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/i-just-cannot-make-the-logo-show-up/#post-1429906)
 * default.css line92〜
    `a.logo{background:url('../images/logo.png')`
 * is overwritten by
 *     ```
       <style type="text/css">
       a.logo{background:url('http://www.whitakerblackall.com/wp-content/themes/musaic/musaic/images/chester.jpg') no-repeat;}
       </style>
       ```
   
 * in HTML.
 * Delete above code in header.php
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pull 3 posts from specific category with thumbnail from custom field](https://wordpress.org/support/topic/pull-3-posts-from-specific-category-with-thumbnail-from-custom-field/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/pull-3-posts-from-specific-category-with-thumbnail-from-custom-field/#post-1384220)
 *     ```
       <?php
       query_posts('cat=7&posts_per_page=3');
       if(have_posts()) :
         while(have_posts()) :
           the_post();
           ?>
           <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
             <h2><?php permalink(); ?></h2>
             <div class="entry">
             <?php
             $img = get_post_meta($post->ID, 'Featured Thumbnail', true);
             ?><img src="<?php echo $img; ?>"/><?php
             the_content('Read More');
             ?>
             </div>
           </div>
           <?php
         endwhile;
       endif;
       wp_reset_query();
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Show excerpts on front page, full post on other pages](https://wordpress.org/support/topic/show-excerpts-on-front-page-full-post-on-other-pages/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/show-excerpts-on-front-page-full-post-on-other-pages/#post-1384206)
 *     ```
       <?php if(iS_category() || is_front_page() /* || is_home() */) : ?>
         <div class="post-content"><?php the_excerpt('Read the rest of this entry »'); ?></div>
       <?php else : ?>
         <div class="post-content"><?php the_content(); ?></div>
       <?php endif; ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [I need help coding my Videos page and making it multiple pages!](https://wordpress.org/support/topic/my-situation-over-here-i-need-some-help/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/my-situation-over-here-i-need-some-help/#post-1383036)
 * Rename ‘custom video-display page’ to category.php
    and use main loop only:
 *     ```
       while(have_posts()) :
         the_posts();
         /* do stuff */
       endwhile;
       ```
   
 * Below outputs category link:
    `<a href="<?php echo get_category_link(3 /* category
   ID */) ?>">Videos</a>`
 * If you have other category pages,
    create category.php and edit it like:
 *     ```
       $post = $wp_query->post;
       if(is_category(array(3, 4, 5))){ // for Videos, Dogs and Cats
        include(TEMPLATEPATH . '/cat-videos.php'); // if filename is category-videos.php, it will not work.
        } else if(is_category(array('sounds', 'sounds-sub'))){
        include(TEMPLATEPATH . '/cat-sounds.php');
        } else if(is_category(array(123, 456))){
        include(TEMPLATEPATH . '/cat-123.php');
        } else {
        include(TEMPLATEPATH . '/cat-default.php');
        }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Struggling with third loop.](https://wordpress.org/support/topic/struggling-with-third-loop/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/struggling-with-third-loop/#post-1381572)
 * Change this:
    `get_post_meta($post->ID, “slider-image”, $single = true)` To this:`
   get_post_meta(get_the_id(), “slider-image”, true)`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Extra header content — putting an image](https://wordpress.org/support/topic/extra-header-content-putting-an-image/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/extra-header-content-putting-an-image/#post-1372084)
 * Change this:
    `<img align="center" src="http://www.koreanwikiproject.com/navigation_map.
   jpg">` To this: `<img id="map" src="http://www.koreanwikiproject.com/navigation_map.
   jpg" />`
 * And add below rule in style.css:
 *     ```
       #map{
       margin:0 auto;
       width:958px;
       }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [help understanding sidebar setup and formatting](https://wordpress.org/support/topic/help-understanding-sidebar-setup-and-formatting/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/help-understanding-sidebar-setup-and-formatting/#post-1370270)
 * > when you use widgets there are certain classes and ids that are automatically
   > generated
 * you can spefify certain ids and classes in functions.php (again):
 *     ```
       if ( function_exists('register_sidebar') )
         register_sidebars(array(
           'before_widget' => '<li id="%1$s" class="widget %2$s">',
           'after_widget' => '</li>',
           'before_title' => '<h2 class="widgettitle">',
           'after_title' => '</h2>',
         ));
       ```
   
 * space or borders between widgets, for example:
 *     ```
       #sidebar .widget{
       padding-bottom:30px;
       border:1px dotted #333;
       margin:bottom:30px;
       }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Widget positioning](https://wordpress.org/support/topic/widget-positioning/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/widget-positioning/#post-1370749)
 * See Codex [Template Tags/the widget](http://codex.wordpress.org/Function_Reference/the_widget)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Pictures won’t show in slider homepage](https://wordpress.org/support/topic/pictures-wont-show-in-slider-homepage/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/pictures-wont-show-in-slider-homepage/#post-1369994)
 * Now the img tag is:
    `<img class="head" src="http://www.sillie.nl/wp-content/
   themes/FancyTheme/thumb.php?src=<img class="thumb" src="http://www.sillie.nl/
   wp-content/uploads/2010/02/4-baggerwerkzaamhedenin-havens.jpg" alt="" />&h=278&
   w=592&zc=1&q=80" alt="Baggeren voor zand- en grindinstallaties" />` Change to:`
   <img class="head" src="http://www.sillie.nl/wp-content/themes/FancyTheme/thumb.
   php?src=http://www.sillie.nl/wp-content/uploads/2010/02/4-baggerwerkzaamhedenin-
   havens.jpg&h=278&w=592&zc=1&q=80" alt="Baggeren voor zand- en grindinstallaties"/
   >`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [help understanding sidebar setup and formatting](https://wordpress.org/support/topic/help-understanding-sidebar-setup-and-formatting/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/help-understanding-sidebar-setup-and-formatting/#post-1369985)
 * For example, a sidebar with categories widget.
    in sidebar.php:
 *     ```
       <div id="sidebar" role="complementary">
         <ul>
           <?php
           if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) :
           ?>
   
           :
         </ul>
       </div>
       ```
   
 * Maybe in functions.php:
 *     ```
       if ( function_exists('register_sidebar') )
         register_sidebars(array(
           'before_widget' => '<li id="%1$s" class="widget %2$s">',
           'after_widget' => '</li>',
           'before_title' => '<h2 class="widgettitle">',
           'after_title' => '</h2>',
         ));
       ```
   
 * Then, generated HTML is like this:
 *     ```
       <div id="sidebar" role="complementary">
         <ul>
           <li id="categories-1" class="widget widget_categories"> class="widgettitle">
             <h2 class="widgettitle">Categories</h2>
             <ul>
               <li class="cat-item cat-item-1">
                 <a href="http://example.com/category/category1" title="category1">Category1</a>
               </li>
               <li class="cat-item cat-item-2">
                 <a href="http://example.com/category/category2" title="category2">Category2</a>
               </li>
             </ul>
           </li>
         </ul>
       </div>
       ```
   
 * So if you want to add the bullet to the categories items,
    add below rules in
   style.css: `#sidebar .widget_categories ul{list-style-type:disc;}`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Problems with CSS](https://wordpress.org/support/topic/problems-with-css-1/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/problems-with-css-1/#post-1369563)
 * In the real site, there is only div.item_image.
 * Change div.item_image in the real site to div.item_image_left or div.item_image_right.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Problems with CSS](https://wordpress.org/support/topic/problems-with-css-1/)
 *  [kz](https://wordpress.org/support/users/kz/)
 * (@kz)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/problems-with-css-1/#post-1369525)
 * Pls show the real site URL if possible.

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

1 [2](https://wordpress.org/support/users/kz/replies/page/2/?output_format=md) [3](https://wordpress.org/support/users/kz/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/kz/replies/page/9/?output_format=md) [10](https://wordpress.org/support/users/kz/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/kz/replies/page/11/?output_format=md) [→](https://wordpress.org/support/users/kz/replies/page/2/?output_format=md)