Hi!
I have activated the WP Accessibility plugin to enable some missing accessibility features to X. One of the options is the ability to turn on skip links. For that option, I need to enter the main content ID. I had been able to do this in the past using this line of code in Functions.php
function add_custom_id() {
echo '<div id="my-main-content"></div>';
}
add_action('x_before_the_content_begin', 'add_custom_id');
However, this does not seem to be working anymore and I need to be able to add the custom id in order for the plugin to work across the whole site.
Please help!