pimo
Forum Replies Created
-
Forum: Plugins
In reply to: [WP REST API (WP API)] Filtering for slug (post slug)Happy to hear I have been useful!
Forum: Plugins
In reply to: [WP REST API (WP API)] exclude fields from requestI am wondering the same thing. They say to use “exclude”, but how can I use “exclude” ?
If you know a better plugin, just let me know, tnx!Forum: Plugins
In reply to: [qTranslate] Is this plugin still alive?It sounds good!
Tnx John!Forum: Plugins
In reply to: [qTranslate] Is this plugin still alive?Hi Almarma,
yes, I tried the same.
I hope this will survive. ??
Tnx for your reply!Forum: Plugins
In reply to: [qTranslate] Is this plugin still alive?… maybe this one:
https://www.ads-software.com/plugins/qtranslate-xp/Forum: Plugins
In reply to: [qTranslate] New version releaseI am just wondering if this plugin is still alive.
Meanwhile you can force it to work for your version of wp just updating the following line:
define(‘QT_SUPPORTED_WP_VERSION’, ‘3.9.3’);
in the qtranslate/qtranslate.php
with your wp version number.I tried this
add_filter( ‘json_prepare_post’, function ($data, $post, $context) {
unset($data[‘author’]);
return $data;
}, 10, 3 );
but instead of delete [‘author’] from my array it moved it to another position in the json.Forum: Plugins
In reply to: [WP REST API (WP API)] Filtering for slug (post slug)Ok, I did it by myself and i use something like:
URL/wp-json/posts?filter[name]==this-post-slug
It works but is a bit different than
URL/wp-json/posts/id
because it retrieves not a single post but a collection (array) of a single item.
so in my case, working with Angular.js, I just added the index on my data object to reach the data,
something like project[0].data instead of project.data as usual.
I hope this could help someone else.Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobile… in a perfect world
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileso maybe as long as you can check (if mobile) you can do the opposite (if !mobile),
so you can use swipebox as primary.Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileLightbox settings -> Top and bottom bars -> Disable
It worked for me!Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileDoesn’t work properly on Android for me but it is right on iOs.
On Andoid when i tap on a thumbnail, the lightbox is shown but not the image.Forum: Plugins
In reply to: [WP REST API (WP API)] issue with qtranslateI just discovered that
https://YOURURL/en/wp-json/posts?type=etc…
it translates the json content, so maybe i could manage the language changes through js..yes, the port seemed to be the issue for me. i’ve moved my web site from local to a web devel area and it seems to work properly.
Thanks!Exactly same issue here!
They say:
Compatible up to: 3.7.1
so the issue it could be the wp version i guess.
now the question is, will they update it?
Actually they know that the new 2.0x release doesn’t work properly: https://www.nextgen-gallery.com/open-letter-to-the-nextgen-community-from-erick-danzer/
but i’m wondering if it could be better move to another gallery plugin.