Front Page with POrtfolio below the Slider

resolved (90 posts) (15 voices)

  1. cabecafeita
    Member

    Please, i´m gonna crazy here.
    I want to put in my front page the Portfolio (gallery style), below the "Slider".

    How i can do it? I changed the "Mainpage Content Area" to a Page taht contains the portfolio, and doesnt work, nothing appears.

    I´m spending 35 hours already on that, and nothing to now.

    Please, help me.

    I made a example with photoshop of how i mean to my Home need work:

    Attachments

    1. Untitled-5.jpg (90.4 KB, 18 downloads) 1 year old
    Posted 1 year ago #
  2. Elliott
    Support

    Hello cabecafeita,

    This would be considered custom work but I believe other people would like to do this also so I will create a fix for you. In the meantime please be patient and refrain from double posting.

    I have been really busy lately but I should get back with you by tomorrow with the fix.

    Posted 1 year ago #
  3. cabecafeita
    Member

    Thanx a lot Elliott, i really apreciatte your help =)
    Sorry for double posting, i was desesparate.

    I´ll wait your update. Kind regards and thank you very much

    Posted 1 year ago #
  4. Elliott
    Support

    Alrighty, first off is your slider set to grab custom images or images from a category? There will be a different fix depending on which one you have set.

    If it is set to grab from categories then go ahead and try out this fix. If it is set to grab custom images then let me know and I will upload another fix for you.

    1. Delete the following file.. /wp-content/themes/infocus/lib/includes/featured-categories.php
    2. Extract the attached file and upload to /wp-content/theme/infocus/lib/includes/
    3. Create a portfolio gallery page with the portfolio shortcodes.. Ex: [portfolio cat=5 style=gallery max=9] and make sure to select the default template.
    4. In your inFocus settings select the page you just created in the Homepage tab to display on the homepage.
    5. Test thoroughly.

    Let me know of the results cabecafeita.

    Attachments

    1. featured-categories.zip (1.9 KB, 35 downloads) 1 year old
    Posted 1 year ago #
  5. cabecafeita
    Member

    Elliott, this is perfectly working!!! Really really awesome! Thanx a lot.

    Let me know something, if i want to have sidebar, i just need to put "get sidebar" in the code?

    Thank oyu very much, this is the perfect support ever!!!! Happy to become a member!

    Posted 1 year ago #
  6. cabecafeita
    Member

    2- I can´t write anything there? on the page doesnt appear, any suggestion?

    Posted 1 year ago #
  7. Elliott
    Support

    When you want to write text in the page.. do you want it to appear above the portfolio or below it?

    It would be impossible to have both so let me know and I make you another file.

    Posted 1 year ago #
  8. Elliott
    Support

    Try this one cabecafeita, let me know if it works.

    Attachments

    1. featured-categories.zip (2 KB, 45 downloads) 1 year old
    Posted 1 year ago #
  9. cabecafeita
    Member

    Perfect!!!!!
    It works perfectly!

    Thank you veru much Elliott :)

    Posted 1 year ago #
  10. Elliott
    Support

    Glad it works for you cabecafeita, if you need anything else then let us know. For anyone else wanting to do this please use the the second file.

    Posted 1 year ago #
  11. HouseofStrauss
    Member

    Hi Elliott, I like this mod, but I'm using custom images in my home page slider. Can I still use this file featured-categories.zip as above?
    Many thansk for your help...

    Posted 1 year ago #
  12. Elliott
    Support

    Hello HouseofStrauss,

    Try this one, just follow the steps above.

    Let us know if it works for you.

    Attachments

    1. featured-custom.zip (2.3 KB, 76 downloads) 1 year old
    Posted 1 year ago #
  13. HouseofStrauss
    Member

    Thanks Elliott, I'll try that tomorrow (it's late here!)

    Erm ... has anyone said how great the support is here?! Very impressed and much appreciated. Yes, I know we paid for the themes, but this kind of support sets you guys apart from the rest.

    Posted 1 year ago #
  14. HouseofStrauss
    Member

    Hi again Elliott. The featured-custom.php modified file works perfectly. Thanks for doing this. Looking at the way this displays data looks great as a front page design feature. A further step (you may want to consider) is to make each portfolio block (image) pull from a different category, or page id. Also to allow it to query the latest post from each category, taking first image and excerpt. That way you have a dynamic portfolio of blog and prime page highlights right on the front page. Just a thought ...

    Posted 1 year ago #
  15. Elliott
    Support

    Glad it works for you HouseofStrauss, that change is pretty complex and would have to fall under custom work. If you need anything else then let us know.

    Posted 1 year ago #
  16. HouseofStrauss
    Member

    Oh, NO, that's an idea for you guys for future developments! Thanks again

    Posted 1 year ago #
  17. valuesandfriends
    Member

    @HouseofStrauss: This is exactly what i would also need as a frontpage feature!

    @Elliott: How can i display excerpts from different categories on my portfolio page instead?
    Do i have to add an additional category (i.e. 'Portfolio') to every article?
    If so, how are they going to be displayed on the portfolio page? (Newest article first, the the second newest etc.?)

    Cheers, Jan

    [MODERATED] - Hey Jan, I deleted your other customization posts so they do not confuse other readers. We'll continue this in your PM.

    Posted 1 year ago #
  18. Elliott
    Support

    Hello Jan,

    Open up /wp-content/themes/infocus/lib/includes/template-blog.php and find lines 231 - 237 which should look like this..

    <?php if($teaser_text) { ?>
    <p class="portfolio"><?php echo $teaser_text; ?></p>
    <?php } ?>
    
    <?php if(!$read_more_disable) { ?>
    <span><a class="button_link" href="<?php the_permalink(); ?>"><span>Read More</span></a></span>
    <?php } ?>

    You will want to add a line inbetween like this..

    <?php if($teaser_text) { ?>
    <p class="portfolio"><?php echo $teaser_text; ?></p>
    <?php } ?>
    
    <?php the_excerpt(); ?>
    
    <?php if(!$read_more_disable) { ?>
    <span><a class="button_link" href="<?php the_permalink(); ?>"><span>Read More</span></a></span>
    <?php } ?>

    This could throw your categories out of balance so you might want to surround it with a div like this..

    <div style = 'overflow: hidden; width: 100px; height: 50px;'><?php the_excerpt(); ?></div>

    Play around with the width and height until you get something you like.

    Posted 1 year ago #
  19. valuesandfriends
    Member

    Hey Elliott,

    my template-blog.php ends at line 225.
    I found the mentioned code in template-portfolio-gallery.php and added the line.

    How do i setup the 'Portfolio' page to display the excerpts now?
    When i add the portfolio shortcode (i.e. [portfolio cat=1 style=gallery max=9] ) to it, the page displays nothing.

    Cheers, Jan

    Posted 1 year ago #
  20. Dorian
    Support

    Hi valuesandfriends,

    That's right.

    Now to setup the portfolio, please have a look at my second post in this topic http://mysitemyway.com/support/topic/gallery

    This should guide you step by step in the procedure involved.

    Cheers,
    Uniq

    Posted 1 year ago #
  21. valuesandfriends
    Member

    Hi Uniq,

    thanks for your response.
    I followed the steps exactly to set up a portfolio gallery.
    Unfortunately the portfolio section on the frontpage which should be displayed underneath the slider still remains empty.

    I would like it to appear like on http://www.surfartculture.com/ but with a sidebar.

    Cheers, Jan

    Posted 1 year ago #
  22. valuesandfriends
    Member

    -2-
    When i try it with a modified featured-categories.php the layout is slightly different to the one i would like to have but the images do not load (see attachment). They appear for a second and the the loader spins and spins.

    If it easier to fix this i would also be comfortable with it.

    Cheers, Jan

    Attachments

    1. test.png (132.4 KB, 1 downloads) 1 year old
    Posted 1 year ago #
  23. Elliott
    Support

    Hey valuesandfriends,

    From your image it appears that you are trying to get your blog to show up on your homepage right? If this is the case then you might want to take a look at this thread..

    http://mysitemyway.com/support/topic/cannot-get-blog-on-homepage?replies=8&message=update-support-forums-topic-status-error

    Let us know if that is what you were wanting.

    Posted 1 year ago #
  24. valuesandfriends
    Member

    Hey Elliott,

    i would like my blog to show up on the frontpage. The post images should appear under the slider as a portfolio (small images with shadows) with an excerpt of the post underneath (two or three columns).
    Quite similar to how cabecaFeita did it (www.surfartculture.com), just with a sidebar on the right.

    For the screenshot above i used the modified featured-categories.php you provided in the other thread. If the portfolio view does not work this would also be ok for me but unfortunately the post images do not load.

    Sorry for not being able to explain this in better english but i hope you understand what i am aiming for.

    Thanks for your help!

    Cheers, Jan

    Posted 1 year ago #
  25. valuesandfriends
    Member

    -2-
    I just decided to skip the "portfolio-look" blog overview on the front page because i need to get the site up and running again urgently.

    The only open issue is that the images do not load (as you see in my screenshot above).
    I used your modified featured-categories.php for this.

    Any idea to get this going?

    Cheers, Jan

    Posted 1 year ago #
  26. Elliott
    Support

    Hello valuesandfriends,

    Unfortunately to get a sidebar with this fix would require custom work and I would recommend hiring a freelancer for this.

    If the images are not showing up then redownload the file and extract it. If that does not fix it then send us a link to your site as there is probably something else going on.

    Posted 1 year ago #
  27. valuesandfriends
    Member

    Do you need a login for WordPress or just the link to the website?
    http://www.stilbrief.de

    Cheers, Jan

    Posted 1 year ago #
  28. kehyian
    Member

    Hi there,

    First of all I'd like to say a big THANK YOU for the InFocus template and for the great support here.

    I have a question regarding the hover effect on gallery thumbnails in the front page.
    I'm using the modified featured-custom.php and in the page I created for the gallery everything works fine but if I choose this page for mainpage content area the hover effect is gone.

    Any idea ?

    Thanks in advance.

    Posted 1 year ago #
  29. Elliott
    Support

    Hey kehyian,

    Sorry about this.. I just remembered that was one of the things I had to change to get it to work on the home page. If you need it then we can do a little jQuery fix where the images will fade out when you hover over them but the little play button and magnifying glass will not show up though.

    Let me know what you feel like doing.

    Posted 1 year ago #
  30. kehyian
    Member

    Hey Elliott,

    Thank you very much for you time. I 'll leave as it is now.

    But now i noticed something else.

    If i choose another page for the mainpage content area then i can see the new page AND the videos.

    It's like the videos are hard-coded in front page.

    Any idea?

    Thanks again

    Posted 1 year ago #
  31. Elliott
    Support

    If you want to get the Full Portfolio (1 column) instead of the Gallery Portfolio (3 columns) then you can try these..

    Let us know if they work for you all okay.

    Attachments

    1. featured-custom-full.zip (2 KB, 6 downloads) 1 year old
    2. featured-categories-full.zip (1.7 KB, 4 downloads) 1 year old
    Posted 1 year ago #
  32. defharo
    Member

    Hello Elliot,
    I have installed the code (featured-categories.zip (2 KB)) to display the gallery under the homepage content and works perfect. But I have a question: I have 2 pages now show two diferent galleries (In the future I want to have other different categories-galleries), what happens is that on the homepage shows all the images of the 2 galleries. The firts question is: how I can display in the homepage only the images of a category? and the second question: How I can limit the number of images in the gallery show on the homepage of the web?
    See the homepage: http://www.defharo.com
    Thank you very much for your help
    deFharo

    Posted 1 year ago #
  33. Elliott
    Support

    Hello defharo,

    It will use the categories and number that you define for your slider in Dashboard -> inFocus -> Homepage. If you want to change it only for the portfolio then open up the featured-categories.php and at the top you should see this..

    <?php $featured_query = new WP_Query("cat=$slider_showcats&showposts=$slider_count"); ?>

    Go ahead and change it like this..

    <?php $featured_query = new WP_Query("category_name=Your Category&showposts=6"); ?>

    And then switch Your Category with your category slug which you can find in Dashboard -> Posts -> Categories. To change the number of posts it grabs then switch showposts=6 to whatever you want.

    Let us know if this works for you defharo.

    Posted 1 year ago #
  34. defharo
    Member

    Hi Elliot,
    as usual thanks for your quick response.
    The instruction worked fine.
    deFharo

    Posted 1 year ago #
  35. Elliott
    Support

    Glad it worked for you defharo, if you have any other questions then let us know.

    Posted 1 year ago #
  36. breezemaster
    Member

    I tired the original

    "Try this one cabecafeita, let me know if it works.
    featured-categories.zip (2 KB, 22 downloads) 3 months old"

    to get a gallery (not full width) under my slider.
    It pulls in the gallery, but my slider won't load an image. It just spins.

    The Full width variation works fine.

    Did something change in the original templates between releases here?

    Would love to get that going.
    Cheers in advance!

    Jim

    Posted 1 year ago #
  37. Elliott
    Support

    Hello breezemaster,

    Unfortunately the portfolio is not designed to be used with a sidebar. I will look into getting something fixed in my freetime but no guarantees.

    Posted 1 year ago #
  38. breezemaster
    Member

    Hey Elliott,

    Sorry, mis-communication.
    I didn't mean with a sidebar. I meant, the smaller (not full width) version of the portfolio.
    Full width page, 1 third portfolio images.

    I tried the zip you posted (second one) and it breaks the slider.

    Any ideas?

    Thanks!
    Jim

    Posted 1 year ago #
  39. Elliott
    Support

    Are you talking about the portfolio Gallery or the portfolio Full? I just tried the portfolio Full and it works fine for me.

    Go ahead and send us a link to your homepage breezemaster.

    Posted 1 year ago #
  40. breezemaster
    Member

    I mean 'portfolio Gallery', and the full works fine for me too.

    I need to show a working verision to a client soon (and its late here), so I'll have to send you a link later tomorrow.

    Cheers

    Posted 1 year ago #
  41. breezemaster
    Member

    Hi Elliot,

    Heres the link.
    http://dev.netzstrategen.com/outletstore-gartenmoebel/

    Note: If I use the 'Portfolio Full' variation (both your 'featured-categories-full.zip ' + a 'Full portfolio' shortcode) it works fine.

    Using your code provided here (featured-categories.zip) together with a 'Gallery Portfolio' shortcode creates what you see at the link above.
    ie. Slider broken & Gallery portfolio images not limited to the chosen catagory (all posts displayed).

    Please help! ...much needed feature!

    (ps. I haven't bothered loading all pictures into the gallery. Only one chair is showing there now)

    Posted 1 year ago #
  42. breezemaster
    Member

    Failed Screenshot

    Posted 1 year ago #
  43. breezemaster
    Member

    smaller screenshot

    Attachments

    1. Screen_shot_2010-11-24_at_6.38.52_PM.png (102.4 KB, 1 downloads) 1 year old
    Posted 1 year ago #
  44. breezemaster
    Member

    Opps

    Posted 1 year ago #

Reply »

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme