Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Link Colours generates error - fix supplied. #87

Closed
John-Blair opened this issue Mar 15, 2018 · 0 comments
Closed

Changing Link Colours generates error - fix supplied. #87

John-Blair opened this issue Mar 15, 2018 · 0 comments

Comments

@John-Blair
Copy link

Changing the Link Colour generates the following error:

Notice: Undefined index: hover in C:\wordpress\wp-content\themes\museum-core\functions.php on line 807 thanks

I researched the issue and the fix is to make sure the hover option is present when the link colour is set:

The fix is to change line 806 in functions.php to:

if ( isset( $options['hover'] ) && $options['hover'] !== $defaults['hover'] ||( isset( $options['hover'] ) && isset( $options['link'] ) )) {

Thanks ...great product.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant