====================================================================================
CODE: HTML BUT IT DOES NOT SHOW SEARCH BOX & IT'S LONGER THAN
PHP ONE LINE 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>
====================================================================================
YOU CAN USE PHP CODE FOR COMPLETE: POST, HEADER, SIDEBAR ,FOOTER
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><p><?php the_content(__('(more...)')); ?></p> <?php endwhile; else: ?> <?php endif; ?>
<?php get_header(); ?> <!-- This is Extra PHP Header-->'
<?php get_sidebar(); ?> <!-- This is Extra PHP SideBar -->'
<?php get_footer(); ?> <!-- This is Extra PHP Footer -->'
================================================================================
MAKE THUMBNAIL I USE THIS CODE
index.php
<div id="posts">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="full-post" id="post-<?php the_ID(); ?>">
<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>
style.css
.full-post .aligncenter {
border:5px solid yellow;
width:200px;
height:200px;
}
================================================================================
OTHERS:
================================================================================
<h1><?php the_title(); ?></h1>
<h2 ><?php _e('Archives'); ?></h2>
<h2 ><?php _e('Categories'); ?></h2>
<h4>Posted on <?php the_time('F jS, Y') ?></h4>
====================================================================================
MAKE WODPRESS THEME WITH TWO FILES style.css And index.php
====================================================================================
===================================================================================
/*
Theme Name:FbGadgets
Theme URI: http://fbgadgets.blogspot.co.uk/2015/12/make-wodpress-theme.html
*/
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;
}
====================================================================================
====================================================================================
<?php wp_head(); ?>
<html>
<head>
<title>FbGadgets</title>
<link href="wp-content/themes/Demo/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- end #header -->
<?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(); ?> <!-- This is Extra PHP SideBar -->'
</div>
<div id="delimiter">
</div>
<div id="footer">
<h1>FOOTER</h1>
</div>
</div>
</body>
</html>
====================================================================================
OR USE THIS CODE WITH CUSTOMIZE SEARCH BOX
How to customize search box in sidebar?
<form id="searchform" method="get" action="http://fbgadgets.blogspot.co.uk/">
<div>
<input name="s" id="s" size="15" type="text">
<input value="Search" type="submit">
</div>
BUT BLOGGER TEMPLATE USE
<input id='input' name='q' placeholder='Search here...' type='text'/>
YOU CAN'T CHANGE q WORD OR DO'T NOT USE UPPERCASE LETTER Q
<form action='/search' autocomplete='off' id='searchbox' method='get'>
<input id='Search' type='submit' value='Search'/>
<input id='input' name='q' placeholder='Search here...' type='text'/>
</form>
====================================================================================
|
Friday, 25 December 2015
MAKE WODPRESS THEME


