December
11
C
hristmas is the best time in the year for me, and I guess for everyone too. Therefore, I decided to make this new collection of Christmas social bookmarks, and I hope they can be popular like the other Christmas social bookmarks we see in search engine every year before the Christmas day. And I think because they are a free Christmas social bookmarks, I may see them in other websites, soooo soon. I really hope so.
But wait, there’s more…
Filed under: design by
web-designer
No Comments yet
July
10
C
omments template is the last lesson of this tutorial. I will add later some more lessons about wordpress them but they are optional. mostly all blogs allow readers to add comments and in my opinion it is important for both readers and the writer in every blog. Most of the designers use the default theme of wordpress or modify it as they want, I will post my modified comments template from wordpress them. Now, let’s begin…
Step *1: create a new php file using any editor and name it comments.php.
Copy this code and past it in it and save.
But wait, there’s more
Filed under: coding, design by
web-designer
33 Comments so far...
July
1
H
ere we come again with part 2 of splitting the code. Today I will talk about archives.php, single.php, page.php and search.php. let’s start….
Step *1: create a new php file using any editor, name it achieve.php and save.
Copy everything in your index.php and paste it in archieves.php and save.
Now, open the archives.php and replace <?php the_content(); ?>with <?php the_excerpt(); ?> and save.
Why did I do that?
But wait, there’s more
Filed under: coding, design by
web-designer
No Comments yet
June
22
S
plitting the code is the final step in this tutorial, this way you will have many separate files that when you joined them together you will get the index.php file again, in this lesson I will separate the (header.php, sidebar.php, and footer.php). and this will save a lot of time when I want to update something in any of these files.Let’s begin…
Step *1 : open index.php file, create a new file using any editor you want and name it header.php. in index.php file, copy everything from the
But wait, there’s more
Filed under: coding, design by
web-designer
1 Comment so far
June
13
F
inally, we reached the last part of styling wordpress theme using CSS, this time I will show you how to style the sidebar and the footer. Open style.css and let’s begin…
Step *1: type this code under .sidebar{} and save.
.sidebar ul{
list-style-type: none;
margin: 0;
padding: 0 5px 0 5px;
}
But wait, there’s more
Filed under: coding, design by
web-designer
No Comments yet