Wednesday, December 21, 2016

wordpress start

download xamp install

then download wp

wordpress download zip extract file into htdoc > teh rename wordpress folder name

as demo like this D:\xampp\htdocs\demo

then go to wp D:\xampp\htdocs\demo\wp-content

then go to    D:\xampp\htdocs\demo\wp-content\themes

then rename   seven twinty theme folder name as demo and work on following pages

header.php
index.php
footer.php

=======go to wp admin and give password======

http://localhost/demo/wp-admin/

=========wordpress===
create database
---------
http://localhost/phpmyadmin/

go to current theme

http://localhost/ur-project-name/wp-login.php

==============get style sheet dir dynamyc============

<link href="<?php echo get_stylesheet_directory_uri(); ?>/css/style.css" rel="stylesheet">

==============get imgages dir dynamyc============

<?php bloginfo("template_url");?>/images/

==============get js dir dynamyc============

<?php echo get_template_directory_uri(); ?>/


====go  and open style.css and remove entire css onle leave the theme tile and description====

D:\xampp\htdocs\demo\wp-content\themes\demo/style.css

No comments:

Post a Comment