NiceThemesAdding "Gallery" to my home page. – NiceThemes http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/feed/ Tue, 22 Apr 2025 18:22:13 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-527 <![CDATA[Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-527 Sat, 02 Feb 2013 08:47:11 +0000 Creation Factory Hello!

Please forgive me for being a total amateur when it comes to this.

I’m trying to add a gallery of recent work to my home page, exactly like the Folly demo site, but I absolutely cannot figure it out. I’ve read the docs and all that, and Im just not getting it. When i create a new page, the only Templates shown in the Page Attributes are “Blog”, “Contact”, and “Portfolio”; I don’t have any of the ones listed in the description.

Also, I don’t have any widget options. When I go to Appearances-Widgets, it says “The theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change”. Please help! Thanks so much!

– Gary

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-529 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-529 Sat, 02 Feb 2013 15:03:12 +0000 Juanfra Aldasoro Hello Gary,

No problem. We’ve all been newbies in everything.

To show some of your work on your home page you need to create “Portfolio” items.

To do this: When you are in the admin section, you’ll see at the left that there’s a section for portfolio items. You can add them the same way as you do with pages: inserting a title, a description, and a featured image ( http://nicethemeswp.com/support/theme-docs/folly/#wordpress-featured-images ).

Regarding widgets, that’s correct. This theme doesn’t count with widgetized spaces.

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-530 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-530 Sat, 02 Feb 2013 19:39:35 +0000 Creation Factory Thank you!

do i make a separate portfolio for each item? or import them all to one as like, a gallery?

and then how do i implement that on the front page?

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-531 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-531 Sat, 02 Feb 2013 20:04:11 +0000 Creation Factory Nevermind, I figured it out. Thank you!

Last question, can i change it so that instead of saying “This is my work”, it can say “Recent Work”? Where would i go to do that? Thanks!

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-532 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-532 Sat, 02 Feb 2013 20:31:35 +0000 Juanfra Aldasoro No problem πŸ™‚

You can edit the file index.php, on line 25:


< ?php _e('This is my work', 'nicethemes');?>

and replace it for


< ?php _e('Recent Work', 'nicethemes');?>

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-533 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-533 Sat, 02 Feb 2013 20:35:07 +0000 Creation Factory Got it! One more thing I can’t figure out now is this:

I’ve created my gallery on the home page, and I’m very happy with it. However, when I click the first item, it appears in a slide above and then in the post itself, but none of the other images have a slider. Is it possible to remove the slider altogether?

Thank you so much for your patience and all of your help!

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-534 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-534 Sat, 02 Feb 2013 20:41:31 +0000 Juanfra Aldasoro That’s because the template for the portfolio item displays the featured image. If the portfolio item has more than one image, it creates a slider.

To remove the slider you have to edit the file single-portfolio.php (I would recommend you to make a backup before modifying any file).

You can remove from line 7 to 73 to have it the way you want.

that would be removing the following code:

< ?php

            $embed = get_post_meta( $post->ID, 'embed', true );

			$attachments = get_children( array(	'post_parent' => $post->ID,
											/*'numberposts' => $repeat,*/
											'post_type' => 'attachment',
											'post_mime_type' => 'image',
											'order' => 'DESC',
											'orderby' => 'menu_order date')
											);

			if ( has_post_thumbnail() || !empty($attachments) || ( $embed <> '' ) )
			{	?>

            	
			< ?php
            }

?>

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-535 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-535 Sat, 02 Feb 2013 22:42:40 +0000 Creation Factory That worked perfectly. Thank you so much again for all of your help!

]]>
http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-536 <![CDATA[Reply To: Adding "Gallery" to my home page.]]> http://nicethemeswp.com/forums/topic/adding-gallery-to-my-home-page/#post-536 Sat, 02 Feb 2013 23:57:19 +0000 Juanfra Aldasoro I’m happy to hear that πŸ™‚

Have a nice weekend,
Juan.

]]>