kill-switch413
Forum Replies Created
-
Taken From http://codex.wordpress.org/Pages
What Template is used to Display a Particular Page?
WordPress will look for several template files in your active Theme. The first one it finds will be used to display any given Page. WordPress will look for files in the following order:-
1. The Page’s selected “Page Template”
2. page.php
3. index.phpCheck to see if you selected a template file by mistake.
Another option might be the large text pushing the sidebar out of div forcing it down. Or maybe how the image is displayed. Try bring your content width down maybe by a few pixels also. Try 5.
You could create a Template file just for you blog to correct the issue also, as it’s just that page that is offending.
Creating Your Own Page Templates
The files defining each Page Template are found in your Themes directory. To create a new Custom Page Template for a Page you must create a file. Let’s call our first Page Template for our Page snarfer.php. At the top of the snarfer.php file, put the following:<?php /* Template Name: Snarfer */ ?>The above code defines this snarfer.php file as the “Snarfer” Template. Naturally, “Snarfer” may be replaced with most any text to change the name of the Page Template. This Template Name will appear in the Theme Editor as the link to edit this file.
The file may be named almost anything with a .php extension (see reserved Theme filenames for filenames you should not use; these are special file names WordPress reserves for specific purposes).
What follows the above five lines of code is up to you. The rest of the code you write will control how Pages that use the Snarfer Page Template will display. See Template Tags for a description of the various WordPress Template functions you can use for this purpose. You may find it more convenient to copy some other Template (perhaps page.php or index.php) to snarfer.php and then add the above five lines of code to the beginning of the file. That way, you will only have to alter the HTML and PHP code, instead of creating it all from scratch. Examples are shown below. Once you have created the Page Template and placed it in your Theme’s directory, it will be available as a choice when you create or edit a Page. (Note: when creating or editing a Page, the Page Template option does not appear unless there is at least one template defined in the above manner.)
Forum: Themes and Templates
In reply to: theme CSS issuesdouble post, sry
Forum: Themes and Templates
In reply to: theme CSS issuesLooks fine for me, IE7
Forum: Themes and Templates
In reply to: Make the background transparent – Mystique ThemeSmall note. Your background-image is 250kb. Over time the bandwidth will add up if your site gets lots of hits.
Forum: Themes and Templates
In reply to: Changing link colorYou can add those lines of code to your css stylesheet. Should do the trick.
Your links are defined by
body, a {
color:#000033;
}Which applies it to the whole body. You can change the color. Or even add the other link classes to the body, like this.
body, a:active a:visited a:visited{color:#222;} body, a:hover {color:#333;text decoration:none;}I just used random color’s and class values, it may need to be tweaked. But I’m confident thats your code.
Forum: Themes and Templates
In reply to: Changing link colorhttp://chibird.com/wp-content/themes/constructor/style.css
a:link {color:#CD6889 } a:visited {color:#CD6889 } a:hover {color:#EED5D2} a:active {color:#CD6889 }This was taken directly from your stylesheet. The active, visited and hover states are pretty self explanitory.
also may want to consider this
a:link ,a:visited ,a:hover, a:active {outline:none;text-decoration:none;} a:link {color:#CD6889 } a:visited {color:#CD6889 } a:hover {color:#EED5D2} a:active {color:#CD6889 }hth
Oh and, don’t forget that link classes inside of Div are not changed.
Example
#Footer a{color:#E4E4E4;}Forum: Everything else WordPress
In reply to: How To Contact A PhotographerIf the images was a straight copy from the original, you should be able to retrieve this data. EXIF Data as it’s refererred to is stored in the top section of the image, much like the header info in html.
http://en.wikipedia.org/wiki/Exchangeable_image_file_formatgetting down to it, Save the image to your desktop, right click, and view properties.
The author should be filled out if the photographer did it correctly. If not you’ll see a create by, or something along those lines.
got a link for us, by any chance?
HTH
Forum: Fixing WordPress
In reply to: Page name displays as ?page_id=8is your url showing just as http://www.sitename.com/?page_id=8 ?
Just to clarify your post.
Try just entering /%category%/%postname%/%page_id%/ for the custom. Just to see if that works. Or any other combination.
Forum: Themes and Templates
In reply to: editing through puttyWell the background color can be set via the theme options in the Dashboard.
Appearance>Theme Options
As far as how it’s all controlled. (grab a coffee/break), as I understand it.
In the functions.php – At lines 588-598 see this code?
<?php } function neutica_wp_head() { ?> <link href="<?php bloginfo('template_directory'); ?>/colors.php" rel="stylesheet" type="text/css" media="screen, projection" /> <?php } add_action('wp_head', 'neutica_wp_head'); add_action('admin_menu', 'neutica_add_admin'); ?>This is what is called from the color.php in this code.
<?php require_once( dirname(__FILE__) . '../../../../wp-config.php'); require_once( dirname(__FILE__) . '/functions.php'); header("Content-type: text/css"); global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?>Not too sure, but I think the php has a higher heirarchy than the css stylesheet.
Maybe someone can clarify that for us. I’m new to wp theming. Been doing phpbb3 for the last little bit. 🙂
Forum: Fixing WordPress
In reply to: Host nameAs James said, you’ll have to contact your provider.
For instance:
If your domain name is hosted with “Go Daddy”, and your website is hosted by “Host Gator”. You’ll ahve to get the DNS Name Server from “Host Gator”, and then input those addresses into go Daddy’s admin panel.So when you type the url of “yoursite.com”. The url actually will then point to your server. “n23.hostgator.com” lets say.
However most hosting places I usually deal with include the domain register with the hosting services.
So check with your hosting provider first. I only have one site with the first method.
Hope that clears the process up. ( I was thrown a website at me also, years ago though)
Forum: Themes and Templates
In reply to: editing through puttyOhhhhhh!!!! pepper, I’m sorry. i though Putty was a theme. Not to be used as a backend. Silly me.
What theme are you using?
Forum: Themes and Templates
In reply to: editing through puttyWell yes, if in your style.css, you have a
@import css/color.css(something like that) at the top, then it will override your colors set in your style.cssThanks for the link, I’ll takea look and see what I can find.
Forum: Themes and Templates
In reply to: editing through puttyTry via the ftp method. I never rely on the web based way of doing it.
Also, look for xampp
Basically can run a wordpress site from your hard drive and eliminate the uploading. Just tinker with the file locally till you get the results you wish then upload one final time.
As for your code snippet. It should work, from what you have there. I’ll download putty and take a look.
***Edit, can’t find “Putty” got a link to the download?
Forum: Themes and Templates
In reply to: editing through puttyYou don’t really need to look for another forum. you need to get your knowledge of css up. All the information already exists in your current css file(s).
If you need some help, post your css files code here, and your question. We’ll point you in the right direction so you’ll at least start to see the pattern evolve.
Many people come here looking for these questions and do not take the time to learn css, I highly suggest you do. It will make your theme coding go that much smoother.
Forum: Themes and Templates
In reply to: editing through puttySorry pepper, you’ll have to be more exact as that is a pretty vague answer.
What exactly, as ClaytonJames stated, are you trying to do. Site url would be handy also for us to provide you with any real help.
Might also be a good time to venture over to the html/css tutoirals over at http://www.w3schools.com/ or by using Google.