StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Which forum to use re: Church theme (http://www.studiopress.com/support/showthread.php?t=122204)

lakehills101 10-25-2012 01:53 PM

Which forum to use re: Church theme
 
Hi ~ I purchased the church theme from StudioPress and have been using it for about 3 years. Due to some changes I need some support, but can't find which Forum I'm supposed to use. Can someone point me?

Thank you!
~ Mike K.

NicktheGeek 10-25-2012 02:07 PM

Please post a link to your site

lakehills101 10-25-2012 02:14 PM

http://www.lakehillsfmc.com

NicktheGeek 10-25-2012 02:32 PM

post your question here.

lakehills101 10-25-2012 02:40 PM

Under Appearance / Church Theme options, I'm trying to change my featured blog posts. Specifically, I'm trying to change Homepage Featured Bottom to a different category, and perhaps alter the thumbnail dimensions so that they will look right.

Whenever I select a new category from the pull-down menu and hit "Save Settings," the page simply resorts back to the original category.

Thanks,
~ Mike

Church Theme version 4.0
WordPress 3.4.2
Browser: Chrome 22.0.1229.96 m

NicktheGeek 10-25-2012 02:46 PM

Thought you might ask that. Check out this thread
http://www.studiopress.com/support/s...hlight=options

lakehills101 10-25-2012 03:24 PM

Parse error: syntax error, unexpected T_VARIABLE in /home3/lakehill/public_html/wp-content/themes/church/tools/theme-options.php on line 11

Okay - I botched something. I was editing the theme-options.php file in the onboard editor. The fix suggested by another church theme user did not work, so I tried the original suggestion by "turkey bucket." Now I can't find what I messed up. I have even reloaded the original theme-options.php which I backed up - nothing.

Okay - fixed the Parse error - still can't get any joy on the original problem... I'll try one more time.

lakehills101 10-25-2012 03:37 PM

Okay. I've tried:

1.

$settings = 'theme_mods_'.get_current_theme(); // do not change!

changed to...

$settings = 'theme_mods_church' // do not change!

...no joy. :bang:

2.

$settings = 'theme_mods_'.get_current_theme(); // do not change!

changed to...

$settings = 'theme_mods_church_40'; // do not change!

...no joy. :bang:

NicktheGeek 10-25-2012 03:43 PM

It should be
PHP Code:

$settings 'theme_mods_church' // do not change! 

Your theme directory is "church" not "church_40"

What happened when you changed it to theme_mods_church?

lakehills101 10-25-2012 04:13 PM

No change. I even tried adding the semicolon ";" after 'theme_mods_church'.

Tried it both ways:

$settings = 'theme_mods_church' // do not change!

and...

$settings = 'theme_mods_church'; // do not change!


No change, no difference. Cleaned out cache and cookies, rebooted browser, refreshed pages numerous times, disabled plugins, etc. :smash:

lakehills101 10-25-2012 06:03 PM

Nick, I got the categories to change! :clap: I had to also edit the tools/theme-options.php.

Now if you could help me with one last issue I would greatly appreciate it! Is there a way to get my thumbnails to reflect the same relative aspect ratio as the pics in my blog posts? I use a shrunken HD ratio.

I had assumed that if I could get the previous problem fixed that I could simply change the thumb dimensions in the Church Theme Options page, but the thumbs displayed on the Homepage don't change.

Thanks,
~ Mike

NicktheGeek 10-25-2012 06:12 PM

please post the contents of your home.php file.

lakehills101 10-25-2012 06:52 PM

PHP Code:

<?php get_header(); ?>

<div id="content">

    <div id="homepage">
    
        <?php dynamic_content_gallery(); ?>
        <?php if (function_exists('gallery_styles')) : ?>
        <div id="homepagetop">
            <div class="featuredtop">
                <?php include (ABSPATH '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
            </div>
        </div>
        <?php endif; ?>
        <?php // end ?>
                    
        
        <div id="homepagebottom">
        
            <div class="hpbottom">
            <h3><?php echo cat_id_to_name(get_theme_mod('featured_bottom')); ?></h3>
                
                <?php $recent = new WP_Query("cat=".get_theme_mod('featured_bottom')."&showposts=".get_theme_mod('featured_bottom_num')); while($recent->have_posts()) : $recent->the_post();?>
                <?php if( get_post_meta($post->ID"thumb"true) ): ?>
                <a href="<?php the_permalink() ?>" rel="bookmark"><img class="thumb" src="<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID"thumb"$single true); ?>&amp;h=<?php echo get_theme_mod('featured_bottom_thumb_height'); ?>&amp;w=<?php echo get_theme_mod('featured_bottom_thumb_width'); ?>&amp;zc=1" alt="<?php the_title(); ?>" /></a>    
                <?php else: ?>
                <?php endif; ?>
                
                <strong><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></strong>
                <?php the_content_limit(350__("[Read more of this review]"'studiopress')); ?>
                    
                <hr/>
                    
                <?php endwhile; ?>
                        
                <?php if(get_theme_mod('featured_bottom')) : ?>
                <strong><a href="<?php echo get_category_link(get_theme_mod('featured_bottom')); ?>" rel="bookmark"><?php _e("Read more posts from "'studiopress'); echo get_cat_name(get_theme_mod('featured_bottom')); ?></a></strong>
                <?php endif; ?>
            
            </div>
        
        </div>
        
    </div>
    
<?php get_sidebar(); ?>
        
</div>

<?php get_footer(); ?>


NicktheGeek 10-25-2012 07:31 PM

looks liek there should be some theme options for the featured bottom height and width.

lakehills101 10-25-2012 09:37 PM

All is working now. Thanks for your help, Nick! :):

NicktheGeek 10-26-2012 07:33 AM

You're welcome.

Since this is resolved I'm going to close this thread.


All times are GMT -5. The time now is 02:53 AM.

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