------------------------------------------------------------------------------------------------------------------------
MAKE AND SAVE ALL FILE ONE BY ONE IN SAME FOLDER
------------------------------------------------------------------------------------------------------------------------
1) USE NOTEPAD ++
COPY AND PASTE BELOW CODE AND SAVE IN footer.php
------------------------------------------------------------------------------------------------------------------------
<div id="footer">
<h1>FOOTER</h1>
</div>
</div>
</body>
</html>
------------------------------------------------------------------------------------------------------------------------
2) USE NOTEPAD ++
COPY AND PASTE BELOW CODE AND SAVE IN functions.php
------------------------------------------------------------------------------------------------------------------------
<?php
//Adds thumbnail to post
add_theme_support('post-thumbnails');
//Adds Menus
add_theme_support('menus');
//Register right sidebar
register_sidebar(array(
'name' => __( 'Right Hand Sidebar' ),
'id' => 'right-sidebar',
'description' => __( 'Widgets in this area will be shown on the right-hand side.' ),
'before_title' => '<h2>',
'after_title' => '</h2>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div><!-- widget end -->'
));
?>
-----------------------------------------------------------------------------------------------------------------------
3) USE NOTEPAD ++
COPY AND PASTE BELOW CODE AND SAVE IN header.php
-----------------------------------------------------------------------------------------------------------------------
<!DOCTYPE html">
<html>
<head>
<title><?php bloginfo('title'); ?></title>
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" media="screen" />
<?php wp_head(); ?>
</head>
<body>
<div id="wrapper">
<div id="header-wrapper">
<div id="header">
<div id="logo">
<h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name'); ?></a></h1>
<p><?php bloginfo('description'); ?></p>
</div>
</div>
</div>
<!-- end #header -->
------------------------------------------------------------------------------------------------------------------------
4) USE NOTEPAD ++
COPY AND PASTE BELOW CODE AND SAVE IN index.php
------------------------------------------------------------------------------------------------------------------------
<?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(); ?>
------------------------------------------------------------------------------------------------------------------------
5) USE NOTEPAD ++
COPY AND PASTE BELOW CODE AND SAVE IN sidebar.php
------------------------------------------------------------------------------------------------------------------------
<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>
------------------------------------------------------------------------------------------------------------------------
6) USE NOTEPAD ++
COPY AND PASTE BELOW CODE AND SAVE IN style.css
------------------------------------------------------------------------------------------------------------------------
/*
Theme Name:FbGadgets
Theme URI: http://fbgadgets.blogspot.co.uk/2015/12/make-wodpress-theme.html
*/
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;
}
------------------------------------------------------------------------------------------------------------------------
7) USE WINDOW PAINT OR LunaPic TO RESIZE YOUR IMAGE 800X600
AND SAVE THIS screenshot.png
------------------------------------------------------------------------------------------------------------------------
7) USE WINDOW PAINT OR LunaPic TO RESIZE YOUR IMAGE 800X600
AND SAVE THIS screenshot.png
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
8) USE WINRAR4.20 AND SEND COMPRESS ZIP FOLDER
http://www.oldversion.com/search?query=WINRAR
------------------------------------------------------------------------------------------------------------------------WORDPRESS SIDE BAR HTML OR PHP
<?php wp_head(); ?>
<html>
<head>
<title>FbGadgets</title>
<link href="wp-content/themes/Demo/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- end #header -->
<div id="header" role="banner">
<div id="headerimg">
<h1><a href="http://localhost/test/">WORDPRESS</a></h1>
<div class="description">Just another WordPress site</div>
</div>
</div>
<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>
<div id="sidebar">
<form id="searchform" method="get" action="http://localhost/test/">
<div>
<input name="s" id="s" size="15" type="text">
<input value="Search" type="submit">
</div>
</form>
<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>
</div>
<div id="delimiter">
</div>
<div id="footer">
<h1>FOOTER</h1>
</div>
</div>
</body>
</html>
Related movie you might like to see :

RENAME ADAPTER FOLDER IN PRESTASHOP

RENAME DOWNLOAD FOLDER IN PRESTASHO...

IMPORT SQL CSV FILE ON PHPMYADMIN

CHANGE CSS TEMPLATE INTO BLOGGER TE...

RESPONSIVE BLOGGER TEMPLATE FB GDGE...

CHANGE CSS TEMPLATE INTO BLOGGER TE...

GENERIC BLOGGER TEMPLATE PARTS

CSS CLICK DROPDOWN

INLINE HTML PAGE LAYOUT

PRESTASHOP THUMBNAIL WITH HOVER EFF...

CHANGE MENU CSS COLOR IN PRESTASHOP

RENAME CONTROLLERS FOLDER IN PRESTA...

BUTTON CHANGE INTO DROPDOWN MENU

GOOGLE FILTER BUTTON IN IMAGE SEARC...

BODY JS FILE LINK IN MAGENTO

INTENSO MAGENTO QUICK VIEW BUTTON

