Giorgos Sarigiannidis
Forum Replies Created
-
Forum: Plugins
In reply to: [Time Lord] Stacked shortcodesFollowup: I did some modifications to the plugin to fit your needs. You can download a modified version here: https://dl.dropboxusercontent.com/u/38634/Transfers/time-lord.zip
To use it, remove the current version of the plugin and then install and activate the modified one. Then, you can use shortcodes like this:
[timelord from="2015-07-01" to="2016-07-01" every="Thursday"]SHOULD BE VISIBLE EVERY THURSDAY[/timelord]
That way you can have your content visible on certain days of the week (e.g. every Monday, Sunday etc).
I tested it locally and it seems to work. Give it a try and let me know if it works for you.
Forum: Plugins
In reply to: [Time Lord] Stacked shortcodesI believe that the issue here is that the way the shortcode works, it iterates the content every 7 days, for a duration of 7 days. For example, this:
[timelord from="2015-07-01" to="2016-07-01" every="7 days"]SOME CONTENT[/timelord]
will show “SOME CONTENT” from July 1 to July 7 and then it will hide it from July 8 to July 14 (and so on). Could you please try the following shortcodes, to make sure that this is actually the case?
[timelord from="2015-07-01" to="2016-07-01" every="7 days"]SHOULD BE HIDDEN[/timelord] [timelord from="2015-07-05" to="2016-07-01" every="7 days"]SHOULD BE VISIBLE[/timelord]
If I am correct, the content of the first shortcode should be hidden today (July 9) and the second one should be visible.
Forum: Plugins
In reply to: [Time Lord] Stacked shortcodesHello,
in your examples, the content should be visible for 7 days and then for the next 7 days it should be hidden and so on.
From your message I can make a guess that you wanted to show the content once every 7 days (e.g. show it on July 7, then hide it and show it again on July 14 and so on). Is that correct?
Forum: Plugins
In reply to: [Slidr] Cropping on initial rotation issueHello,
I see what you mean. If you know that your items’ size is precisely 600px, a temporary workaround until I fix it in the next update would be this:
In the plugin’s folder, open js/slidr.js and change line 62 from
$carousel.animate({ 'scrollLeft': navDir+slidrHeight });
to
$carousel.animate({ 'scrollLeft': navDir+600 });
Depending on the padding of your slideshow, you may need to increase the number a bit. For example, in my experiments with the default css and TwentyFifteen theme, the actual number that worked for me was 605 instead of 600.
As I said, this is only a temporary workaround. Hopefully, in the next few days I will find the time to release a proper fix as an update.
Forum: Plugins
In reply to: [Slidr] Variable Width Fixed HeightHello,
my guess is that it is caused because you are not setting an image size. By default the plugin gets the “thumbnail” size which, in a default WordPress setup, is a 150×150 cropped image (that’s why all images are square and pixelated – they are too small for the container’s dimensions and they get stretched to fit).
Try setting thumbnail size to medium or large (or, if you registered your own sizes, you can use them too). For example, in your shortcode, try:
[slidr size="medium" gallery=”15788,15787,15758,15755,15753,15750,15748,15387,15386,15385,15384,15383,15382,15381,15380,15379,15378,15377,15376,15375,15374,15373,15372,15371,15370,15369,15368,15367,15366,15365,15364″ height=”400″ gallery img_link="no" slidr number=30]
You can also try the “large” size, but if medium suits you, you should prefer it (to avoid loading images bigger than you need).
PS: Read more about WordPress media settings: https://codex.www.ads-software.com/Settings_Media_Screen
If you want to register your own sizes check this reference: https://codex.www.ads-software.com/Function_Reference/add_image_sizeForum: Plugins
In reply to: [InfiniteWP Client] WordPress 4.2.1 Doesn't appear as an update…Same here with the 4.2.2 update. It seems that it only sees the plugin updates but not the core updates.
I thought that it might have something to do with the iThemes Security plugin so I checked the respective option (Enable InfiniteWP Compatibility) but it didn’t work either.
Forum: Plugins
In reply to: [Time Lord] Can it do AM and PM?I just released an update with a functionality similar to what you ask. Using the “every” parameter you can repeat content display at given intervals. For example,
[timelord from="2015-04-18" to="2016-04-18" every="12 hours"]SOME CONTENT[/timelord]
would output “SOME CONTENT” every 12 hours (00:00 – 12:00) until 18 April 2016.
I hope it suits you.Forum: Plugins
In reply to: [Slash Admin] What if I just want to hide admin notices for non-admins?Hello and sorry for the delayed response (I don’t have much comments here to check it every day and I didn’t get a notification about your post).
FYI, Slash Admin is pretty lightweight as it won’t load any function unless you choose it from the Options Page. I have tested its footprint with P3 Plugin Profiler and it is almost unnoticeable.
If you would like to prevent update notices for non admins with just a function, though, you could try adding this in your functions.php:
function my_admin_theme_style() { if (!current_user_can( 'manage_options' )) { echo '<style>.update-nag, .updated { display: none; }</style>'; } } add_action('admin_enqueue_scripts', 'my_admin_theme_style'); add_action('login_enqueue_scripts', 'my_admin_theme_style'); }
Let me know if it works for you.
Forum: Plugins
In reply to: [Time Lord] Can it do AM and PM?I could try to figure out a way to incorporate such functionality to the plugin (sounds interesting anyway). I will post here to notify when the update is ready.
Thank you for your feedback
Forum: Plugins
In reply to: [Time Lord] Can it do AM and PM?Hello,
If you mean showing the same content every morning and different every evening (repeatedly) then I’m affraid that at the moment there is no such functionality.
Forum: Plugins
In reply to: [Slidr] demo?UPDATE: Version 1.1 is up and you can update the plugin properly. This version contains autoscroll support, loading animation and a few fixes.
Forum: Plugins
In reply to: [Slidr] demo?Hello,
If you need it so urgently, you can use this version: https://dl.dropboxusercontent.com/u/38634/Transfers/slidr.zip
It adds autoscroll support, fixes a small glitch on first click on the “next” button when cycle mode is enabled and it includes a “loading” animation until all items are ready to be displayed.
To enable the autoscroll you use [slidr cycle=”auto”]. with the “speed” attribute you can control how fast it scrolls (default is 4000ms – meaning 4 seconds. For example, [slidr cycle=”auto” speed=”2000″] would autoscroll every two seconds.
I will release this version as a proper update as soon as I perform some more tests and finish the documentation.
If you find any bugs, please let me know…
Forum: Plugins
In reply to: [Slidr] demo?I don’t believe that it will require a lot of overhead – it will be an optional parameter anyway so unless the user specifically sets it, it won’t run. I’ve added it in my TODO list and will implement it with the next update (which hopefully will be out in a few days).
Forum: Plugins
In reply to: [Slidr] demo?Well, I thought about adding the parameters at the plugins FAQ, but they are too many so I decided to keep them in detail in the plugin’s Options Page. Now that you mention it, though, I begin to reconsider… Anyway, to have a look at the parameters without installing the plugin, you can check the last screenshot at the “screenshots” tab: https://ps.w.org/slidr/assets/screenshot-4.jpg
Regarding your questions:
1. No, at the moment there is no autoscroll and no animation effects besides a simple scrolling. My goal was to make a small and lightweight carousel that could easily get almost every type of content and display it inside posts and pages. It’s not meant to be used as a homepage slideshow with impressive transitions like Nivo or Flexslider. Personally I am not a big fan of autoscrolling so I guess I didn’t pay much attention to it. I could add it as an optional parameter, though, in the next update.2. Well, that’s a good question. Its intended functionality is such that I didn’t expect it to take a huge number of photos so I haven’t implemented any preloading. As you can see in the demo that I just created: https://demos.gsarigiannidis.gr/slidr-gallery-with-really-lots-of-images/ when there are too many photos it will load the photos from top to bottom and when they are all loaded it will assign the container’s width, which enables the navigation. Even with the 100 photos of the example its performance seems OK, but I perhaps should add a “loading” indicator (animated gif or whatever) until all items are loaded (another issue for the next update).
As for the W3C love :D, I tried to have valid and semantically correct HTML and JS, in accordance to WordPress’ best practices.
Thanks alot for your feedback!
Forum: Plugins
In reply to: [Slidr] demo?Hello,
I have prepared a quick demo with some common examples here: https://demos.gsarigiannidis.gr/slidr/