Theme problem

Ask questions and get support about Image River Wordpress Theme

Theme problem

Postby shansta » 13 Dec 2009, 10:07

Hello,

I purchased this theme and umm it doesn't seem to work? You can see on sitefreaks dot com. There wasn't even an images folder in the download package...


What's the go?

Thanks
shansta
 
Posts: 10
Joined: 13 Dec 2009, 10:05

Re: Theme problem

Postby shansta » 13 Dec 2009, 11:59

scrap that, i worked it out.

Is there better documentation? Also regarding the rating stars on the frontpage, they are flickering in Firefox and IE8... Any fix for this?
shansta
 
Posts: 10
Joined: 13 Dec 2009, 10:05

Re: Theme problem

Postby Kadom » 13 Dec 2009, 12:28

Hello,

Thanks for purchasing Image River.
The better way to fix this problem is to change the rating template.
In your Wordpress Admin Panel > Ratings > Ratings Templates:

Ratings Vote Text : %RATINGS_IMAGES_VOTE%

Ratings Voted Text : %RATINGS_IMAGES%

Ratings None: %RATINGS_IMAGES_VOTE% (No Ratings Yet)

You save and normally it's fixed. Let me know if there is anything else.

Best Regards
Kadom Admin
User avatar
Kadom
Site Admin
 
Posts: 22
Joined: 23 Mar 2009, 12:05

Re: Theme problem

Postby shansta » 13 Dec 2009, 15:36

Hi

thanks for the reply. Fixes the problem

Can you tell me how I change the height of the slider?
And how you set the thumbnail to the 290px × 180px in media options? So it doesnt cut off the image at the bottom...

cheers
shansta
 
Posts: 10
Joined: 13 Dec 2009, 10:05

Re: Theme problem

Postby Kadom » 14 Dec 2009, 10:57

Hello,

By slider you mean the box on the index page for the featured entries ? or the toggle effect on the little thumbnails ?

For the first one :
- You must change the height in the css file include/js/SmoothGallery/css/jd.gallery.css
- You must change the height of the image in the index.php
line 52 :
Code: Select all
<img src="<?php bloginfo('template_directory'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID,'image', true); ?>&h=300&w=610&zc=1&q=85" class="full"  style="width:590px;height:290px;" alt="<?php the_title(); ?>"/>

h=300

For the second it's in the style.css
Code: Select all
#gallery div.info{ left: 3px;position:absolute;bottom: -110px; padding-bottom:2px; display: block; width: 290px; min-height: 25px; overflow: hidden;}

min-height: 25px;

And how you set the thumbnail to the 290px × 180px in media options? So it doesnt cut off the image at the bottom...


In your Wordpress Admin Panel, Settings > Media, you can set up the size of the thumbnail.
But normally you don't need it, your images are automatically resized by the thumb script.

Best Regards,
Kadom Admin
User avatar
Kadom
Site Admin
 
Posts: 22
Joined: 23 Mar 2009, 12:05

Re: Theme problem

Postby shansta » 15 Dec 2009, 04:37

cheers. I worked it out.


Do you know if the 'All' tab can be removed from the frontpage and instead have another category as the default tab? Is this possible?

I have been searching for hours and found no solution
shansta
 
Posts: 10
Joined: 13 Dec 2009, 10:05

Re: Theme problem

Postby Kadom » 15 Dec 2009, 15:26

Hello,

Yes it's possible, but it will create problems with pagination (the pagination is based on the loop information, ie: the last entries).

I suppose that you want display only the post entries from the default tab category.

1) the tabs
for the tab,in the index.php you search for
Code: Select all
<ul class="category_nav">
         <li class="current">All</li>
         <?php
            wp_list_categories('orderby=name&depth=1&hide_empty=0&title_li=');
         ?>
      </ul>


and you remplace it by :
Code: Select all
<?php $id_cat= [your_default_cat_id] ; ?>
<ul class="category_nav">
            <li class="current"><?php echo get_category_parents($id_cat,true,'  &raquo; '); ?></li>
         </ul>
         <ul class="category_nav">
         <?php                  
            wp_list_categories('echo=0&orderby=name&exclude='.$id_cat.'&depth=1&hide_empty=0&title_li=');
         ?>
         </ul>

Don't forget to replace: [your_default_cat_id]

2) the loop
Now we will change the post display :
Search for :
Code: Select all
<?php if (have_posts()) :
            $i=0;?>
         <div class="section carre">
            <ul id="gallery">
               <?php while (have_posts()) : the_post(); ?>


And replace it by :
Code: Select all
<?php $default_cat_post = new WP_Query('cat=[your_default_cat_id]&showposts=10&order=DESC');
$i=0;
?>
         <div class="section carre">
            <ul id="gallery">
               <?php while ($default_cat_post->have_posts()) : $default_cat_post->the_post(); ?>

Don't forget to replace: [your_default_cat_id]

3) remove the pagination

Now with remove the pagination for the index :
Search for :
Code: Select all
               <div id="navigation">
                  <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
                       else
                       { ?>
                              <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
                              <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
                  <?php }   ?>
               </div><!-- /navigation -->


and remove it !

Best Regards,
Kadom Admin
User avatar
Kadom
Site Admin
 
Posts: 22
Joined: 23 Mar 2009, 12:05

Re: Theme problem

Postby shansta » 15 Dec 2009, 18:49

Wow. Cheers for your time.

No images in Rss feeds with this theme?
shansta
 
Posts: 10
Joined: 13 Dec 2009, 10:05

Re: Theme problem

Postby Kadom » 15 Dec 2009, 20:11

No Problem ;) , For the RSS I didn't think about that... Perhaps in a future version of the theme. I check what I can do.

Best Regards
Kadom Admin
User avatar
Kadom
Site Admin
 
Posts: 22
Joined: 23 Mar 2009, 12:05

Re: Theme problem

Postby shansta » 16 Dec 2009, 02:52

ok..

I see Css bay and Cssleak who are using this theme have been able to get images to display in their feed.

http://feeds.feedburner.com/CssBay
http://feeds.feedburner.com/Cssleak
shansta
 
Posts: 10
Joined: 13 Dec 2009, 10:05

Next

Who is online

Users browsing this forum: No registered users and 1 guest