Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Google Pixel 9 Pro
vgp
Updated:
Thursday at 5:57 PM
Ad icon
Jobreceive.com for sale
Blogerwiki
Updated:
Tuesday at 8:55 PM
Post Your Vehicle for Sale — FREE! - https://libro.lk
Kalu_Puth
Updated:
Tuesday at 7:38 PM
ඔයාගෙ Assignment හෝ Thesis එක හරියට හදාගමු
ErMurazor
Updated:
Sep 26, 2026
Ad icon
BlackWall V2ray servers
hu KANNA
Updated:
Sep 23, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Wordpress Theme එකක් හදන හැටි
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="joshmiller" data-source="post: 16893217" data-attributes="member: 499542"><p><strong>Wordpress Theme එකක් හදන හැටි</strong></p><p></p><p><span style="font-size: 18px"><span style="color: DarkRed">කොහොමද දුවල පුතාල . උබල දන්නණවද එකක් Wordpress Theme හදන හැටි? . දන් නැත්තම් එන්න ඉගෙන ගන්න . මෙක මහලොකු දෙයක් නෙමේ . ඒත් හොද තීම් එකක් හදන්නනම් හොද creative කෙනෙක් වෙන්න ඕනෙ . මුලින්ම මේව ගැන පොඩි knolodge එකක් තියෙන්නම ඕනෙ .</span></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><ol> <li data-xf-list-type="ol"><span style="font-size: 18px">HTML</span></li> <li data-xf-list-type="ol"><span style="font-size: 18px">CSS</span></li> <li data-xf-list-type="ol"><span style="font-size: 18px">PHP ( theme ekak hadanna onema na )</span></li> </ol><p></p><p><span style="font-size: 18px"><span style="color: Navy">ඔය ටික දන්න කාටත් තීම් එකක් හදාගන්න පුලුණන් . wordpress theme සම්මත structure එකක් තියෙනව . සරල wordpress theme එකක පහල ලිස්ත් එක තියෙන ෆයිල් අඩන්ගු වෙනවා .</span></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><ul> <li data-xf-list-type="ul"><span style="font-size: 18px">Header.php</span></li> <li data-xf-list-type="ul"><span style="font-size: 18px">Index.php</span></li> <li data-xf-list-type="ul"><span style="font-size: 18px">Style.css</span></li> <li data-xf-list-type="ul"><span style="font-size: 18px">Sidebar.php</span></li> <li data-xf-list-type="ul"><span style="font-size: 18px">Footer.php<br /> <br /> </span></li> </ul><p></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"><span style="color: navy"> ඔන්න ඔච්චරයි සරල theme එහෙක තියෙන්නෙ</span></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"><img src="http://www.siteground.com/img/knox/tutorials/uploaded_images/images/wordpress/wrdp-theme1(1).jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">දැන් බලමු එක එක ෆයිස් කොහොමද කියල .</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 15px">Header.php</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">[CODE]<html></span></p><p><span style="font-size: 12px"><head></span></p><p><span style="font-size: 12px"><title>Tutorial theme</title></span></p><p><span style="font-size: 12px"><link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"></span></p><p><span style="font-size: 12px"></head></span></p><p><span style="font-size: 12px"><body></span></p><p><span style="font-size: 12px"><div id="wrapper"></span></p><p><span style="font-size: 12px"><div id="header"></span></p><p><span style="font-size: 12px"><h1>HEADER</h1></span></p><p><span style="font-size: 12px"></div>[/CODE]</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p></p><p><span style="font-size: 15px">[PHP]<?php bloginfo('stylesheet_url'); ?> [/PHP] ඔහොම තමයි style.css ලින්ක් කරගන්නෙ. </span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[PHP]<?php bloginfo('stylesheet_url'); ?> = root/wp-content/themes/simple-theme/style.css [/PHP]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p></p><p><span style="font-size: 15px">Index.php</span></p><p></p><p>[CODE]</p><p></p><p></p><p><?php get_header(); ?></p><p><div id="main"></p><p><div id="content"></p><p><h1>Main Area</h1></p><p><?php if (have_posts()) : while (have_posts()) : the_post(); ?></p><p><h1><?php the_title(); ?></h1></p><p><h4>Posted on <?php the_time('F jS, Y') ?></h4></p><p><p><?php the_content(__('(more...)')); ?></p></p><p><hr> <?php endwhile; else: ?></p><p><p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?></p><p></div></p><p><?php get_sidebar(); ?></p><p></div></p><p><div id="delimiter"></p><p></div></p><p><?php get_footer(); ?>[/CODE]</p><p></p><p><span style="font-size: 15px">index.php තමයි තිම් එකේ ඔක්කොම කැලි තනි පිට්වට සම්බන්ද කරන්න .</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[PHP]<?php get_header(); ?>[/PHP] header.php ෆයිල් එක </span></p><p><span style="font-size: 15px">[PHP]<?php get_sidebar(); ?>[/PHP] Sidebar.php ෆයිල් එක </span></p><p><span style="font-size: 15px">[PHP]<?php get_footer(); ?>[/PHP] Footer.php ෆයිල් එක </span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[PHP]<?php if (have_posts()) : while (have_posts()) : the_post(); ?></span></p><p><span style="font-size: 15px"><h1><?php the_title(); ?></h1></span></p><p><span style="font-size: 15px"><h4>Posted on <?php the_time('F jS, Y') ?></h4></span></p><p><span style="font-size: 15px"><p><?php the_content(__('(more...)')); ?></p></span></p><p><span style="font-size: 15px"><hr> <?php endwhile; else: ?></span></p><p><span style="font-size: 15px"><p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>[/PHP]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">මේක ලූප් එකක් , ඔයා Wordpress Blog එකෙ පෝස්ට් දාල තියෙනවනම් එ පොස්ට් ටික තමයි ඔතන්ට එන්නෙ .</span></p><p><span style="font-size: 15px">[PHP]<?php the_title(); ?>[/PHP] Title of Post</span></p><p><span style="font-size: 15px">[PHP] <?php the_time('F jS, Y') ?>[/PHP] Time Posted</span></p><p><span style="font-size: 15px">[PHP]<?php the_content(__('(more...)')); ?>[/PHP] Read More ==> on karala thiyenawanm oka watenawa . </span></p><p><span style="font-size: 15px"></span></p><p></p><p><span style="font-size: 15px">Style.css </span></p><p>[CODE]</p><p></p><p></p><p>/*</p><p>Theme Name: Theme name</p><p>Theme URI: theme url</p><p>Author: author</p><p>Author URI: http://wordpress.org/</p><p>Description:description </p><p>License: GNU General Public License v2 or later</p><p>License URI: http://www.gnu.org/licenses/gpl-2.0.html</p><p>Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready</p><p>Text Domain: twentythirteen</p><p></p><p>This theme, like WordPress, is licensed under the GPL.</p><p>Use it to make something cool, have fun, and share what you've learned with others.</p><p>*/</p><p></p><p></p><p></p><p></p><p>body { text-align: center; }</p><p>#wrapper { display: block; border: 1px #a2a2a2 solid; width:90%; margin:0px auto; }</p><p>#header { border: 2px #a2a2a2 solid; }</p><p>#content { width: 75%; border: 2px #a2a2a2 solid; float: left; }</p><p>#sidebar { width: 23%; border: 2px #a2a2a2 solid; float: right; }</p><p>#delimiter { clear: both; }</p><p>#footer { border: 2px #a2a2a2 solid; }</p><p>.title { font-size: 11pt; font-family: verdana; font-weight: bold; }[/CODE]</p><p></p><p>මේක ගොඩක් වැදගත් මේකෙන් තමයි තීම් එක ලස්සන කරන්නෙ . </p><p></p><p><span style="font-size: 15px">Sidebar.php </span></p><p>[CODE]<div id="sidebar"></p><p><h2 ><?php _e('Categories'); ?></h2></p><p><ul ></p><p><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?></p><p></ul></p><p><h2 ><?php _e('Archives'); ?></h2></p><p><ul ></p><p><?php wp_get_archives('type=monthly'); ?></p><p></ul></p><p></div>[/CODE]</p><p></p><p><span style="font-size: 15px">Footer.php</span></p><p></p><p>[CODE]<div id="footer"></p><p><h1>FOOTER</h1></p><p></div></p><p></div></p><p></body></p><p></html>[/CODE]</p><p></p><p></p><p>දැන් හරිනෙ? උබලට ඔනෙනම් ඔහොම ෆ්යිල් ටික හදල ගිහින් තීම් foldeර් එකත දාපුණම බබා ව්ගෙ වැඩ . අවසන් ප්රතිපලය</p><p></p><p><img src="http://www.siteground.com/img/knox/tutorials/uploaded_images/images/wordpress/wrdp-theme2.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>ේප් දෙන්න හොදඇ</p></blockquote><p></p>
[QUOTE="joshmiller, post: 16893217, member: 499542"] [b]Wordpress Theme එකක් හදන හැටි[/b] [SIZE="5"][COLOR="DarkRed"]කොහොමද දුවල පුතාල . උබල දන්නණවද එකක් Wordpress Theme හදන හැටි? . දන් නැත්තම් එන්න ඉගෙන ගන්න . මෙක මහලොකු දෙයක් නෙමේ . ඒත් හොද තීම් එකක් හදන්නනම් හොද creative කෙනෙක් වෙන්න ඕනෙ . මුලින්ම මේව ගැන පොඩි knolodge එකක් තියෙන්නම ඕනෙ .[/COLOR] [LIST=1] [*]HTML [*]CSS [*]PHP ( theme ekak hadanna onema na ) [/LIST] [COLOR="Navy"]ඔය ටික දන්න කාටත් තීම් එකක් හදාගන්න පුලුණන් . wordpress theme සම්මත structure එකක් තියෙනව . සරල wordpress theme එකක පහල ලිස්ත් එක තියෙන ෆයිල් අඩන්ගු වෙනවා .[/COLOR] [LIST] [*]Header.php [*]Index.php [*]Style.css [*]Sidebar.php [*]Footer.php [/LIST] [COLOR="navy"] ඔන්න ඔච්චරයි සරල theme එහෙක තියෙන්නෙ[/COLOR] [IMG]http://www.siteground.com/img/knox/tutorials/uploaded_images/images/wordpress/wrdp-theme1(1).jpg[/IMG] දැන් බලමු එක එක ෆයිස් කොහොමද කියල . [/SIZE] [SIZE="4"]Header.php[/SIZE] [SIZE="3"] [CODE]<html> <head> <title>Tutorial theme</title> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"> </head> <body> <div id="wrapper"> <div id="header"> <h1>HEADER</h1> </div>[/CODE] [/SIZE] [SIZE="4"][PHP]<?php bloginfo('stylesheet_url'); ?> [/PHP] ඔහොම තමයි style.css ලින්ක් කරගන්නෙ. [PHP]<?php bloginfo('stylesheet_url'); ?> = root/wp-content/themes/simple-theme/style.css [/PHP] [/SIZE] [SIZE="4"]Index.php[/SIZE] [CODE] <?php get_header(); ?> <div id="main"> <div id="content"> <h1>Main Area</h1> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?></h1> <h4>Posted on <?php the_time('F jS, Y') ?></h4> <p><?php the_content(__('(more...)')); ?></p> <hr> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?> </div> <?php get_sidebar(); ?> </div> <div id="delimiter"> </div> <?php get_footer(); ?>[/CODE] [SIZE="4"]index.php තමයි තිම් එකේ ඔක්කොම කැලි තනි පිට්වට සම්බන්ද කරන්න . [PHP]<?php get_header(); ?>[/PHP] header.php ෆයිල් එක [PHP]<?php get_sidebar(); ?>[/PHP] Sidebar.php ෆයිල් එක [PHP]<?php get_footer(); ?>[/PHP] Footer.php ෆයිල් එක [PHP]<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?></h1> <h4>Posted on <?php the_time('F jS, Y') ?></h4> <p><?php the_content(__('(more...)')); ?></p> <hr> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>[/PHP] මේක ලූප් එකක් , ඔයා Wordpress Blog එකෙ පෝස්ට් දාල තියෙනවනම් එ පොස්ට් ටික තමයි ඔතන්ට එන්නෙ . [PHP]<?php the_title(); ?>[/PHP] Title of Post [PHP] <?php the_time('F jS, Y') ?>[/PHP] Time Posted [PHP]<?php the_content(__('(more...)')); ?>[/PHP] Read More ==> on karala thiyenawanm oka watenawa . [/SIZE] [SIZE="4"]Style.css [/SIZE] [CODE] /* Theme Name: Theme name Theme URI: theme url Author: author Author URI: http://wordpress.org/ Description:description License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready Text Domain: twentythirteen This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */ body { text-align: center; } #wrapper { display: block; border: 1px #a2a2a2 solid; width:90%; margin:0px auto; } #header { border: 2px #a2a2a2 solid; } #content { width: 75%; border: 2px #a2a2a2 solid; float: left; } #sidebar { width: 23%; border: 2px #a2a2a2 solid; float: right; } #delimiter { clear: both; } #footer { border: 2px #a2a2a2 solid; } .title { font-size: 11pt; font-family: verdana; font-weight: bold; }[/CODE] මේක ගොඩක් වැදගත් මේකෙන් තමයි තීම් එක ලස්සන කරන්නෙ . [SIZE="4"]Sidebar.php [/SIZE] [CODE]<div id="sidebar"> <h2 ><?php _e('Categories'); ?></h2> <ul > <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> </ul> <h2 ><?php _e('Archives'); ?></h2> <ul > <?php wp_get_archives('type=monthly'); ?> </ul> </div>[/CODE] [SIZE="4"]Footer.php[/SIZE] [CODE]<div id="footer"> <h1>FOOTER</h1> </div> </div> </body> </html>[/CODE] දැන් හරිනෙ? උබලට ඔනෙනම් ඔහොම ෆ්යිල් ටික හදල ගිහින් තීම් foldeර් එකත දාපුණම බබා ව්ගෙ වැඩ . අවසන් ප්රතිපලය [IMG]http://www.siteground.com/img/knox/tutorials/uploaded_images/images/wordpress/wrdp-theme2.jpg[/IMG] ේප් දෙන්න හොදඇ [/QUOTE]
Insert quotes…
Verification
Nawa warak dahaya keeyada? (Namaya wadi kireema dahaya)
Post reply
Top
Bottom