Wordpress Archives - 7-Views

Changing File Permissions

Posted by
July 23, 2019

On computer file systems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions. Permission Modes 7 5 5 user group world r+w+x r+x r+x 4+2+1 4+0+1 4+0+1 = 755 The […]

read more

Widgetizing theme in wordpress

Posted by
December 24, 2018

Widgetizing is creating widget area in your theme. For this you need to add below code inside your functions.php file function mytheme_widgets_init() { register_sidebar( array( ‘name’ => ‘Sidebar Right’, ‘id’ => ‘sidebar_right’, ‘before_widget’ => ‘<div>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<h2>’, ‘after_title’ => ‘</h2>’, ) ); } add_action( ‘widgets_init’, ‘mytheme_widgets_init’ ); Once added look into […]

read more