blgnklc
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
if you specified a category for fcg, jut go and change the featured-content-gallery/gallery.php line;
else { ?>
<?php $temp_query = $wp_query; ?>
<?php
query_posts(‘cat=737&showposts=’ . get_option(‘gallery-items’))
/*query_posts(‘category_namedelte category_name and put ‘cat=737 like this.
737 id the id of category..
good luck..bilgin k?l??
thanks sir, you are the boss!
worked out, what was the problem sir?
yeah there is a code.
look the single php code is below:
<?php get_header();?> <div id="floatswrap" class="smallftfl clearfix"> <div class="container clearfix"> <h1 class="entry-title"><?php the_title(); ?></h1> <div id="main_col"> <div <?php post_class('single_post clearfix'); ?> id="post-<?php the_ID(); ?>"> <?php the_content();?> </div><!-- single_post --> <div id="social"> <ul id="socialtabs" class="clearfix"> <li class="showSubscribe" ><a href="#" rel="#subscribeoverlay"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/rss_48.jpg" alt="Takip Et"/><?php _e('Takip Et','smashingMultiMedia');?></a></li> <li class="showShare" ><a href="#" rel="#shareoverlay"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/heart_48.jpg" alt="Payla?"/><?php _e('Payla?','smashingMultiMedia');?></a></li> </ul> <div id="subscribeoverlay" class="overlay"> <h2><?php _e('Stay Informed','smashingMultiMedia');?></h2> <p><?php echo get_option('wps_subscribe_text'); ?></p> <p class="ico clearfix subscribe_ico"> <a href="<?php echo get_option('wps_feedburner_rsslink'); ?>" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/rss.png" alt="Subscribe to the RSS feed"/></a> <a href="<?php echo get_option('wps_feedburner_emaillink'); ?>" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/mail.png" alt="Sign up for Email alerts"/></a> <a href="https://twitter.com/<?php echo get_option('wps_twitter'); ?>" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/twitterbird.png" alt="Follow on Twitter"/></a> </p> </div> <div id="shareoverlay" class="overlay"> <h2><?php _e('Bookmark & Share','smashingMultiMedia');?></h2> <p><?php echo get_option('wps_share_text'); ?></p> <p class="ico clearfix share_ico"> <a href="https://delicious.com/save?url=<?php the_permalink() ?>&title=<?php the_title() ?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/delicious.png" alt="del.icio.us"/><?php _e('del.icio.us','smashingMultiMedia'); ?></a> <a href="https://digg.com/submit?phase=2&url=<?php the_permalink() ?>&title=<?php the_title(); ?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/digg.png" alt="Digg"/><?php _e('Digg','smashingMultiMedia'); ?></a> <a href="https://www.facebook.com/sharer.php?u=<?php the_permalink();?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/facebook.png" alt="Facebook"/><?php _e('Facebook','smashingMultiMedia'); ?></a> <a href="https://www.mixx.com/submit?page_url=<?php the_permalink() ?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/mixx.png" alt="Mixx"/><?php _e('Mixx','smashingMultiMedia'); ?></a> <a href="https://reddit.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/reddit.png" alt="Reddit"/><?php _e('Reddit','smashingMultiMedia'); ?></a> <a href="https://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/stumbleupon.png" alt="Stumbleupon"/><?php _e('Stumbleupon','smashingMultiMedia'); ?></a> <a href="https://technorati.com/ping/?url=<?php the_permalink() ?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/technorati.png" alt="Technorati"/><?php _e('Technorati','smashingMultiMedia'); ?></a> <?php $shortenedurl = file_get_contents('https://tinyurl.com/api-create.php?url=' . urlencode(get_permalink())); ?> <a href="https://www.twitter.com/home?status=<?php echo str_replace(' ', '+', the_title_attribute('echo=0')); echo '+' . $shortenedurl; ?>" title="<?php _e('Twitter','smashingMultiMedia'); ?>" rel="nofollow" target="_blank"><img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/<?php echo get_option('wps_child_theme'); ?>/images/socialIcons/twitter.png" alt="Twitter"/><?php _e('Twitter','smashingMultiMedia'); ?></a> </p> </div> </div><!--social--> <?php if ('open' == $post-> comment_status) { comments_template('', true); } ?> </div><!-- main_col --> <?php get_sidebar(); ?> </div><!-- container --> </div><!-- floatswrap--> <?php get_footer(); ?>
Viewing 4 replies - 1 through 4 (of 4 total)