StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 02-15-2009, 07:20 AM
kwthomas kwthomas is offline
Registered User
Genesis Member
 
Join Date: Feb 2009
Posts: 4
Default Don't want Featured Content Gallery

Hey everyone.
I tried searching but failed and couldn't find an answer. My question is, If I don't want to use Featured Content Gallery but want a intro/welcome paragraph to be in its place how could I do this. I know how to get rid of FCG that's not a problem, I'm just unsure as how to add a text section. I have the church theme by the way.
Any help would be greatly appreciated.
  #2  
Old 02-15-2009, 08:01 AM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default Re: Don't want Featured Content Gallery

bascially follow the instructions here viewtopic.php?f=8&t=5111
__________________
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  
Old 02-15-2009, 08:49 AM
kwthomas kwthomas is offline
Registered User
Genesis Member
 
Join Date: Feb 2009
Posts: 4
Default Re: Don't want Featured Content Gallery

I can't read that Thread , I don't have the authority... Any other suggestions?
  #4  
Old 02-15-2009, 09:40 AM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default Re: Don't want Featured Content Gallery

Sorry about that

this will allow you to use a post box and thumb

if you don't want that style you can just add text and change the styling in css for featured top to reflect the padding and text size etc that you want.

<div id="homepagetop">

<div class="featuredtop">

<--- insert code here-->
</div>

</div>

and insert a loop such as this, you will have to hardcode this for category it won't show up as an option on the Options page.

Code:
				<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
				<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
				    [img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
				<?php else: ?>
				   	[img]<?php bloginfo('template_url'); ?>/images/thumbnail.jpg[/img]" />
				<?php endif; ?>				
				<?php the_title(); ?>
				<?php the_content_limit(350, "[Read More]"); ?>
				
				<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
				
				<?php endwhile; ?>

				
				
				Read More Posts From This Category
__________________
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  
Old 06-21-2009, 11:34 PM
moneyfunk moneyfunk is offline
Registered User
Pro Plus Member
 
Join Date: Jun 2009
Posts: 49
Default Re: Don't want Featured Content Gallery

Okay, I added text to the home.php....

<div id="homepagetop">

<div class="featuredtop">

Hi! Can you help me?!?!
</div>

</div>

<?php endif; ?>

And added .featuredtop to the style sheet to mimic .hpbottom, but I cannot get this to work for me!

.featuredtop {
float: left;
width: 590px;
margin: 0px;
padding: 10px;
display: inline;
}

.featuredtop {
border: none;
margin: 0px;
}


I've tried a few other things but whatever I am doing is not right!

Finally frustrated... I hope you can help! http://www.vintagehallow.com
  #6  
Old 06-21-2009, 11:53 PM
adew adew is offline
Community Moderator
 
Join Date: Oct 2008
Location: Genève, Suisse
Posts: 14,270
Default Re: Don't want Featured Content Gallery

Please post your entire home.php. Thanks.
__________________
Ade
Themessence - Studiograsshopper

WordPress plugins: Dynamic Content Gallery | Reveal Page Templates | Custom Taxonomies Menu Widget

Check out the Genesis and Child Theme tutorials before posting your question - and please provide YOUR URL!
Make Andrea happy - read her Firebug tutorial and save yourself loads of time and effort.
  #7  
Old 06-22-2009, 08:24 AM
moneyfunk moneyfunk is offline
Registered User
Pro Plus Member
 
Join Date: Jun 2009
Posts: 49
Default Re: Don't want Featured Content Gallery

I would like to just add a text field for an introduction section.


<?php get_header(); ?>

<div id="content">

<div id="homepage">

<?php /*Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing*/ ?>
<?php if (function_exists('gallery_styles')) : ?>

<div id="homepagetop">

<div class="featuredtop">

Hi! Can you help me?!?! This is where I would like to add a text field. Thank you.
</div>

</div>

<?php endif; ?>

<div id="homepageleft">

<div class="hpfeatured">
<?php $feature_cat_1 = get_option('lifestyle_feature_cat_1'); $feature_cat_1_num = get_option('lifestyle_feature_cat_1_num'); if(!$feature_cat_1) $feature_cat_1 = 1; //setting a default ?>
<h3><?php echo cat_id_to_name($feature_cat_1); ?></h3>



<?php $recent = new WP_Query("cat=".$feature_cat_1."&showposts=".$feat ure_cat_1_num); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
<?php else: ?>
<?php endif; ?>
<?php the_title(); ?>
<?php the_content_limit(80, ""); ?>

<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>

<?php endwhile; ?>

Read More Posts From This Category

</div>

</div>

<div id="homepageright">

<div class="hpfeatured">
<?php $feature_cat_2 = get_option('lifestyle_feature_cat_2'); $feature_cat_2_num = get_option('lifestyle_feature_cat_2_num'); if(!$feature_cat_2) $feature_cat_2 = 1; //setting a default ?>
<h3><?php echo cat_id_to_name($feature_cat_2); ?></h3>



<?php $recent = new WP_Query("cat=".$feature_cat_2."&showposts=".$feat ure_cat_2_num); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
<?php else: ?>
<?php endif; ?>
<?php the_title(); ?>
<?php the_content_limit(80, ""); ?>

<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>

<?php endwhile; ?>

Read More Posts From This Category

</div>

</div>

<div id="homepagebottom">

<div class="hpbottom">
<?php $feature_cat_3 = get_option('lifestyle_feature_cat_3'); $feature_cat_3_num = get_option('lifestyle_feature_cat_3_num'); if(!$feature_cat_3) $feature_cat_3 = 1; //setting a default ?>
<h3><?php echo cat_id_to_name($feature_cat_3); ?></h3>



<?php $recent = new WP_Query("cat=".$feature_cat_3."&showposts=".$feat ure_cat_3_num); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "hpbottom", true) ): ?>
[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
<?php else: ?>
<?php endif; ?>
<?php the_title(); ?>
<?php the_content_limit(350, "[Read more of this review]"); ?>

<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>

<?php endwhile; ?>

Read More Posts From This Category

</div>

</div>

</div>

<?php include(TEMPLATEPATH."/sidebar.php");?>

</div>



<?php get_footer(); ?>
  #8  
Old 06-22-2009, 08:26 AM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default Re: Don't want Featured Content Gallery

the part in bold hides this div if the requirements [ie fcg isn't called for and activated ] aren't met. Remove it and you should be fine.

<?php /*Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing*/ ?>
<?php if (function_exists('gallery_styles')) : ?>


<div id="homepagetop">

<div class="featuredtop">

Hi! Can you help me?!?! This is where I would like to add a text field. Thank you.
</div>

</div>

<?php endif; ?>
__________________
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Content Gallery & Dynamic Content Gallery Alternitive! BrianLis General Discussion 12 01-03-2011 04:27 PM
General consensus on Dynamic Content Gallery over the old Featured Content Gallery? TomL General Discussion 5 05-26-2010 05:49 PM
Exchange Featured Video Gallery for Featured Content Gallery detailzz General Discussion 4 09-14-2009 03:32 AM


All times are GMT -5. The time now is 10:34 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.