• Resolved seothemes

    (@seothemes)


    Hi, nice work with these plugins.

    I’m thinking about using them for some new theme releases. Really like how the widgetized pages work in the customizer.

    Just a few ideas/suggestions:

    Would you consider adding more control over which options are available to users? Instead of removing everything with add_filter( 'ewc_advanced_options', '__return_false' ); Could you add filters for each option?

    Also, maybe add a text color option or add a function to calculate contrast with the background, so if a background color is dark then the text is light?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alexis J. Villegas

    (@ajvillegas)

    Hi @seothemes,

    Thank you for the kind words. I would love to see theme authors integrate these plugins in their themes – I designed them with the admin and end-user in mind, and I personally use them with my own clients when developing custom themes.

    I’ll consider your suggestion for giving more control over the advanced options filter for a future update. However, I don’t think a text color option belongs inside the ‘Widget Row’ widget. My goal was to only include options for styling the widget row itself without altering the widgets within it in order to keep things simple. I wouldn’t want to overwrite another widget if they include a text color option for example.

    With that said, you can accomplish a similar functionality by using custom classes. For example, in your theme’s CSS you could add a class for ‘light-text’ with a light color option like this:

    .light-text {
        color: #fff;
    }

    Then add the class ‘light-text’ to the “Custom classes” option inside the ‘Widget Row’ widget. You could do the same for ‘dark-text’ or any other styles you think your users could benefit from.

    I hope this helps you accomplish what you have in mind, and do keep me updated with future theme releases. I can’t wait to see how you integrate them with your themes.

    Best of luck!

    Thread Starter seothemes

    (@seothemes)

    Yes you are definitely right about the text color now that I think about it.

    I’ll try to help out with the advanced control filter, is this plugin on a public repo where I can submit a pull request?

    Plugin Author Alexis J. Villegas

    (@ajvillegas)

    Plugin Author Alexis J. Villegas

    (@ajvillegas)

    Quick Update: Version 1.2.0 introduced the ability to remove specific advanced options when using the ewc_advanced_options filter. Please see the documentation for more information.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove only specific Advanced Options’ is closed to new replies.