Magento Hello World Module (Extensi...

FEATURE POST WIDGET IN BLOG

Direct Link Generator CODE

Direct Links to your Files on Googl...
?
+
X
Recommended for you
Loading..
Related Post for MAKE WODPRESS THEME
PHP CONTACT FORM WITH CAPTCHA ------------------------------------------------------------------------------------------------------------------ BEFORE SEND MESSAGE 1) FIRST SOVLE SMTP PROBLEM …
BLOG FILE HOSTING GOOGLE PROJECT WITH TORTOISE SVN SOFTWARE EDIT HTML PAGE IN GOOGLE - YouTube ▶ 4:19 https://www.youtube.com/watch?v=Q4yfMqPFSYE 16 mins ago - Uploaded by SAVE MONEY http://fbgadgets.blogspot.co.uk/2016/09/…
BODY JS FILE LINK IN MAGENTO ------------------------------------------------------------------------------------------------------------- SEARCH IN GOOGLE file content software https://www.google.co.uk/s…
INTENSO MAGENTO QUICK VIEW BUTTON ---------------------------------------------------------------------------------------------------------------- 6:01 REMOVE QUICK VIEW BUTTON IN MAGE…
CHANGE MENU CSS COLOR IN PRESTASHOP ---------------------------------------------------------------------------------------------------------------------- OR USE THIS CODE INSIDE FILE C:\wamp\www\PrestaShop\them…
ABSOLUTE POPUP BOX WITH PRINT ----------------------------------------------------------------------------------------------------------------- POP BOX WITHOUT JAVA CODE 1: COPY AND PASTE BELOW CODE IN POS…
WAMP TO WORDPRESS INSTALL ------------------------------------------------------------------------------------------------------------- READ MORE: STEP NO:0 = CHECK WINDOW OPERATING SYSTEM STEP NO:1 …
RENAME DOCS FOLDER IN PRESTASHOP ----------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME docs To …
Platinum Arts Sandbox Free 3D Game Maker ----------------------------------------------------------------------------------------------------- READ MORE: ------------------------------------------------------…
AFTER INSTALL PRESTASHOP MAKE NEW FOLDERS ----------------------------------------------------------------------------------------------------------------- BEFORE INSTALL PRESTASHOP TWO BLANK FOLDERS CACHE SMARTY…
PRESTASHOP THUMBNAIL WITH HOVER EFFECT ----------------------------------------------------------------------------------------------------------- PRESTASHOP THUMBNAIL WITH HOVER EFFECT STEP1: GO INSIDE IN BELOW LIN…
PRESTASHOP HOME PAGE TAB BREAD CRUMBS STYLE ----------------------------------------------------------------------------------------------------------------- YOUTUBE LINK: https://www.youtube.com/watch?v=96BeqS8bueU 0) …
RENAME CSS FOLDER IN PRESTASHOP ----------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME css To CAT 1) BEFO…
RENAME PDF FOLDER IN PRESTASHOP ----------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME pdf To PAK 1) …
PAGE NAVIGATION WITH TITLE AND THUMBNAIL IN BLOG ------------------------------------------------------------------------------------------------------------ COPY AND PASTE BELOW CODE RED JAVA CODE AND JAVA FILE LINK PAG…
PAGE NAVIGATION WITH TITLE AND THUMBNAIL IN BLOG ------------------------------------------------------------------------------------------------------------ COPY AND PASTE BELOW CODE IN THIS CODE U NEED SAME POST HTML CODE,P…
PAGINATION IN BLOG ---------------------------------------------------------------------------------------------------------- 1- FIND BODY CLOSE TAG AND REPLACE WITH BELOW CODE READ MORE: http:/…
RENAME CACHE FOLDER IN PRESTASHOP ----------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME cache To CASH 1) G…
FONT LINE FIND IN PRESTA SHOP FILE SEEK SOFTWARE -------------------------------------------------------------------------------------------------------------------------- USEFULL LINKS http://alternativeto.net/software/filese…
MAKE WODPRESS THEME ------------------------------------------------------------------------------------------------------------------------ MAKE AND SAVE ALL FILE ONE BY ONE IN SAME FOLDER -…
RENAME CORE FOLDER IN PRESTASHOP ----------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME Core To COAT 1) GO…
RENAME ADAPTER FOLDER IN PRESTASHOP ----------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME adapter To APPLE…
PRESTA CSS JS FILE LINKS REMOVE BY DELETE FILES ------------------------------------------------------------------------------------------------------------------ YOU TUBE LINK https://youtu.be/UbE4O--D9i4?list=PL4AC2C4F0F53…
DEFAULT BOOT STRAP WORD IN 13 FILES PRESTASHOP ------------------------------------------------------------------------------------------------------------------ 1.C:\wamp\www\PrestaShop\README.md 2.&nbs…
GOOGLE PROJECT HOSTING ------------------------------------------------------------------------------------------------------------- STEP:1 LOGIN YOUR GOOGLE ACCOUNT STEP:2 GO TO SITE https://code.…
RENAME DOWNLOAD FOLDER IN PRESTASHOP ----------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME download To DOG 1…
GOOGLE FILTER BUTTON IN IMAGE SEARCH ------------------------------------------------------------------------------------------------------ SEARCH IN GOOGLE: Google Image Search and search for any query,&nbs…
HOME FEATURE TAB CHANGE IN PRESTASHOP ------------------------------------------------------------------------------------------------------------------ AFTER PRESTA SHOP INSTALLATION FIND REQUIRE FILE ONE…
Recommended Post Slide out for Blogger ---------------------------------------------------------------------------------------------------- RECOMMENDED POST SLIDE OUT FOR BLOG - YouTube ▶ 2:50 https:/…
FEATURE POST WIDGET IN BLOG ------------------------------------------------------------------------------------------------------------ FEATURE POST WIDGET WITHOUT JAVA CODE 1) IT WORKS WITH POST ID 2) …
Direct Link Generator CODE ----------------------------------------------------------------------------------------------------- CODE: -------------------------------------------------------------------…
IMPORT SQL CSV FILE ON PHPMYADMIN --------------------------------------------------------------------------------------------------- READ MORE: ----------------------------------------------------------------…
BLOG HOSTING HELP DIRECT LINKS TO YOUR FILES ON GOOGLE DRIVE - YouTube ▶ 5:17 https://www.youtube.com/watch?v=ehue47G5ayc 14 hours ago - Uploaded by SAVE…
Direct Links to your Files on Google Drive DIRECT LINKS TO YOUR FILES ON GOOGLE DRIVE - YouTube ▶ 5:17 https://www.youtube.com/watch?v=ehue47G5ayc 14 hours ago - Uploaded by SAVE MONEY DIRECT LINK…
RENAME CONTROLLERS FOLDER IN PRESTASHOP ------------------------------------------------------------------------------------------------------------- 0) BEFORE INSTALLATION CHANGE FOLDER NAME contr…
PRESTASHOP NEW THEME FOLDER -------------------------------------------------------------------------------------------------------------- YOUTUBE LINK: https://youtu.be/emfINPXYuGc 0) ONLY …
NEWS TICKER BLOGGER TEMPLATES ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODEIN BLOGGER TEMPLATE -----------------…
BlogPagerWithJavaCode BLOG PAGER - YouTube ▶ 6:22 https://www.youtube.com/watch?v=u54p0R8tS30 4 mins ago - Uploaded by SAVE MONEY BLOG PAGER ... how to create paging,pagination in …
ADD POP UP REMOVER STEP 2: Remove FocusBase pop-up ads from Internet Explorer, Firefox and Google Chrome with AdwCleaner The AdwCleaner utility will scan your computer and web browser for …
25 JS FILES DELETE IN PRESTASHOP ------------------------------------------------------------------------------------------------------------------ NO:1 JS FILE DELETE jquery-1.11.0.min.js FILE IN …
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.