![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
hello,
i got a question and i would like to add text link to my blog on the home page. Any1 able to help ..? thanks cheers julian http://julianinterior.com |
|
#2
|
||||
|
||||
|
That's kinda vague what exactly would you like to do?
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse Make life easier use FireFox and these Customizing tools: Firebug - Web Developer New to Genesis? See our Guide for Beginners! Recommended StudioPress Designer StudioPress on Facebook |
|
#3
|
|||
|
|||
|
hello,
thank for the reply i wanted to add google ad text link just between the feature content gallery and my category on my home page.i wonder is it possible or not? many thanks:) regards julian http://julianinterior.com |
|
#4
|
||||
|
||||
|
you be able to just open home.php and place it here
To keep it from moving in certain browsers you could wrap it in clear divs <div class="clear"></div><-----add above and below google code .clear{clear:both;} <-----add to style sheet <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> </div> <?php endif; ?> AD CODE <div class="aheadline"> <h3>Featured Content</h3>
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse Make life easier use FireFox and these Customizing tools: Firebug - Web Developer New to Genesis? See our Guide for Beginners! Recommended StudioPress Designer StudioPress on Facebook |
|
#5
|
|||
|
|||
|
hello, thanks for the reply.Very sorry i have no knowledge about any php code i so afraid that i will mess it up i copy the home.php and can you indicate where to put in
Thanks _______________________________________ <?php get_header(); ?> <div id="homepage"> <div id="contentleft"> <div class="postarea"> <?php if (function_exists('gallery_styles')) : ?> <div id="fcg"> <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> </div> <?php endif; ?> <div class="aheadline"> <h3><?php echo cat_id_to_name(get_theme_mod('featured_top_left')) ; ?></h3> </div> <div class="clear"></div> <?php $recent = new WP_Query("cat=".get_theme_mod('featured_top_left') ."&showposts=".get_theme_mod('featured_top_left_nu m')); while($recent->have_posts()) : $recent->the_post();?> <?php if( get_post_meta($post->ID, "thumb", true) ): ?> [img]<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID, [/img]&h=<?php echo get_theme_mod('featured_top_left_thumb_height'); ?>&w=<?php echo get_theme_mod('featured_top_left_thumb_width'); ?>&zc=1" alt="<?php the_title(); ?>" /> <?php else: ?> <?php endif; ?> <h1><?php the_title(); ?></h1> <?php the_content_limit(400, "[".__("Read more", 'studiopress')."]"); ?> <hr/> <?php endwhile; ?> <?php _e("Read More Posts From This Category", 'studiopress'); ?> </div> </div> <?php include(TEMPLATEPATH."/sidebar.php");?> </div> <?php //The main column ends ?> <?php get_footer(); ?> __________________________________________________ ___________________________ and you mention about adding .clear{clear:both;} <-----add to style sheet i do not add to where to add this __________________________________________________ __________________________ |
|
#6
|
||||
|
||||
|
place ad code here just as I showed above
Code:
<?php get_header(); ?>
<div id="homepage">
<div id="contentleft">
<div class="postarea">
<?php if (function_exists('gallery_styles')) : ?>
<div id="fcg">
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
</div>
<?php endif; ?>
<div class="clear"></div>
AD CODE
<div class="clear"></div>
<div class="aheadline">
<h3><?php echo cat_id_to_name(get_theme_mod('featured_top_left')); ?></h3>
</div>
<div class="clear"></div>
<?php $recent = new WP_Query("cat=".get_theme_mod('featured_top_left')."&showposts=".get_theme_mod('featured_top_left_num')); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumb", true) ): ?>
[img]<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID, [/img]&h=<?php echo get_theme_mod('featured_top_left_thumb_height'); ?>&w=<?php echo get_theme_mod('featured_top_left_thumb_width'); ?>&zc=1" alt="<?php the_title(); ?>" />
<?php else: ?>
<?php endif; ?>
<h1><?php the_title(); ?></h1>
<?php the_content_limit(400, "[".__("Read more", 'studiopress')."]"); ?>
<hr/>
<?php endwhile; ?>
<?php _e("Read More Posts From This Category", 'studiopress'); ?>
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<?php //The main column ends ?>
<?php get_footer(); ?>
Quote:
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse Make life easier use FireFox and these Customizing tools: Firebug - Web Developer New to Genesis? See our Guide for Beginners! Recommended StudioPress Designer StudioPress on Facebook |
|
#7
|
|||
|
|||
|
hello debra,
all working perfectly :D Thanks you! Cheers julian |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can WP Gallery images link to a content page? | jimpepe | General Discussion | 2 | 07-20-2010 01:43 PM |
| Placing a google ad above the content gallery | fritzwenzel | General Discussion | 7 | 01-31-2010 04:14 AM |
| Google Chrome won't show Featured Content Gallery | Stewart | General Discussion | 1 | 03-23-2009 10:55 PM |
| Featured Content Gallery Text | gollywill | General Discussion | 13 | 11-30-2008 09:02 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us