miocene22
Forum Replies Created
-
Forum: Themes and Templates
In reply to: creating a theme like thislearn css and html. You can’t be told in a single comment how to create a theme.
Forum: Themes and Templates
In reply to: HTML to CSShtml and css do not do the same thing. You cannot rebuild an html page in css.
html is a markup language used to specify the content of a page.
css is a stylesheet language used to style and position that content.
Your page made in dreamweaver almost certainly uses html and css but as you made it in a wysiwyg editor the program did all the coding for you – most likely adding a load of useless bulk code along the way.
If you wish to have a page you made into a wordpress blog it will pretty much need rebuilding from scratch in the form of a wordpress theme. The minimum files required for a wordpress theme is an index.php file and a style.css file.
.php files can contain html but also contains php code that is executed and used to retrieve your blog contents and output it as html.
I suggest you first learn the basics of html and css before attempting to make a theme file. here is a good place to start.
Then consult the codex for info on how to create your own wordpress theme
Forum: Themes and Templates
In reply to: Please check out my themeanybody??
Forum: Your WordPress
In reply to: IdeaButter.com needs your feedback!I do not suggest you use the <center> tag as it is now depreciated and your page will not validate.
for correct markup use css to center the images.
Either do
<img style="margin-left:auto; margin-right:auto;" src="...>
(or the equivilent in an external css file:#sidebar img{margin-left:auto; margin-right:auto;}
or style the parent div accordingly:
#sidebar {text-align: center;} //this will also center the text which is probably undesired.
Forum: Themes and Templates
In reply to: Widget titles – from text to image?If you want to display a specific font for certain text elements in your theme then I suggest cufon.
Basically it replaces the text in an element of your choice (h1, h2 etc) with an image of the text in your desired font.
It is quite easy to set up (follow the instructions carefully) but helps if u know a bit of javascript.
Also, please do not copy-paste massive blocks of code into your posts – no-one will read it…
Forum: Fixing WordPress
In reply to: delete all wordpress contentah ok. I actually just went throught the admin panel and deleted all the posts, pages and uploads throught there. Didn’t take too long.
Cheers anyways.
Forum: Fixing WordPress
In reply to: delete all wordpress contenthmmm, a reinstall would take a while.. Is there no quicker way? Like deleting the wp-content folder
Forum: Themes and Templates
In reply to: Validating my themeyeah that’s probably true. I guess I’m too much of a perfectionist.
I’ll leave it for now..
Forum: Themes and Templates
In reply to: Drop Down Nav Menu (using Parent and Children Pages)???you do not need a plugin to do this.
Just usewp_list_pages()
to generate an unordered list of all your pages with the children pages as sub-list of their parent pages.Then use CSS to style the lists and sublists accordingly.
e.g
#navlist ul{ list-style:none; } #navlist ul ul{ list-style:none; position: absolute; right:-999em; //this will hide the sublist when not hovered } #navlist ul ul:hover{ right:auto; //shows the list when hovered }
This is by no means all the css required… just a bit to get you started. But you should know a bit of html and css before undertaking this.
try here for a good tutorial on making dropdowns out of lists.
Forum: Themes and Templates
In reply to: Validating my themeanyone???
Forum: Themes and Templates
In reply to: How to swop a theme per page on a siteyou just make a new php file called single.php (for a single post) or page.php (for a page) and put in the html and php you want to dictate the layout and content and link to a separate css file is required.
Then place the file in your theme folder
Forum: Themes and Templates
In reply to: Validating my themeok I’ve found out that it only is on a page when the user is not logged it and is on the comment form in the input boxes.
As this does not validate, is there a way to remove it from my theme? I.e tell wordpress not to generate it when making the comment form??
Forum: Themes and Templates
In reply to: minimalism- is there a way to add HOME page?yes, I have manually added it into my theme’s header using the following code…
<div id="navbox"> <ul id="navbar"> <li><a href="<?php bloginfo('url'); ?>">Home</a></li> //this adds the home page link first <?php $arguments = array('depth' => '1', 'title_li' => '', 'link_after' => ' '); wp_list_pages($arguments); ?> //this php gets the page links and renders each once between <li></li> tags. </ul> </div>
hop this helps
Forum: Themes and Templates
In reply to: Using wp_list_pagesOK I figured it out…
You have to pass the argument as an array to the function:
<?php $arguments = array('depth' => '1', 'title_li' => '', 'link_after' => '<span class="clearstick"> / </span>'); wp_list_pages($arguments); ?>
Forum: Themes and Templates
In reply to: searchform role does not validatenice, thank you