Murhaf Sousli
Forum Replies Created
-
Forum: Plugins
In reply to: [JSON API] No Access-Control-Allow-Origin header is present – error!Just add this line to your function.php file and it will work.
header("Access-Control-Allow-Origin: *");
NOTE: updating the current theme may remove the line from your function.php file.
Thank you for your reply.
I think you are right, because it worked when I changed the lightbox plugin.I’m using lightbox plus colorbox plugin for lightbox
Forum: Reviews
In reply to: [NextGEN Gallery Optimizer] This plugin doesn't do what it saysI activated the plugin and configured its backend to skip loading nextgen styles and scripts. The plugin doesn’t work as it supposed to.
I’m using nextgen 2.x
Here is the websiteThe gallery is styled by nextgen styles and it is loaded in the page. Currently I removed your plugin.
Forum: Reviews
In reply to: [NextGEN Gallery Optimizer] This plugin doesn't do what it saysI’m using Nextgen gallery 2.x
Forum: Plugins
In reply to: [NextGEN Gallery Voting] how do you use it im new to thisThe plugin should make it easier to get what you want, but maybe because of the complexity of NGG we need to work on it, the FAQ section is really poor, you should tell exactly where to call the function and what parameters should be passed.
I still don’t know what is the difference between$displayed_gallery and $gallery
nggv_galleryVoteForm($displayed_gallery, $gallery);
and where to call the function in gallery template or album template
aluises if you have a problem, go open a thread for your problem and ask whatever you want, but your problem has nothing to do with my question, its better not to ask in comments
I have the same problem with not only with pages, I need to turn off automatic placement ??
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Prevent lightbox form from closing after submitSolution:
The approach you are using works fine you only need to do:1 – Install and activate the popular plugin Contact Form 7.
2 – Install and activate Contact Form 7 Response Colorbox Popup, this plugin does the trick
3 – Replace your old shortcode with CF7 shortcode.Happy coding..
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox plus not working for navigation menu linkI have the same problem .. actually if you checked their website demo, you will see the same, content won’t load.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] external content not loading in lightbox..I have the same problem, I’m trying to load “contact.php” inside the lightbox, it works with me when I use the primary lightbox which I’m using for images, but when I use the secondary it doesn’t load.
Thank you for quick reply, I’m trying to override File field “file.php” to add a text-field, how can I add them together in one type-field!
I have the same problem … I was trying to do
$display = types_render_field(‘date-display’);
if($display->content == ‘2’){
echo ‘whatever’;
}but it didn’t work, so I’m using this way it works perfectly
$display = types_render_field(‘date-display’); //a select field
if($display== ‘Year/Month’){ //write the option text as you set it
echo ‘whatever’;
}