Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Edit redux framework customized
- Use Redux :
- 1) theme folder / lib / redux -> extract -> all files keep here
- 2) copy and rename(config.php) sample-config.php form sample folder
- 3) include the following two file in functions.php
- -> require_once('lib/ReduxCore/framework.php');
- -> require_once(lib/sample/config.php);
- 4) Edit the config.php file to add the option panel for the theme.
- edit to show what i want
- menu_title,
- page_title,
- menu_type [menu then it will default menu, submenu it will go in appearnace]
- dev_mode will be false to off the add [default true]
- update_notice will be false to off the update add [default true]
- customizer will be false if i don't want to permission for customization in the customize [default true]
- page_priority will be 5/10/0 to change the position [default null] google-> wordpress admin menu position
- *menu position icon change of custom post
- -> menu_position = '5/7/8' etc what i want.
- -> menu_icon => '' copy the html code for the dash icon only class name [wordpress icon like fontawesome] or iconfinder.com theke copy image location dileo kaj korbe
- or image hisabe use
- -> menu_icon => 'get_template_directory_uri() . '/images/image-name.png'
- theme option er icon change korte hole
- find the menu_icon => ''get_template_directory_uri() . '/images/image-name.png'
- page_slug => '' [name what u want to show the url last part when clicking the theme option menu]
- edit/delet/changethe social link search the file facebook/twitter/linkedin the change here.
- opt_name => '' [change the value to use as global variable ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement