Opally
Forum Replies Created
-
Forum: Plugins
In reply to: [List Yo' Files Pro] Replace underscore with blank spaceTo remove the underscores, either:
You can rename your files using a plugin like this:
https://www.ads-software.com/extend/plugins/media-file-renamer/Or:
You can modify the List Yo’ Files Pro plugin to show a display name, not the actual file name, in your list, by using PHP’s str_replace() function to show a space instead of an underscore in each file name. If the underscore is present in the actual file, you want to leave it in the link.… and instead of adding more animation options to the slide interface, this would work for typical settings;
add these settings to the slideshow options in slideshow.js:
var $captiondelay = $slidespeed + 1000; var $captionduration = $slidetimeout - ($slidespeed*2);
and change the animation function to use those variables for delays:
before: function () { $j('.meteor-slides p').css('bottom', -60).delay($captiondelay); $j('.meteor-slides p').animate({bottom:0}, 1500).delay($captionduration); $j('.meteor-slides p').animate({bottom:-60}, 1500); }
this way, you don’t have the fragility of hard-coding delays that might not work with someone’s option settings. Well, it’s still fragile, but only at the extremes.
hey, if you’ve set 10 seconds per slide in settings, this works pretty nice:
before: function () { $j('.meteor-slides p').css('bottom', -60).delay(3000); $j('.meteor-slides p').animate({bottom:0}, 1500).delay(5000); $j('.meteor-slides p').animate({bottom:-60}, 1500); }
Longer slide transitions will need this to be tweaked.
thank you for your help!!
Thank you for the awesome fast reply!
You’ve give me a great start! It works as you say.
The issue I now see is that the caption starts sliding up as the next slide is sliding in. Ideally there would be a delay on the slideup, or rather, animate. You’d see the image for a second or two, and then the caption would slide up.
Do you happen to remember how to do a timed delay in jquery?note that “Successfully” is misspelled, too.
I’m seeing the same problem. Thanks normadize for the solution. I changed these lines:
. ' title="' . _('Succesfully Encoded (this is a check and only visible when logged in as admin)', $this->domain) . '">' . '<img class="encoded-check-icon" src="' . plugins_url('images/icon- email-encoder-bundle.png', __FILE__) . '" alt="' . _('Encoded', $this->domain) . '" />' . _('Succesfully Encoded', $this->domain) . '</a>';
to
. ' title="' . __('Succesfully Encoded (this is a check and only visible when logged in as admin)', $this->domain) . '">' . '<img class="encoded-check-icon" src="' . plugins_url('images/icon- email-encoder-bundle.png', __FILE__) . '" alt="' . __('Encoded', $this->domain) . '" />' . __('Succesfully Encoded', $this->domain) . '</a>';
Forum: Fixing WordPress
In reply to: wp-editor-area too narrow in Text Edit modeThere’s a mu-plugin filter to fix this problem:
https://wordpress.stackexchange.com/questions/83974/why-is-our-post-editor-stuck-at-cols-40/
I changed it to 80 cols and kept the height the same, since the box height drag works.
I wonder if WP has this issue in the bug list?
Forum: Fixing WordPress
In reply to: wp-editor-area too narrow in Text Edit modeThere’s nothing to drag; the 40-col boundary has no handles or markers.
Forum: Plugins
In reply to: [S3Slider] Each slide stutters on transitionYou can try editing this line in s3slider.js:
$(items[currNo]).fadeIn((timeOut/6), function() {
to this:
$(items[currNo]).fadeIn((timeOut/10), function() {
Seems to smooth out the fadein. I wish there was someplace else to set that option rather than modifying the script.
Forum: Plugins
In reply to: [S3Slider] Each slide stutters on transitionI’m seeing the same problem, too. I think this started with WP3.5.
The script is working nicely on this site (also WP 3.5), but that site doesn’t use the plugin, it just incorporates the script in the theme:
https://www.rabbitsoftware.comBut on my WP 3.5 site, using the plugin, it stutters on each new slide load, instead of having a nice slow fade-in:
https://dbwebwork.comWould like to see a solution. Both .js scripts are the same for both sites. But something is interfering with the slide load in the plugin version.
Forum: Everything else WordPress
In reply to: Is echo redundant for site_url()?Thanks! I think I was misled by some browser caching into thinking that I was getting an echo when I wasn’t.
Forum: Themes and Templates
In reply to: Best way to link a widget to theme content and site pages?I have learned from reading “The WordPress Anthology” published by SitePoint, that the best way to do this is by writing custom shortcodes. It was easy!
Forum: Themes and Templates
In reply to: Best way to link a widget to theme content and site pages?I’ve been reading Sitepoint’s “The WordPress Anthology” to get better informed about all of WP’s features, and I just read about the shortcode API.
What do you think about making custom shortcode functions instead of using the Shortcode Exec PHP plugin, which seems like a bit of overkill for just supporting relative links inside widgets?
Or do you think I should create custom widgets for my customer’s theme, so that the sidebars link correctly, no matter the depth of their URL?
Or do you think one should simply hardcode the full URLs to links in ordinary text widgets?
I would like to hear how developers recommend handling this.
Forum: Themes and Templates
In reply to: register_sidebar id not workingThanks for the reply, Christine!!
Well, what I discovered is that the WP documentation is not complete for ID specification.
When I removed the underscores from the ID names, it works.
Hyphens are fine; underscores, not so much.
Someone with permission needs to update this page:
https://codex.www.ads-software.com/Function_Reference/register_sidebarForum: Fixing WordPress
In reply to: get_author_posts_url() not workingDANG!
solved my problem.
It’s the number one thing one tells anyone when they are having an unusual behavior in WordPress… what is it?
yes… “disable plugins.”
As it happens (since I was working on an old ill-maintained site with many unused plugins…)
I had a plugin called… wait for it… “Advanced Permalinks.”
https://urbangiraffe.com/plugins/advanced-permalinks/It was so advanced that, even though there were no settings made in it (I checked) it still managed to break normal permalink behavior.
BIG RELIEF!
And thank you for your help Frumph, I’ve learned more!!