Michelle Langston
Forum Replies Created
-
Forum: Your WordPress
In reply to: My First WP CMS SiteHa, I never thought of overlaying an “under construction” image via a div background in CSS. Good tip to remember for the future! Good luck on your site!
Forum: Themes and Templates
In reply to: Looking for a theme with urban feelThis is what I get after searching the theme repository for “urban”:
http://wordpress.org/extend/themes/search.php?q=urban
This is what comes up on a search for “grunge”:
http://wordpress.org/extend/themes/search.php?q=grunge
Not sure what your definition of “urban” is, though.
Forum: Themes and Templates
In reply to: Place static image below header, above top post?Yes, do something like this:
.static-image-container { width: 100%; height: HEIGHT OF YOUR IMAGE; margin: 0; padding: 0; background: url('URL OF YOUR STATIC IMAGE.jpg') no-repeat;}Then, find the template file where you want to place the image. Comment out the current code in that spot, and replace it with:
<div class="static-image-container"> </div>Forum: Themes and Templates
In reply to: Problem With WP-PageNavi Plugin On P2 ThemeDid you add
<?php wp_pagenavi(); ?>somwhere in your theme’s footer.php file?
Forum: Themes and Templates
In reply to: Header Toggle On/Off: How do I change the starting position?Did you manage to figure it out? Who is the author of the plugin for that functionality (if it is a plugin)? Maybe he/she has some instructions on initial settings.
Forum: Themes and Templates
In reply to: Newbie to wp and php – Comment form where is it?Hi, mvaa, I’m so sorry for the delay in replying. Got caught up in Labor Day festivities yesterday. 🙂
OK, so I was wrong in an earlier post I wrote. It looks like the comment form has been changed in WordPress 3.0 (hey, I learned something new today). Instead of editing the form directory, WordPress has made it more unified and controlled using the <?php comment_form(); ?> function. To modify the comment form, you have to do so through this function.
So, open up functions.php and place this code there, before the last “?>”:
<?php comment_form(array( 'fields' => apply_filters( 'comment_form_default_fields', array('url' => '')))); ?>This example removes the URL field. What field(s) do you want to remove? You can remove ‘author’, ’email’, ‘url’, ‘comment_field’
Forum: Themes and Templates
In reply to: Newbie to wp and php – Comment form where is it?OK, first of all, there is no need to modify the core WordPress files. Files in the in wp-includes/ folder should never be modified. The only files you should ever modify will be in the folder wp-content/
The WordPress Dashboard theme editor lets you edit any theme files that are in the root folder of that theme. Your theme may have additional functions that are in sub-folders in your theme’s main folder, and thus inacessible via the WordPress Dashboard.
You can access these files using any FTP program. You would download them to your computer, open them in a text editor like Notepad or Dreamweaver, etc, make your edits and then re-upload. Do you have access to an FTP program?
What theme are you using? If it’s freely available, I could download the theme myself and look for the exact file you need to edit.
Forum: Themes and Templates
In reply to: Updating wordpress reverts Twenty-Ten… great…The child theme’s functions loads before the parent theme’s functions, which is what you want, because that leads to the “override”. Child themes are like masks over the parent theme. You can leave all or part of the parent theme “uncovered.”
Forum: Plugins
In reply to: [Query Posts] [Plugin: Query Posts] Show specific ID doesn't workIt’s definitely a bug. Hopefully Justin fixes it in the next version! 🙂
Forum: Themes and Templates
In reply to: Different link colors in one div classTry adding !important; after the color for the .homepostcat1 a:link, a:visited, a:active color. So it would be like this:
.homepostcat1 a:link, a:visited, a:active { color: #9f4141; text-decoration: none; }Forum: Themes and Templates
In reply to: how do I make the page title invisible in 2010?Yes there is a simple way to do this. In your style.css, find the following code (around line 567):
#content .entry-title { color:#000000; font-size:21px; font-weight:bold; line-height:1.3em; margin-bottom:0; }After margin-bottom: 0, add:
display: none;
That should fix it. Go back and add the titles to the pages in the Dashboard. The titles will not show up on the pages, but they will still display in your RSS and browser top bar.
Forum: Themes and Templates
In reply to: Place static image below header, above top post?The query and accompanying loop would be something like this:
<?php //refer to http://codex.wordpress.org/Template_Tags/query_posts for a list of arguments to include in your query. Replace "cat=1" with the ID of the category(ies) you want to display posts from. $myQuery = new WP_Query('posts_per_page=1&cat=1'); if ($myQuery->have_posts()) : while ($myQuery->have_posts()) : $myQuery->the_post();?> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_the_post_thumbnail();?></a> <?php endwhile; endif; ?>I haven’t tested it but try it out and see if it works. Add the code to wherever in your template that current image displays.
BUT WAIT: There is nothing wrong with using sticky posts though, that’s kind of what they’re for. You can just hide the date and post metadata using CSS, just set those divs to display: none.
Forum: Themes and Templates
In reply to: Place static image below header, above top post?Is this image going to change periodically or do you want it to be truly static (not changing and/or linking to any post)? Because for the latter, you could just create a div in that area and set its background to the static image.
For the former case, you could make use of the_post_thumbnail() and write a custom query (loop) that retrieves posts from a category that you set and displays only the thumbnail for that particular post. Then make sure you set “featured image” when writing a post, assign it to the categories you chose and the image should show up in that spot.
Forum: Themes and Templates
In reply to: I can't get the logo to become clickable. helpLooks like you figured it out? 🙂
Forum: Themes and Templates
In reply to: Header Toggle On/Off: How do I change the starting position?So to clarify, you want the bar to be open by default, and then users can click to close it? Seems like all you need to do is change the “var opened = false;” to “var opened = true;”. It’s in line 2 of this bit of code:
<script type="text/javascript"> var opened=false; window.onload = function() { resizeDivHeight = new fx.Height('navigation',{duration:2000}); }; function toggelopen(){ if(opened==false){ resizeDivHeight.custom(0, 200);//First Number is starting height, Second is ending height. opened=true; }else{ resizeDivHeight.custom(200, 0);//First Number is starting height, Second is ending height. opened=false; } } </script>Try it and see if that works…