Jump to content

hadi

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

hadi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Link to my site http://theiloop.com , the theme i am using is iBlogpro I want to show categories in my navbar instead of pages (and if i am able to show wordpress menu in the navbar that would be better). Please help here is the code of the navbar <div id="nav" class="fix"> <ul class="fix dropdown"> <li class="page_item navfirst"> <a class="home" href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home',TDOMAIN);?>" style="background-image: url('<?php e_pagelines('nav_home_image', THEME_IMAGES.'/home-icon-trans.png');?>');"> <?php _e('Home',TDOMAIN);?> </a> </li> <?php $frontpage_id = get_option('page_on_front'); if($bbpress_forum && pagelinesforum('exclude_pages')){ $forum_exclude = ','.pagelinesforum('exclude_pages');} else{ $forum_exclude = '';} wp_list_pages('exclude='.$frontpage_id.$forum_exclude.'&depth=3&title_li=');?> </ul> <?php if(!pagelines('hidesearch')):?> <?php include (THEME_LIB . '/_searchform.php'); ?> <?php endif;?> </div><!-- /nav -->
  2. Sorry I can't understand what you said. Please can you explain it.
  3. here is the code and the thumb.php is attached. i added the code below in custom-functions.php of thesis theme. function top_carousel(){ global $post; if (is_single ()){ echo '<div id="topcarousel">'; $the_query = new WP_Query(array( 'category_name'=>'featured', 'orderby'=>'date', 'order'=>'DESC', 'showposts'=>'6' )); while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID; $image = get_post_meta($post->ID, 'thesis_post_image', $single = true); echo '<div class="carouselu">'; echo '<a href="'; echo the_permalink(); echo '" >'; echo '<img src="http://test.digpk.com/public_html/test/wp-content/themes/thesis_18/lib/scripts/thumb.php?src='.$image.'&w=140&h=140&zc=1&q=100"></a>'; echo '<a href="'; echo the_permalink(); echo '" >'; echo the_title(); echo '</a>'; echo '</div>'; endwhile; echo '<div style="clear:both"></div>'; echo '</div>'; } } add_action('thesis_hook_before_header', 'top_carousel'); and i added the code below to custom.php according to instructions at http://www.wolf-howl.com/blogs/how-to-carousel/ #topcarousel {border:1px solid #efefef; padding: 0px;padding-left:10px;} .carouselu {width:150px;float:left;padding:3px;text-align:center;} .carouselu IMG {border:2px solid #ccc;display:block;} here is the site where i have installed it. http://test.digpk.com/ waiting for your kind support. thanks in advance [attachment deleted by admin]
  4. Link to my site theiloop.com, the theme i am using is iBlogpro I want to show categories in my navbar instead of pages (and if i am able to show wordpress menu in the navbar that would be better). Please help here is the code of the navbar <div id="nav" class="fix"> <ul class="fix dropdown"> <li class="page_item navfirst"> <a class="home" href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home',TDOMAIN);?>" style="background-image: url('<?php e_pagelines('nav_home_image', THEME_IMAGES.'/home-icon-trans.png');?>');"> <?php _e('Home',TDOMAIN);?> </a> </li> <?php $frontpage_id = get_option('page_on_front'); if($bbpress_forum && pagelinesforum('exclude_pages')){ $forum_exclude = ','.pagelinesforum('exclude_pages');} else{ $forum_exclude = '';} wp_list_pages('exclude='.$frontpage_id.$forum_exclude.'&depth=3&title_li=');?> </ul> <?php if(!pagelines('hidesearch')):?> <?php include (THEME_LIB . '/_searchform.php'); ?> <?php endif;?> </div><!-- /nav -->
  5. I have installed the Carousel code using tutorial at http://www.wolf-howl.com/blogs/how-to-carousel/ now i amfacing a problem that every thing is working expect images thumbnail. here is the site http://www.digpk.com/ where i am try to make carousel. you can see the featured posts at top with missing thumbnails. Thanks in advance. picture of the problem is also attached. [attachment deleted by admin]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.