Top Bar Issues
-
Hello!
Could you please advise me on:
1) how to prevent the MC4WP top bar from removing the menu bar function on my mobile site? I can’t click on any of the tabs in the menu. This doesn’t happen on my desktop site strangely.
2) whether it would be possible to use Code Snippets to add your code? You mention on your site that the code for adding an additional field to the top bar menu needs to be added directly to your theme’s functions.php file. I wanted to avoid editing my theme’s code just in case I mess something up.
I’m trying to add:
add_action( ‘mctb_before_submit_button to mctb_before_email_field’, function() {
echo ‘<input type=”text” name=”NAME” placeholder=”Your name” />’;
});add_filter( ‘mctb_data’, function( $vars ) {
$vars[‘NAME’] = ( isset( $_POST[‘NAME’] ) ) ? sanitize_text_field( $_POST[‘NAME’] ) : ”;
return $vars;
});to Code Snippet but it’s not working.
Many thanks,
Rashidah
The page I need help with: [log in to see the link]
The topic ‘Top Bar Issues’ is closed to new replies.