Hello. I’m using a shortcode for my site gallery at the bottom of this page
however. I would like the gallery to be displayed in a grid view instead of a single column. How can I fix this? Thanks.
I have default gird selected for all my galleries
the gallery on this page is a shortcode to the site gallery.
At least it displays something on this page
however when I try to visit the site gallery page
it cant be found
- Brajesh Singh on July 1, 2018 at 3:48 pm #16038
Welcome to BuddyDev.
Please visit Dashboard->MediaPress->Tools and share the details.
I am assuming the problem lies with the archive slug.
It seems you have sitewide gallery and user galleries both enabled and the BuddyPress Gallery directory as well as the sitewide gallery archive share same url.
Can you please share that?
Also, before you do that, can you please visit MediaPress->Settings->Sitewide Gallery and try changing the slugs there to some random strings and then checking again the gallery.
Quick Note: I had been using youtube links for my videos. I manually applied images to each gallery video. Now the youtube videos are not embeded. i click the thumbnail and all i get is the URL for the post or something
// Generated by the MediaPress Debug tool //
WordPress Version: 4.9.6
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Active Theme: Coral Dark 1.1.0
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, spam
// Browser Details //
Browser Name: Chrome
Browser Version: 67.0.3396.99
Browser User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
// End Browser Section //
PHP Version: 7.0.30
PHP Extensions: Core,date,libxml,openssl,pcre,sqlite3,zlib,bz2,calendar,ctype,curl,hash,filter,ftp,gettext,gmp,SPL,iconv,pcntl,readline,Reflection,session,standard,shmop,SimpleXML,mbstring,tokenizer,xml,litespeed,bcmath,dom,fileinfo,gd,imagick,imap,inotify,intl,json,exif,mcrypt,mysqli,mysqlnd,PDO,pdo_mysql,pdo_sqlite,Phar,posix,soap,xmlreader,xmlrpc,xmlwriter,xsl,zip
GD enabled: Yes
GD Version: bundled (2.1.0 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
GIF Read Support: 1
GIF Create Support: 1
JPEG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
WebP Support: 1
JIS-mapped Japanese Font Support:
// End GD Info
MySQL Version: 5.6.39-cll-lve
Web Server Info: Apache
WordPress Memory Limit: 40M
PHP Safe Mode: No
PHP Memory Limit: 256M
PHP Upload Max Size: 2M
PHP Post Max Size: 8M
PHP Upload Max Filesize: 2M
PHP Time Limit: 30
PHP Max Input Vars: 1000
PHP Arg Separator: &
PHP Allow URL File Open: Yes
// Table Prefix //
Table Prefix: wp_
Show On Front: page
Page On Front: Welcome (#193)
Page For Posts: News (#117)
Session Name: PHPSESSID
Cookie Path: /
Save Path: /tmp
Use Only Cookies: On
DISPLAY ERRORS: N/A
FSOCKOPEN: Your server supports fsockopen.
cURL: Your server supports cURL.
SOAP Client: Your server has the SOAP Client enabled.
SUHOSIN: Your server does not have SUHOSIN installed.
Content Views: 2.0.2
Jetpack by WordPress.com: 6.2.1
Menu Image: 2.9.1
Post Grid: 2.0.27
Remove WP Branding: 1.0.6
// MediaPress Settings //
// End of MediaPress Settings //
- This reply was modified 4 years, 11 months ago by Buko.
- Brajesh Singh on July 1, 2018 at 6:59 pm #16044
From the above I can see the issue. The problem lies with the settings of archive page.
1. Please do not use “gallery” in the sitewide archive slug if you have BuddyPress gallery directory enable(You have it enabled and the page has ‘gallery’ as slug). They need to be different.
2. sub path is not recognized. You are using “gallery/user-galleries” in the single gallery permalink slug. It is breaking the gallery link for sitewide. You should instead use “user-galleries” or anything like. WordPress does not allow the archive and the single post to share same prefix.
The above step will fix the broken link issue.
About Updating Link:- In MediaPress, changing a media is not supported. You can update the details(e.g. title/status/description etc) but can not replace media. You will need to delete link and add new links(Links are treated as media here).
Also, if you are looking to enable lightbox:- Please visit MediaPress->settings->Themes section and you will find the options to enable it.
Hope that helps.
Thanks for the help Brajesh. The Site Gallery Link is no longer broken. I still have a problem with my videos. I am not very interested in changing the video once it has uploaded
Here is my problem:
If I add a new youtube video to my gallery, the thumbnail is just a black camera icon. When I click edit->”upload new cover” the new cover image appears. However the video no longer works. Instead there is just url. if you visit my site you will see that the only video that works is the one where I have not uploaded a new cover.
I would like to solve this so that if users try to upload a new cover image that does not break the video.
The topic ‘ [Resolved] Grid for site gallery.’ is closed to new replies.