oturia
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Need to make top navigation bar go across entire siteThe stylesheet is giving that div 30pixels of padding on the top from when it used to need to sit below the search bar. Look in your css file for this:
#top-navigation { padding: 30px 0 0; }And change the 30 to 0.
Forum: Themes and Templates
In reply to: Add a UL of child pages?How about this:
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Themes and Templates
In reply to: link next post, i need change link title nameOops. Change all of this:
<?php $prev_link = get_previous_post_link('« %link'); $next_link = get_next_post_link('%link »'); ?> <div class="navigation"> <div class="alignleft"><?php echo $prev_link; ?></div> <div class="alignright"><?php echo $next_link; ?></div> </div>To just this:
<div class="navigation"> <div class="alignleft"><?php previous_post('« « %', 'Previous Post', 'no'); ?></div> <div class="alignright"><?php next_post('% » » ', 'Next Post', 'no'); ?></div> </div>Forum: Themes and Templates
In reply to: Hide Page from logged out usersYes. People who are logged into WordPress will be able to see it on the front end.
Forum: Themes and Templates
In reply to: link next post, i need change link title nameAll you need to do is change the content in between (‘ ‘) section in the first section:
<?php $prev_link = get_previous_post_link('Previous Post'); $next_link = get_next_post_link('Next post'); ?>Let me know if that works.
Forum: Themes and Templates
In reply to: Hide Page from logged out usersAre you using a WordPress list function to list out your pages or are you listing them manually?
The easiest way to do it would be to open the page in the page editor, look to the right hand side under “Publish”, and change the “visibility” from public to private.
Forum: Themes and Templates
In reply to: Twenty Ten Header Image modificationOK, this can be done but it’s not a simple fix.
The core functionality of the header image rests in the header.php file:
<?php // Check if this is a post or page, if it has a thumbnail, and if it's a big one if ( is_singular() && has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) && $image[1] >= HEADER_IMAGE_WIDTH ) : // Houston, we have a new header image! echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); else : ?> <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /> <?php endif; ?>Without messing around in the functions file, this would be the easiest place to wrap an
<a>in there. I don’t really know how your blog is set up, else I might be able to help more, but this would be able to at least get you started in the right direction.Forum: Themes and Templates
In reply to: Need to make top navigation bar go across entire siteIn your CSS, you have the header split into two sections:
#top-left
#top-rightEach one of those div’s are set at a fixed width and are floating left.
You should look in the header file as esmi stated, find the code that starts with:
<div id="top-navigation">
And copy everything within and including that div and move it below the #top-right div content but while still within the #top div. You may also need to play with the clearing on that div and the margins after you’ve moved it below the top right div.Does that make sense?
Forum: Themes and Templates
In reply to: The pictures are mssing at the footerEsmi is correct. Right now your images are pointing to pages rather than an image file.
For the first, the img src is pointing to the about us page. You would need to put a fully-qualified url in here that links to your image:
<li><a title="Insured Life of Georgia — About us" rel="me" href="/aboutus" class="mainlevel-bottom"><span><img title="Insured Life of Georgia — About us" alt="About Us" src="http://www.insuredlifeofgeorgia.com/aboutus.jpg"></span></a></li>Right now, the image src only reads:
http://www.insuredlifeofgeorgia.com/aboutusIt appears correct in Firefox because it’s loading the alt text assigned to the image, not the actual image itself.
Forum: Themes and Templates
In reply to: Add a UL of child pages?Yes, though you may want to add the child pages to the array. You don’t have to list the same page twice, just list the array of page ids or names you want it to show on.
<?php if ( is_page(array('webshop', 'Kassa', 'Varukorg', 'etc'))){; ?> <?php wp_list_pages('child_of=9&title_li='); ?> <?php } ?>That should do the trick. let me know if it doesn’t.
I think the smartest way to do it would be to insert some code into the stylesheet to control the look and feel of that particular unordered list.
Unfortunately, the answer to your question is a bunch of lines of code, code that would need to be placed at the bottom of your current stylesheet.
If you are just looking for a basic adjustment, this will remove the bullet points, the indent and update the font size and color of the lists in your sidebar:
Open your Admin Dashboard. Go To Appearance >> Editor. Scroll down to the bottom of the page under “Styles” and you will see a Stylesheet with the filename of style.css.
Click on that file, scroll all the way down to the bottom of the theme file, and add this snippet of code:
#main .widget-area ul ul {list-style:none;margin-left:0px;font-size:16px;} #main .widget-area ul ul li a{color:#235570;}A word of caution: These are the themes core files, so be careful editing stuff in here. Keep a back up in case you need to reload the theme.
This code is just a quick snippet to help clean up the list. You can add it, and if you don’t like it, erase it and save the file again and it will go back to where it was before. I haven’t tested it but it should do the trick if you add it to the bottom of the stylesheet.
Beyond that, WordPress Publishing is great for the just about everyone, but if you are not at least partially versed in CSS, styling themes is going to be extremely difficult for you and I’d recommend looking to hire someone for it.
Forum: Themes and Templates
In reply to: Help Installing Theme into WordPressClassic and Default themes are no longer the standard themes that come with WP as of Version 3. It now only comes with Twenty Ten.
A few questions:
- Is this a fresh install of WP or an older install that you’ve recently upgraded?
- Next to the tab for “Manage Themes” is there not a tab to the right that says “Install Themes”?
- What is the name of the theme listed under “Current Theme”?
Forum: Themes and Templates
In reply to: Twenty Ten Header Image modificationSo you want the header image to link to the larger version of that image?
Do you have a different image on each page/post or is there just one instance of what you are trying to accomplish?
Can you post a link for us to check it out?
Forum: Themes and Templates
In reply to: link next post, i need change link title nameAre you using the Twenty Ten theme or a different theme? Could you post a link to the site for us to take a look?
Forum: Themes and Templates
In reply to: Add a UL of child pages?I haven’t heard back, so I’m going to take a guess at what you’re trying to accomplish.
You can take the code you already have in place, based on your other post from yesterday:
<div id="page-list"> <?php wp_list_pages('child_of=9& exclude=539,540 title_li='); ?> </div>Then wrap it in a conditional statement that checks to see if you are currently on that page or one of it’s children. An example that may work would be:
<?php is_page(array(42,'Murmelins-Parent-page','Murmelin's Parent Page')){ ; ?>Then insert your list pages query, and close out the conditional statement with:
`<?php } ?>
I haven’t tested this code, but in theory it accomplishes what I understand your goal to be. If this doesn’t work, post back a link to your site and some more details and we’ll see if we can help.