chicagobarrister
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Removing titles from a static page, but not all pagesI think I just figured it out!
The grey underline was removed by deleting the entire h2 code instead of setting it to “display: none”. Do you see any problem with doing that? There is nothing I can think of…
Here’s the final result: http://www.chicagobarrister.com/hire-me
Big Thanks to ClaytonJames!
Forum: Themes and Templates
In reply to: Removing titles from a static page, but not all pagesGreat… Thanks for all your help and I am very close to my goal!!
I created a new template by adding the code you described and have the pages switched over to it. I modified the code to remove the titles from those pages and it works! So, I am 95% of the way there.
All I need to do now is remove the grey underline from those pages. Here is the code from my new template. Do you know which part I need to modify to remove the grey underline? Thanks!!
<?php /* Template Name: staticpage */ ?> <?php get_header(); ?> <div id="content-body"> <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div <?php if (function_exists("post_class")) post_class(); else print 'class="post"'; ?> id="post-<?php the_ID(); ?>"> <h2><a style="display: none;" title="<?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php edit_post_link(__('Edit this page','lightword'), '', ''); ?> <?php the_content(''); ?> <?php if(function_exists('wp_print')) { print_link(); } ?> <?php wp_link_pages('before=<div class="nav_link">'.__('PAGES','lightword').': &after=</div>&next_or_number=number&pagelink=<span class="page_number">%</span>'); ?> </div> <?php if ( comments_open() && $lw_disable_comments == "false" ) : comments_template(); endif; ?> <?php endwhile; else: ?> <h2><?php _e('Not Found','lightword'); ?></h2> <p><?php _e("Sorry, but you are looking for something that isn't here.","lightword"); ?></p> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Themes and Templates
In reply to: Removing titles from a static page, but not all pagesThanks!
So I looked at some other threads for conditional tags and templates, and creating a new template seems to be the better option since it will allow more flexibility going forward.
So do I need to copy, modify and rename “page.php”? If so, how do I get the two pages in question to use that template instead of the default? is it then selectable for those pages under “Edit Page” –> Attributes –> Template?
Forum: Themes and Templates
In reply to: Left sidebar has become indented? Any CSS gurus out there?That did it!!! Thanks so much! I really appreciate it. And I will check out that firebug add-on, sounds interesting.
Forum: Your WordPress
In reply to: My portfolio sitePretty cool design. I especially like the simplicity of the navigation. Almost no text, no captions, yet it gets the point across… Nice.
Forum: Your WordPress
In reply to: New Politics BlogI completely agree that its almost stock. But, I would like for it to be a lot more customized than it currently is. I guess what I am trying to get advice on is if it is advisable or even possible to keep modifying things a piece at a time until the design is very customized or if the only real way to go is to start over from scratch?
If it is possible to have a very customized page with its roots in cutline, what are some good areas to start customizing that go beyond the very basics like changing the header and using widgets/plugins?
Just looking for suggestions is all. If I am violating some kind of forum etiquette, please let me know because that is not my intention.
Thanks again for your time.
Forum: Themes and Templates
In reply to: Left sidebar has become indented? Any CSS gurus out there?Anyone have any ideas? I don’t know if there is something wrong in l_sidebar.php? Or style.css? the width of the sidebar seems fine, its just not moved all the way to the left of the layout…
If there is anything else you need to know, I can surely provide it.
Thanks!!!
Forum: Your WordPress
In reply to: New Politics Blogexcellent…figured it out. if this happened to you, check your code in your individual post.php