danid88
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Vantage] Mobile menu on the fly creation with jsYeah, I thought about that, but for now I will probably leave it this way, and just change the look of it with css a bit.
Anyways thanks for the clarification, and keep up the good work!
Forum: Plugins
In reply to: [Smart Slider 3] Need slider background image to be relative pathI’ll do that! Thank you for the information!
This clarifies a lot of things.
First it does make sense to keep the pot file in the theme folder.
As for the po/mo files, for me it would be better to store them in the wp-content/languages folder because of some automated processes on server side that could potentially overwrite some changes made in the meantime – but this way I could separate the code and content better.
Thanks for your time, and the long answer!
- This reply was modified 8 years, 2 months ago by danid88.
You were right about the path with just two back steps.
I was able to relocate the pot file with no problem, but the po and mo files are still being loaded from themes/mytheme/languages.
I tried deleting the language file and creating a new one but the only options are in the theme folder or in wp-content/languages.
So another approach: Is it possible to have all the files for all the plugins and themes inside the wp-content/languages folder?
Edit: so what I did is created the new pot file in the languages/themes folder, created there the mo and po files, and then copied over the old mo and po files with the translations in them, synced and it looks all right so far. Is this in any way a ‘legal move’?
- This reply was modified 8 years, 2 months ago by danid88.
Yes, I can confirm that this does indeed fix the issue I was having.
Deactivated the plugin deleted the old one, copied the contents of the zip file into the plugins dir, reactivated, and it was reporting it’s 1.4.13 ver.
But I was not able to find this setting in the plugins menus neither in the gallery options.
I was able to modify the wordpress built in gallery shortcode function so that it returns a json object which I can use in jquery to paginate my gallery, so I plan on using that.
Thanks. Will check it out when it’ll be available.
Updated the plugins;
I can confirm that the foobox now opens on other pages, not just on the first.
Still doesn’t work like it used to:- On the first page when I open the foobox, can’t browse all the pictures, just those on the first page, when I open it on the second page, i can browse all the pictures from the first and second page, but not those from the third page, etc…
- on the second page the pictures have captions(the thumbnails, and the foobox images too), while on the first they don’t(are turned off)
You also rolled back the plugin version?
I was able to reproduce the problem on another WP install, steps:
- Install WP 4.9.1
- Install Vantage theme
- Install Foogallery
- Install foobox free
- Make a new gallery
- Upload 20 pics
- Enable paging and foobox(4 pic per page only show on bottom, no scroll to top)
On Win10x64 and XAMPP 3.2.2. on FF,Chrome and Edge.