How do I give the user the option to toggle the sidebar to the left or right side of the theme?

Question

I know how to create a settings page with add_menu_page, and add a drop-down menu with two options using add_settings_field.

What I need to find out is how do I then allow the user to save their choice to the data base, which then changes the CSS so that the float property changes from right to left?

0
, , , Cathal 2 years 2019-10-29T05:56:24-05:00 0 Answers 83 views 0

Leave an answer

Browse
Browse