WordPress.org

Ready to get started?Download WordPress

Forums

FPW Category Thumbnails
[resolved] Viva Zoom + FPW category thumbnails (9 posts)

  1. msFiBi
    Member
    Posted 3 years ago #

    Hello.
    The theme I am using has a Viva Zoom add to work with thumbnails.

    Unfortunately I have no idea how to make it work with FPW category thumbnails plugin =( Disabling Viva Zoom makes the whole page not working...

    http://www.cleanika.ru - could somebody please help? I really need a fixed preview for every category.

    http://wordpress.org/extend/plugins/fpw-category-thumbnails/

  2. Frank P. Walentynowicz
    Member
    Plugin Author

    Posted 3 years ago #

    I see that Viva Zoom is a premium plugin. I don't have access to it so it's hard for me to determine plugin's way of handling thumbnails. Is Viva Zoom bundled with your your theme or installed as stand alone plugin. I would need more technical details about your theme and Viva Zoom to be able to help you.

  3. Frank P. Walentynowicz
    Member
    Plugin Author

    Posted 3 years ago #

    I've looked into your post source and it does not use wordpress thumbnails. It has an embeded image only. Check your theme's functions.php for the line: add_theme_support( 'post-thumbnails' );. If it is not there then add it. Add another line: set_post_thumbnail_size( 50, 50, true ); in which 50 & 50 are width & height respectively ( you can make those values different to meet your requirements ) and true means hard cropping ( change it to false if you want to preserve size ratios ). Now, to display your thumbnails: check your theme's templates and just before every occurence of the line containing the_content insert: if ( has_post_thumbnail() ) the_post_thumbnail();. That will display your thumbnail with text floating around it. You may need to remove the picture from your post if it is the same as thumbnail otherwise you'll have redundant pictures shown. Viva Zoom is simply a wraper plugin for 'Highslide JS' by Torstein H√łnsi. If you want to have zooming effects on your site you can use FREE Hihslide4WP plugin and save money.

  4. Frank P. Walentynowicz
    Member
    Plugin Author

    Posted 3 years ago #

    MsFiBi, when you ask for help and someone is trying to help you it is a common courtesy to respond. Your silence shows total disrespect for other people efforts.

  5. msFiBi
    Member
    Posted 3 years ago #

    Dear Sir,
    Please take my sincear apologizes for not responding in a long time. ut it happened due to the lack of time because I became involved in a project that totally took my time away this week.

    As for the subject: I did what you wrote and it also lead me to the codex. page where I learned something new for myself in the "thumbnails area"(especially how to crop the images).
    I followed the steps you wrote me but in the end I had to comment the lines as it didn't work well:
    http://www.fibi.me/screens/fibi_screen_000.jpg
    http://www.fibi.me/screens/fibi_screen_001.jpg

    Maybe I placed them in the wrong lines or wrong panctuation (because the thumbnails didn't show up but viva images went away either).

    But then I found a problem that made me really sad and why I didn't respond you in time >
    http://www.cleanika.ru - I changed the theme just to check how thumbnails actually work (proceeded?) and it seems like I have ALL the needed pictures at the server BUT somehow they don't show at the page (even using timthumb.php that also generates previews). So I wrote about the problem in the Russian forum with the new screens (the is a space between "_" and "00":

    http://www.fibi.me/screens/fibi_screen_ 002.jpg
    http://www.fibi.me/screens/fibi_screen_ 003.jpg
    http://www.fibi.me/screens/fibi_screen_ 004.jpg
    http://www.fibi.me/screens/fibi_screen_ 004.jpg

    So... I guess the actual problem is not just adding the needed lines into initial page but to find why the images don't show up at all even thoug they exist at the remote server server =(

    And again I am really sorry if I made you angry. My fault.
    I can make the topic updated if you are interested in how my story ends...

  6. Frank P. Walentynowicz
    Member
    Plugin Author

    Posted 3 years ago #

    Apology accepted. The reason for thumbnails not being shown is simple. In functions.php remove function keyword from lines added. These are function calls not function definitions. In home.php the proper placement for call to display thumbnails is just before the_excerpt so it should read:

    <?php if ( has_post_thumbnail() ) the_post_thumbnail();
          the_excerpt(); ?>

    And, of course, remove what you've added to division "sliderContent". There are more places to display thumbnails ( single.php, page.php, etc ).

    If you feel you can trust me, give me admin access to your website or FTP access to it, and I can fix it for you in 5 minutes flat. I you decide to do it, send these credentials through the contact form on my site: Contact. If you are not comfortable with giving me access, send these two files: functions.php and home.php zipped, using contact form mentioned above and I'll send them back to you, corrected.

  7. Frank P. Walentynowicz
    Member
    Plugin Author

    Posted 3 years ago #

    MsFiBi, did you get my email with corrected files?

  8. msFiBi
    Member
    Posted 3 years ago #

    No, unfortunately =( Could you please re-send it to my account at steamgirl.ru(ad)gmail.com?

  9. Frank P. Walentynowicz
    Member
    Plugin Author

    Posted 3 years ago #

    I've sent it to the new address. Please let me know if you hav it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic