Enable Right Sidebar in WordPress all Post for Astra theme
Easy way to enable right sidebar in all wordpress post for astra theme add following code in your current themes function.php file.
To create an options page, open up your current themes functions.php file and add the following code:
‘Theme General Settings’,
‘menu_title’ => ‘Theme Settings’,
‘menu_slug’ => ‘theme-general-settings’,
‘capability’ => ‘edit_posts’,
‘redirect’ => false
));
}
?>
Without passing any parameters to this function, the default options page will be added to your wp-admin sidebar.
PREVIOUS PAGE
How to Create Your Own WordPress Shortcodes
Leave a Reply