If you are in a hurry to implement this feature try asking the creator of the site above.
]]>your looking for
‘posts_per_page’ => 4′
change it to the number you would like to have….so 4 to 7
make sure you have enough posts…if not publish a couple test posts…
next,
go to style.css still in editor…
find:
#ajax-content {
position:relative;
max-width:1140px;
margin:0 auto;
}
change max width to:
#ajax-content {
position:relative;
max-width:940px;
margin:0 auto;
}
next find:
#slides {
margin:0 auto;
overflow:hidden;
}
add max-width:940px;
so it should look like:
#slides {
margin:0 auto;
overflow:hidden;
max-width:940px;
}
lastly, take your total number of slides you intend on having and divide 940 by that number…id round down if you get a decimal.. write it down…
in css find
.kwicks .slide {
float:left;
display:block;
width:230px;
height:410px;
overflow:hidden;
-moz-box-shadow:0px 0px 30px #000;
-webkit-box-shadow:0px 0px 30px #000;
box-shadow:0 0 30px #000;
}
change the width from 230 to the number you wrote down… save, and that should be it..
it seems as though kwicks.js pulls in the values that you enter from css.. .. Ughh… its late i dont know.. any way, if you have a problem, let me know, and post a link so i can see it…
please let me know if I’m missing something…
]]>Using those directions, it did indeed shrink the individual images, but it did not change the number of images, so I still had 4, now narrower images in the center of the first page with the arrow pointing to the next page on the right side of the screen.
But with the info you gave I found another instance of “posts_per_page” in functions.php. Bingo! This overrides the default value of images per page. The only other thing I needed to change was the width setting of the .kwicks .slide section of the Stylesheet (style.css), and I was done.
I did not need to make any changes to the #ajax-content or #slides settings; in fact when I did, the expanded image did not display properly, cutting of either side of the images off along with the included text.
So in short, here is how I changed the number of images displayed on a single page of the image gallery:
Go to the Theme Functions (functions.php)
Find the section that looks like this:
* Overrides the default posts_per_page value when viewing in gallery mode
* This prevents the 404 flag from being triggered when using query_posts() with pagination
* It does not alter the database value for the option, only fiters it when the posts query is called
*
* @since Minimatica 1.0
*/
function minimatica_paged_posts( $query ) {
if( (
( $query->is_home() && ‘gallery’ == minimatica_get_option( ‘homepage_view’ ) ) ||
( $query->is_category() && ‘gallery’ == minimatica_get_option( ‘category_view’ ) ) ||
( $query->is_tag() && ‘gallery’ == minimatica_get_option( ‘tag_view’ ) ) ||
( $query->is_author() && ‘gallery’ == minimatica_get_option( ‘author_view’ ) ) ||
( $query->is_archive() && ‘gallery’ == minimatica_get_option( ‘archive_view’ ) )
) && ( ! is_single() )
)
$query->set( ‘posts_per_page’, ‘4’ );
}
Change the number 4 in: $query->set( ‘posts_per_page’, ‘4’ ); to whatever number of images you want to display (in my case 12; yes, I was able to get 12 images to display very nicely).
Then go to: Stylesheet (style.css)
Find the section that looks like this:
.kwicks .slide {
float:left;
display:block;
width:230px;
height:410px;
overflow:hidden;
-moz-box-shadow:0px 0px 30px #000;
-webkit-box-shadow:0px 0px 30px #000;
box-shadow:0 0 30px #000;
Adjust the width from 230px to find what makes it look right, lowering the number for more images, and increasing it for fewer images.
You can find how it turned out for me at:
Hope this helps.
]]>Your work and generosity is much appreciated!
]]>.kwicks .post .entry-container {
position: absolute;
bottom: 0;
padding: 10px;
margin: 10px 10px 18px 35px;
background: url(images/entry.png);
display: none;
also, maybe put all of your page titles in a drop down, instead of listed out, and move the nav to the top of the page…
something like this:
http://www.yellowrootllc.com/site2
site that i test stuff out with…
if you want to do that i wrote a walkthrough on here a couple months ago… if ya cant find it, i can re-type it up quickly..
but slider is sick! great job, thanks for finding my neglected portion!!.. Good job.
]]>Your site(s) look spectacular; you are obviously a very talented designer.
I did some searching for your walkthrough on moving and designing a drop down menu but was unable to find it.
I agree, consolidating my items into, say, 4 major content areas would make the navigation much cleaner. And placing it up in or around the header would be ideal.
Your drop down on the test site is beautiful, with the changing colors of the words, translucent background of the drop down area, and, of course, everything bouncing.
I cannot do that myself (at least not yet ;), but I will be looking into other options. If you could at some point repost the directions on how to do that sometime, it would be much appreciated.
Scott
]]>my site:
]]>Pcch… thanks for the compliment…i think my designing is horrible..lol..but anyway… heres your answer…
let me know if ya need more help..
]]>