lisa_westlund
Forum Replies Created
-
Forum: Plugins
In reply to: [Portfolio Plugin] Layout QuestionHi Tamsin!
Unfortunately there isn′t a quickfix for this – I need to rewrite some php code to make it work. I will fix it for the next update.
Regards,
LisaForum: Plugins
In reply to: [Portfolio Plugin] Layout QuestionHi!
It is not possible without writing some code on your own. If you are familiar with css and javascript you should be able to write code to change the appearance and behavior of the plugin – nothing in the php code should be a problem for the kind of layout you want.
Just by changing the css you can display as many images in a row as you like, and by adding javascript you can add the possibility to swipe for more images.
What you need to change in the css is the width of items in the portfolio-piece class. Since the plugin is responsive you need to change it for all media queries (@media) defined in the css-file. If you for an example want five images, just set width to 20%, and then set the shortcode parameter count to 5 when you publish the plugin. If you want the swipe functionality you need some more advanced javascript.
Have a nice day!
/Lisa
Forum: Reviews
In reply to: [Portfolio Plugin] Would be awesome as a Widget!Thanks! ?? I will definitely consider develop this plugin as a widget. This is my very first plugin, but if I manage to create a widget-version of it I will let you know!
Wow, thanks ?? That just made my day! Nice to see the plugin live on a website. Have a nice day!
Hi!
Is the problem still there? I′ve tried generating the same problem myself, but without success. Anyhow I have just released an update with some fixes that may solve your problem. Try to update the plugin (the new version 1.1 also contains a security bug-fix). Please let me know if it works! ??
Thanks!
/Lisa
Forum: Themes and Templates
In reply to: Theme development: Add functionality for logotype?Never mind, problem solved ??
Forum: Fixing WordPress
In reply to: Plugin: Add styles when javascript is disabledThat will probably work, but I need to do it from the php file where I enqueue my styles, so that it will work for anyone who installs my plugin, not just me.
Part of my code:
function add_styles_and_scripts() { wp_enqueue_style( 'wplw_style', plugins_url('/css/wplw_style.css', __FILE__) ); wp_enqueue_style( 'wplw_noscript_style', plugins_url('/css/wplw_noscript_style.css', __FILE__) ); wp_enqueue_script( 'wplw_gallery_js', plugins_url('lisawestlund-instagram-portfolio/js/wplw_gallery.js')); }
What I need to do is to get the second style in the code above into a noscript tag, and I can′t figure that part out ??