Customizer doesn’t recognise sidebar

I found out what the problem was. I were using jQuery in the wrong way, which made the customizer fail. This is how you should enqueue a script with jQuery: function my_theme_scripts() { wp_enqueue_script( ‘my-great-script’, get_template_directory_uri() . ‘/js/my-great-script.js’, array( ‘jquery’ ), ‘1.0.0’, true ); } add_action( ‘wp_enqueue_scripts’, ‘my_theme_scripts’ ); See more on this page.

How to create sidebar from “scratch”?

Technically “off topic” here as your actual question is open-ended and there is lots of room for opinion. https://wordpress.stackexchange.com/help/dont-ask Sidebars and widgets are a perfect way to organize these elements. Keep in mind these are simply tools to organize blocks for repeated use in various locations. So, officially, my answers to your two questions are: … Read more

how do i get my sidebar above content on nanomag theme

You could use some absolute positioning CSS for that media query for that class that displays the sidebar. It all depends on how the theme code is written, as does the actual name of the class that the theme uses. One tutorial on that subject is here: https://www.w3schools.com/css/css_positioning.asp You might be able to put your … Read more

Before_widget won’t show up

Thanks to Tom J Nowell I found out that the reason for after_widget and before_widget NOT appearing was that I used my own widget and inside my own widget I had commented out: //echo $args[‘before_widget’]; and //echo $args[‘after_widget’]; So as soon as I tested it with the default wordpress “Custom HTML” everything worked fine and … Read more

How do I fully rid of the 1px wide sidebar border? [closed]

It looks like your in themes style.css at a certain breakpoint min-width: 769px it’s adding a border right. You could get rid of it by adding the following to your child themes CSS or The Customizers CSS Panel: @media (min-width: 769px) { .ast-right-sidebar #primary { border-right: 0px; } }

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