ral_ani
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding a custom option foor pagesthis is exactly what i wanted, and so easy to use thanks!!!!
Forum: Fixing WordPress
In reply to: Two layer navigationOk for anyone who’s interested in the solution, it was actually really simple CSS I can’t believe I didn’t think of it earlier!
All you do is output this:
wp_list_pages('title_li=&link_before=<span></span>');And in the CSS:
ul.children { display:none; } .current_page_item ul.children { display:block; }Forum: Fixing WordPress
In reply to: Two layer navigationthanks for your reply, I’ll try this out, at least now I know what it’s called, breadcrumbs!
Forum: Fixing WordPress
In reply to: Two layer navigationno takers?
Forum: Themes and Templates
In reply to: Tried to center post title, now text is too largeI still can’t see where you added the style into your stylesheet, you need to add it to your dynamic-style.php page
Forum: Themes and Templates
In reply to: Custom comments.php not working for meI figured it out! I’m so silly I had this <?php include(‘comments.php’); ?> instead of <?php comments_template(); ?>
Forum: Themes and Templates
In reply to: inserting backround pic as entire website?Let me get this straight, so you want to build your whole website in one HUGE image?
Forum: Themes and Templates
In reply to: Tried to center post title, now text is too largeYou need to close your h1 tag, seems to be enclosing everything now,
<h1 class="entry-title"><?php the_title(); ?></h1>Also add this to your stylesheet to center your heading:
h1.entry-title { text-align: center; }Forum: Themes and Templates
In reply to: How do I overwrite the comments template? Need help…I wouldn’t recommend what anujasha9 said, it’s pretty dangerous to change the source code, this is what I did for mine:
<?php $comment_args = array( 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '' . '<label for="author">' . __( 'Your Name:' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' />' . '<!-- #form-section-author .form-section -->', 'email' => '' . '<label for="email">' . __( 'Your Email:' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' />' . '<!-- #form-section-email .form-section -->', 'url' => '' ) ), 'comment_field' => '' . '<label for="comment">' . __( 'Comment:' ) . '</label>' . '<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>' . '<!-- #form-section-comment .form-section -->', 'comment_notes_after' => '', ); comment_form($comment_args); ?>Or what twentyten does and create your function inside the functions.php file, look up function function twentyten_comment to see what I mean, otherwise here’s another good tutorial to read.
Forum: Plugins
In reply to: Creating custom widgets to be called from templatesI found an answer, if anyone else is interested here’s an AWESOME tutorial about how to do it:
http://www.tutorial9.net/tutorials/web-tutorials/custom-wordpress-homepage-with-customizable-widgets/Forum: Themes and Templates
In reply to: Basic Theme wanted !!i think suomyhelmets.co.uk is a lot nicer than nemc.co.uk, no offence 🙂
Forum: Plugins
In reply to: Creating custom widgets to be called from templatesI have an example of what I want, it’s kind of like what this theme does:
http://13styles.com/demos/markted/Here is their settings page:
http://13styles.com/img/themes/markted_settings.pngForum: Fixing WordPress
In reply to: How do I remove the blue line?Or if you prefer to access it through your dashboard you navigate to the “Appearance” tab and click on Editor, then select “Stylesheet (style.css)” under styles on the right from the list of theme files
Forum: Fixing WordPress
In reply to: How do I remove the blue line?it should be in your style.css file which is in:
your-wordpress-folder\wp-content\themes\your-theme-name\style.cssSo just change this bit:
background:#333333 url(images/content-bg.png) repeat-y scroll right top;
to:
background:#333333;That was so useful thanks MichaelH!!!