Child theme loses wp-admin styling

I found that adding this to my ‘smart-mag-child’ functions.php file worked. add_editor_style( get_template_directory_uri() . ‘/style.css’ ); If someone can show me documentation to how to properly do this that would be appreciated. Edit: Dokumentation about this to understanding why it works. add_editor_style() – Add callback for custom TinyMCE editor stylesheets. get_template_directory_uri() – Retrieve theme directory … Read more

Post/Page editor loads twice

No, this is not a normal behavior. Try to set default editor, and that should fix it. If it does not fix the problem, you may have one of your plugins causing it. Deactivate all plugins, and then reactivate them, one by one, until you find one, which is responsible. Code below goes to functions.php: … Read more

Gutenberg Block empty after reload of editor

I was able to make your block save and load on refresh by changing the edit to so: edit: function(props) { return [ el( ‘div’, { className : props.className }, el( ‘div’, null, el( RichText, { multiline: null, formattingControls: [‘link’], onChange: function (element) { props.setAttributes({link: element}); }, tagName: ‘div’, value: props.attributes.link, } ) ) ) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)