Topic: Image on page?

Hey,

I'm running Arras theme (cant remember if it was 1.4.3 or 1.4.2), but im pretty sure the fix will be similar on either. I am also running Wordpress3.0.

The problem is that when I create a page, I end up with a thumbnail (The default one), taking over the page. I dont want it to show up at all (on a page).

you can have a look here and see for yourself:
http://www.techtubemedia.com/contact-us/

(Please excuse me if i made no sense, i am in a hurry)

Thanks!!

Tech Tube Media™

Thumbs up

Re: Image on page?

In filters.php Change
    if ( arras_get_option('single_thumbs') ) {
        $postheader .= '<div class="entry-photo">' . arras_get_thumbnail('featured-slideshow-thumb') . '</div>';
    }
into
    if ( arras_get_option('single_thumbs') && !is_page() ) {
        $postheader .= '<div class="entry-photo">' . arras_get_thumbnail('featured-slideshow-thumb') . '</div>';
    }

My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Image on page?

ahh, that worked like a charm!

May I know if this is a wide-spread problem, or is it just me? (or is it due to the new menu settings in WP 3.0)?

Thumbs up

Re: Image on page?

It's not a problem, there are people who attach a thumbnail to a page. Pages will show up in searches so it doesn't hurt to give them a thumbnail.

My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Image on page?

extatix wrote:

In filters.php Change
    if ( arras_get_option('single_thumbs') ) {
        $postheader .= '<div class="entry-photo">' . arras_get_thumbnail('featured-slideshow-thumb') . '</div>';
    }
into
    if ( arras_get_option('single_thumbs') && !is_page() ) {
        $postheader .= '<div class="entry-photo">' . arras_get_thumbnail('featured-slideshow-thumb') . '</div>';
    }


I just tried this and got this error:
Parse error: syntax error, unexpected T_STRING in /home/trishcp/public_html/myoptimalhealthclub.org/wp-content/themes/arras-theme/library/filters.php on line 47

Any idea what I need to fix?

Thumbs up

Re: Image on page?

I just tried to make this change and now I can't open the filters.php file and my entire site is gone with this error in it's place: Parse error: syntax error, unexpected $end in /home/content/00/7032800/html/wp-content/themes/arras/library/filters.php on line 187

What can I do to fix this?

Thumbs up

Re: Image on page?

pennywilliams wrote:

I just tried to make this change and now I can't open the filters.php file and my entire site is gone with this error in it's place: Parse error: syntax error, unexpected $end in /home/content/00/7032800/html/wp-content/themes/arras/library/filters.php on line 187

What can I do to fix this?

This is an old thread :S, I have not used this theme for oh so long.

However, let me try to get back into it for a second; try undoing the change (copy the old code over the new one).

If that doesn't work, I suspect that you may have changed more than just these lines of codes, and in that case, I suggest you download a new copy of filters.php and compare the two to see if you had changed anything.

Thumbs up