I have several WordPress sites, but the Minimatica theme is only showing 4 gallery images... It must be a bug. Any ideas on fixing it?
This is really stressing me out...
Please help!
Thanks
I have several WordPress sites, but the Minimatica theme is only showing 4 gallery images... It must be a bug. Any ideas on fixing it?
This is really stressing me out...
Please help!
Thanks
HELP!
So sorry... i have no other option.
Hey, I think it only allows for 4 to be featured. There are some other themes that allow you to chose as many photos you want...in the Options menu- when you click theme options in the back end.
but those other themes are not wordpress themes.
View this theme and see if you like it.
The name of the company is ftthemes @ ftthemes.com you can download for free and they put their link at the bottom but it costs 19.95 for them to remove it. Don't be fooled by the Price tag- It's free.
I used software to scan my theme and there is nothing sketchy it is just their links and wordpress links. Their themes are like premium themes but I am going to switch themes because I want a softer look not a news type look.
I just discovered this problem as well! Does anyone one have any ideas on how to break this limit in the backend? I've designed my whole site with this theme and really don't have to have to switch it.
Thank you!!
I found it! In the functions.php editor there is a line:
$query->set( 'posts_per_page', '4' );
Change the 4 to however many you want to display.
Good luck!
Changing that also changes how many images are in the gallery on the main page. I am guessing you want to change the number of images available in galleries not on the main page?
I think if you comment out line 132 of the functions.php file it works:
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' );
}
My girlfriends site uses this so that the main still shows just 4 'tabs':
http://www.draconaei.com/
but her photographs page has a gallery with more than 4 (under construction so it may change or disappear):
http://www.draconaei.com/?page_id=468
Let me know if this is what you needed as well.
See how your girlfriend's page has the arrows of her work? On my page when I try to click to next one I get the beach ball of death, but your girlfriend's page shows her work, again and again. I want my page to work like that. Is there something in the slider code that I need to change to get it to function properly?
Can you send me a link to your page? I'll try and take a look at it when I get a chance after work, but I can't guarantee I can help.
In the meantime, what browser do you use and have you tried looking at it using other browsers?
Hey I appreciate the fact that you are trying to help me out. I see this is a common problem for lots of people, but if there is answer I haven't stumbled across it.
This is a pretty interesting problem because I copied the html from your main page to my web space loaded it there so I could edit it, but the arrow works on the page if I load from my webspace.
I then tried to load it as an html document on my hard drive and it loads fine but then hangs when I click the arrow in the same way as on your blog. I've figured out where the offending command is (possibly), but trying to figure out a way to get it to work. I can get it to work by breaking it, but that's not a real solution. If I can't figure it out soon I'll just tell you how to get it to work by breaking it though.
Nevermind, I lied about it working on my web space, it was just broken in the same way that I was breaking it before. I am getting closer I think though.
So I started thinking about this more after dinner and I think I've got it fixed.
Long story short, something is either misconfigured/incorrectly-installed in your jQuery API or there is a bug in the latest version of jQuery, the theme, or some such. Either way, if you use jQuery externally from Google instead of the version you have on your web space, it seems to work just fine. I put in the address of the one from my girlfriend's site in the instructions below because that seems to work for me when I test it.
The some googling led me a site (link below) which says that the way to do that through WordPress is to put the following in your function.php file (you can do that by using the Editor on your WordPress Dash):
function add_google_jquery() {
if ( !is_admin() ) {
wp_deregister_script('jquery');
wp_enqueue_script('jquery','http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=3.2.1',,'1.4.2',true);
}
}
add_action('wp_print_scripts ', 'add_google_jquery');
Details about linking to the Google version of jQuery are found here:
http://wordpress.org/support/topic/linking-to-jquery-the-right-way?replies=6
Let me know when you try this and if it works. If it doesn't then, let me know as well. It seems to work for me though (as long as the instructions above insert the script correctly) so it should work for you as well.
Take care
I think if you comment out line 132 of the functions.php file it works:
Thanks for that tip! I can now show a page gallery of 21 images instead of the (pointless) limit of just 4.
I think if you comment out line 132 of the functions.php file it works
This fixed it! Thank you!!!!
I think if you comment out line 132 of the functions.php file it works:
Thank you so much!
I was wondering if you can post your fuctions.php page code. because I can't seem to get this to work right. after altering line 132 my slider doesn't work properly. HELP! I also can't seem to figure out where to insert the jQuery code in the page because nothing works.
Thanks.
I would, but the aforementioned girlfriend whose site it is has been very busy and I haven't had a chance to log in and get to her files.
Do you have more detail on your problem? Could you post a link to your site?
Thanks for the initial pointer cpaige16. I used a slightly different fix. My front page uses a gallery, and should actually be limited to 4 entries as that looks nicer. All the other galleries should be unlimited. That's why I replaced the whole if-test block inside minimatica_paged_posts with the following:
function minimatica_paged_posts( $query ) {
if(is_front_page())
$query->set( 'posts_per_page', '4' );
}
Hope this is of use to others.
Thank you soooo much. I added just the "//" to that one line and its fixed. bad ass.
Hi there,
I wonder if anyone can help me I'm very new to wordpress but I'm having this same problem with my homage slider not working correctly after changing the number of posts. I've commented out line 132 in the functions.php but the arrows on the home page slider are no longer there and there is now an unlimited number of images on the slider...please can somebody help me fix this.
the website I'm trying to edit is:
Thanks
problem solved using yruf's solution with a bit of trial and error thanks!
guys i had the same problem today but i just figured it out that you can make gallery posts instead of pages and it works well.
the website that i'm working on is spaziobizzarro dot com i made a gallery of image in a post just checking gallery in the format menu.
anyway if u find the way to add more image in the gallery i'm really intrested because in another website i've got the same problem, i can't show more than 10 pic in the same gallery.. such an annoying things.
You must log in to post.