OVERVIEW:
In this video I have explained, how we upload our custom logo to our custom theme. By default for our custom theme we have no more option to add it, but wordpress has given us a wide range of rich functions to make all possible things in a while.
#WordpressTutorialsPoints
#WordpressLearnersHub
#WordpressCustomizations
#LearnWordpressStepbyStep
#WordpressBySanjay
By using "add_theme_support" function of wordpress we can make a default upload logo button for our theme.
function themename_custom_logo_setup() {
$defaults = array(
'height' = 50,
'width' = 177
);
add_theme_support('custom-logo', $defaults);
}
By making add_theme_support just we need to add with action to make it in play. Defaults values as second parameter takes the default upload option for logo image. We can pass several values for it, for more details you can find the documentation section given below for this function.
// adding with action hook
add_action('after_setup_theme', 'themename_custom_logo_setup');
If you have started this video from this session then please watch Video #3 and Video #4 to get clear vision about html theme setup on wordpress Before starting this session.These videos are totally for absolute beginners.
Documentation Study:
add_theme_support: https://developer.wordpress.org/refer...
RECOMMENDATION:
1. Some knowledge of PHP, HTML for this video series
2. How to Install Wordpress: • Wordpress Theme Development tutorial ...
3. Wordpress theme setup guide: • Wordpress Theme Development tutorial ...
SOCIAL :
===============
Subscribe : / @onlinewebtutor
FACEBOOK : / onlinewebtutorhub
TWITTER: / owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
Also you can learn Wordpress Custom
===============
Wordpress Widget Development: https://goo.gl/Dc2htn
Wordpress Plugin Development: https://goo.gl/BA7dYG
Wordpress Theme Options Development: https://goo.gl/Vjv3Ub
Learn backbone.js here! : https://goo.gl/Qd2Pcs
Laravel tutorials: https://goo.gl/Nh9qJk
CakePHP tutorials: https://goo.gl/uRsS3G
RECOMMENDATION:
1. Some knowledge of PHP, HTML for this video series
2. How to Install Wordpress: • Wordpress Theme Development tutorial ...
TAGS :
============================
theme development in wordpress,
learn theme development in wordpress,
child theme development in wordpress,
theme development in wordpress video tutorial,
theme development in wordpress from scratch,
theme development in wordpress step by step,
theme development in wordpress youtube,
theme development in wordpress tutorial,
custom theme development in wordpress,
learn wordpress theme development,
wordpress tutorial,
wordpress theme tutorial,
wordpress development,
learn wordpress development,
wordpress theme customisation,
wordpress customisation tutorials,
wordpress customisation for beginners,
online web tutor wordpress theme development,
~-~~-~~~-~~-~
Please watch: "Learn backbone.js tutorial from scratch"
• Learn backbone.js tutorial from scrat...
~-~~-~~~-~~-~