The Minimatica theme only shows 4 gallery images…
-
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’:
https://www.draconaei.com/but her photographs page has a gallery with more than 4 (under construction so it may change or disappear):
https://www.draconaei.com/?page_id=468Let 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','https://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:
https://www.ads-software.com/support/topic/linking-to-jquery-the-right-way?replies=6Let 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!
- The topic ‘The Minimatica theme only shows 4 gallery images…’ is closed to new replies.