Re: Arras Theme 1.4.2-RC1 Now Available

Magaman wrote:

Any idea if this is being fixed in 1.4.2 or does someone have a fix for it, I've tried to figure it out but can't locate the code that needs editing.

Template.php

           

    case 'featured-slideshow-thumb':
                    $w = 640;
                    $h = 250;
                    break;
My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Arras Theme 1.4.2-RC1 Now Available

extatix wrote:
Magaman wrote:

Any idea if this is being fixed in 1.4.2 or does someone have a fix for it, I've tried to figure it out but can't locate the code that needs editing.

Template.php

           

    case 'featured-slideshow-thumb':
                    $w = 640;
                    $h = 250;
                    break;

actually found it after I posted, instead of editing the featured slideshow size I changed the size for the thumbnail for the post in the css
change .single .post .entry-photo to the below

.single .post .entry-photo, .single-post .entry-photo    { width: 640px; margin: 10px -13px 0; overflow: hidden; border: 2px solid #CCC; }

Re: Arras Theme 1.4.2-RC1 Now Available

extatix wrote:

upload a picture to /arras-theme/images (in this code its called nothumb.jpg, but you can change that of course).

Open template.php.
Replace

         $thumbnail = get_post_meta($id, ARRAS_POST_THUMBNAIL, true);
        
        if (!$thumbnail) {
            return false;

with:

 $thumbnail = get_post_meta($id, ARRAS_POST_THUMBNAIL, true);
        
        if (!$thumbnail) {
        
        switch($size) {
                case 'sidebar-thumb':
                    $w = 36;
                    $h = 36;
                    break;
                case 'featured-slideshow-thumb':
                    $w = 640;
                    $h = 250;
                    break;
                case 'featured-post-thumb':
                    $w = arras_get_option('featured_thumb_w');
                    $h = arras_get_option('featured_thumb_h');
                    break;
                case 'news-post-thumb':
                    $w = arras_get_option('news_thumb_w');
                    $h = arras_get_option('news_thumb_h');                
                    break;
                case 'archive-post-thumb':
                    $w = arras_get_option('news_thumb_w');
                    $h = arras_get_option('news_thumb_h');                
                    break;
                default:
                    $w = get_option('thumbnail_size_w');
                    $h = get_option('thumbnail_size_h');
            }
            
            return get_bloginfo('template_directory') . '/library/timthumb.php?src=' . get_bloginfo('template_directory') . '/images/nothumb.jpg' . '&w=' . $w . '&h=' . $h . '&zc=1';

Well, it work for large thumbnail, but not for small one, how can i fix that? thanks

Thumbs up

Re: Arras Theme 1.4.2-RC1 Now Available

Hmmm.. do you have a link to your site so I check something else (cause this works for me).

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

Re: Arras Theme 1.4.2-RC1 Now Available

extatix wrote:

Hmmm.. do you have a link to your site so I check something else (cause this works for me).

http://www.nutechno.com

Thumbs up

Re: Arras Theme 1.4.2-RC1 Now Available

Uhmm.. but there are pics there smile

http://www.watkijkikoptv.info/mp3/nutechno.png

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

Re: Arras Theme 1.4.2-RC1 Now Available

JamesWright wrote:

ZY could you expand on this I don't quite follow. the site im working from is film.falmouth.ac.uk

Ideally i'd just like another category in between the new releases and DVD releases section.

Yeah, and while you're at it, why is this piece of code in home.php exactly?

<?php else: ?>

<div class="home-title"><?php _e('Latest Headlines', 'arras') ?></div>

<div id="archive-posts">
    <?php arras_render_posts(null, arras_get_option('archive_display'), 'archive') ?>    
 
    <?php if(function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
        <div class="navigation clearfix">
            <div class="floatleft"><?php next_posts_link( __('&laquo; Older Entries', 'arras') ) ?></div>
            <div class="floatright"><?php previous_posts_link( __('Newer Entries &raquo;', 'arras') ) ?></div>
        </div>
    <?php } ?>
</div><!-- #archive-posts -->

I don't see any archive posts, my guess the 'else' isn't triggered (yet).

... forget this...
It's explained here: http://twitter.com/arrastheme/status/10113540896

Last edited by extatix (2010-03-19 05:21:02)

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

Re: Arras Theme 1.4.2-RC1 Now Available

Melvin, can you put the user.css in the theme root and change @import url('css/user.css'); into @import url('user.css'); in the next update(s)? It's nice it has a user.css but there people who edit these things in the wordpress editor instead of on their harddrive or in the adminpanel of the webhost.

Last edited by extatix (2010-03-19 11:43:41)

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

Re: Arras Theme 1.4.2-RC1 Now Available

Hi extatix, I am trying to set a default post image for all posts that do not have a featured image assigned in version 1.5.0.1 exactly as described here (I think) but when I open template.php I do not see any of the code to look for. Obviously template.php has changed since 1.4.2 and I would like to implement this in the newer version.

Thumbs up

Re: Arras Theme 1.4.2-RC1 Now Available

Can i use blogger in place of wordpress ?

Thumbs up

Re: Arras Theme 1.4.2-RC1 Now Available

Hi there! I'm a complete novice at WP; I only signed up on 24th.April.

I need help with Arras. I currently have 9 blogs (each with an image) on my site.

How do I put the blogs, images and the slide show into my required sequence? I need to re-sequence images, blogs, etc so that the blogs are in a rational order. Hope you can help. Many Thanks, Mustbe

Thumbs up

Re: Arras Theme 1.4.2-RC1 Now Available

My questions is should we replace 1.5.0.1 with this release?

Are the changes mentioned not in 1.5.0.1?

Last question, how can we help you?


Joe Mobley

Thumbs up

Re: Arras Theme 1.4.2-RC1 Now Available

1.5.0.1 is the latest stable release and everyone should be using it.