Advertisement
afsarwebdev

Reduxframework customize

Oct 22nd, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. //Edit redux framework customized
  2.  
  3. Use Redux :
  4.  
  5. 1) theme folder / lib / redux -> extract -> all files keep here
  6.  
  7. 2) copy and rename(config.php) sample-config.php form sample folder
  8.  
  9. 3) include the following two file in functions.php
  10.  
  11. -> require_once('lib/ReduxCore/framework.php');
  12. -> require_once(lib/sample/config.php);
  13.  
  14. 4) Edit the config.php file to add the option panel for the theme.
  15.  
  16. edit to show what i want
  17.  
  18. menu_title,
  19.  
  20. page_title,
  21.  
  22. menu_type [menu then it will default menu, submenu it will go in appearnace]
  23.  
  24. dev_mode will be false to off the add [default true]
  25.  
  26. update_notice will be false to off the update add [default true]
  27.  
  28. customizer will be false if i don't want to permission for customization in the customize [default true]
  29.  
  30. page_priority will be 5/10/0 to change the position [default null] google-> wordpress admin menu position
  31.  
  32. *menu position icon change of custom post
  33. -> menu_position = '5/7/8' etc what i want.
  34. -> 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
  35. or image hisabe use
  36. -> menu_icon => 'get_template_directory_uri() . '/images/image-name.png'
  37.  
  38. theme option er icon change korte hole
  39. find the menu_icon => ''get_template_directory_uri() . '/images/image-name.png'
  40.  
  41. page_slug => '' [name what u want to show the url last part when clicking the theme option menu]
  42.  
  43. edit/delet/changethe social link search the file facebook/twitter/linkedin the change here.
  44.  
  45. opt_name => '' [change the value to use as global variable ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement