Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    1. Great, that is exactly what I as looking for.any Many thanks!
    2. It perfectly works with my sandbox installation – the one you habe been accessing. I was not able to figure out why it doesn’t work on the productive site. Not sure if we still have a conflict with another plugin.

    You are a great help as always! Just spent you a beer or two.

    brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    Thank you for your reply. It was late at night when I was writing the previous lines.

    1. Yes, but meanwhile I wrote an own plugin instead of having these lines in the themes function.php. And this worked perfectly for the past few years. In the very same post you gave instructions to create two files (Customs CSS and JS) in the /assets-Folder of the theme. What I would like to do is to move the two files into the folder of my own plugin, but I have no Idea how I have to enqueue them correctly. How would I have to rewrite the above mentione add_acction? Would be great if you could give me a hint.

    2. No, no extension of the code at all. It suddenly stoped working properly. I am still searching for the cause.

    Again: Many thanks for this great plugin.

    Brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    Figured out that I had an issue with the assets/js and assets/css. Got it working on my sandbox installation. I guess it would be more comfortable to place these files into an own plugin folder.

    add_action( 'wp_enqueue_scripts', function() {
    	wp_add_inline_script( 'slick-slider-core', file_get_contents( get_stylesheet_directory() . '/assets/js/slick-slider-custom.js' ) );
    	wp_add_inline_style( 'slick-slider-core-theme', file_get_contents( get_stylesheet_directory() . '/assets/css/slick-slider-custom.css' ) );
    }, 11 );

    How would I need to change the above two lines to point to a folder called own-plugin within the plugin folder? The Idea is that this would be persistent even if one is changing the theme.

    Many thanks for your appreciated assistance.

    Brgds
    Ivo

    • This reply was modified 5 years, 3 months ago by Ivo. Reason: corrections

    Hi

    Add the following to your functions.php

    add_filter( 'pre_option_link_manager_enabled', '__return_true' );

    That should reactivate the legacy Link Manager.

    Brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Philipp, great job!

    Exactly what I was looking for. Many thanks for your very appreciated support and this great plugin.

    Would be great if you could implement this into the Settings Page. This came up because my fellow colleagues often forget to maintain the right settings (e.g. Slick Slider = on, Link to = File and preferred Image-Size).

    Thread Starter Ivo

    (@ivobirrer)

    Runs like a charm. Many thanks for your outstanding support!

    Tried to switch-off Slick-Slider for one of my Galleries by adding slick_active=”false” to the Shortcode. Same I tried for the “Link to” because I use Slick-Slider also in the Widgets and there images should not be linked to anywhere. But now it seems that any tweaking to the Shortcode is ignored, right?

    BTW: Another Donation is on its way to you.

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    No issue. Glad that you found time to answer my Questions. I have tried the above solution but Slick-Slider stops running as soon as I add the above filter. It simply shows the native gallery again.

    Brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    I was able to partially fix the above by making use of the Function my_gallery_default_type_set_link (regarding the Link to). For the Default Size I have found a solution on stackoverflow .

    So the only thing that I was not able to fix is that Slick Slicker is tick marked by default.

    Brgds
    Ivo

    Ivo

    (@ivobirrer)

    How do you call the document? Still with the depreciated HTML Note Tag? `<!– cforms name=”form_name” –>’

    I had same and changed to the regular WP Shortcode Pattern. [cforms name="form_name"]

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    Super cool. Runs like a charm.

    Thank you for developing this awesome plugin!

    Brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    Great!!! Runs like a charm.

    Many thanks for your tremendous support!

    Brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    In case one has more than one Slick Slider in a Post or one in a Post and one in a Side Bar Widget the Numbering is screwed up.

    E.g. The Slider in the Post has 16 Images while the one in the Side Bar has 3, the one in the post is not set to Autoplay, while the one in the Side Bar is autoplaying. The one in the post shows “x|3” instead of “x|16″and is updated as soon as the Side Bar Silder is fading to the next Image. (See http://fasnacht.ch/2017/03/12/bsg-schlussobe-2017-sehr-sportlich/)

    Is there a possibility to extend the a/m script that it also takes the Slider ID into account?

    Looking forward to your feedback.

    Brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    This did the trick.

    Many thanks.

    Brgds
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Hi Philipp

    That would be great. I also have no idea on how to exclude the slider in widgets from the jQuery.

    Many thanks in advance. Again a donation is on its way to you.

    Brgs
    Ivo

    Thread Starter Ivo

    (@ivobirrer)

    Philipp, you are a genius.

    Runs like a charm!!!

    Brgds
    Ivo

Viewing 15 replies - 1 through 15 (of 18 total)