charles_i
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Why is the_date() showing 2010?That did it. Thanks!
Forum: Fixing WordPress
In reply to: Page Permalink does not show html extensionExcept that it works on my localhost setup – I see ‘about.html’ in Pages, but not on my server. There must be a difference, but I can’t find it.
Forum: Themes and Templates
In reply to: How do I display Posts to a specific PHP page?Furthermore you can’t use a name like blog or WP will default to it’s own template and give weird results i.e. even when I renamed single.php single3.php it defaulted to that file and when I removed single3.php I discovered WP bypassed my blog.php file for its own template – as soon as I named the file something else it worked.
Forum: Themes and Templates
In reply to: How do I display Posts to a specific PHP page?After a lot of experimentation naming and renaming php pages and seeing what loads I have determined that…
…the only way to assign a Page created in Pages to display posts is to turn Set Posts page OFF (- select -), otherwise it will use the Posts will use the hierarchy. Assigning a named page in Set Posts page will fall back to using index.php, page.php or single.php instead of a page created in Pages.
Forum: Fixing WordPress
In reply to: How do I exclude certain pages and bullets from the sidebar?Answered one of my questions – remove bullet points does work in my style.css
list-style: none;
Forum: Themes and Templates
In reply to: custom header image – division by zeroI’m trying to make my own theme. I’ve used the header code from the “Classic” theme and this in functions:
define(‘header_image’, ‘%s/images/header.jpg’);
define(‘header_width’, 576);
define(‘header_height’, 131);function header_style() { ?>
<style type=”text/css”>
#wp_header {
background: url(<?php header_image(); ?>) 0 0 no-repeat;
height: <?php echo header_height; ?>px;
width: <?php echo header_width; ?>px;
}
</style>
<?php }
function header_style() { ?>
<style type=”text/css”>
#wp_header {
background: url(<?php header_image(); ?>) 0 0 no-repeat;
height: <?php echo header_height; ?>px;
width: <?php echo header_width; ?>px;
}
</style>
<?php }Trying to make it as simple as I can.
Forum: Fixing WordPress
In reply to: changed blog address and xampp login won’t work on localFixed it myself – went into the database and in wp_options I changed the siteurl from https://localhost/wordpress/index.html – back to https://localhost/wordpress/
Don’t ever do that!
Forum: Fixing WordPress
In reply to: changed blog address and xampp login won’t work on localForgot to add, I tried removing the .htaccess file but I still get the same result – can’t figure out where it’s getting the name of my theme for this login page – it must have written it into WordPress somewhere.
Forum: Themes and Templates
In reply to: How does index.php differ from pages.phpOK thanks. So if index.php is the only page it will display every page, but if there is a page.php for all other pages, index.php will display the home page – like a regular (non-blog) website. So, is the page specified in Blog address (URL) (in Settings) what determines what will appear in index.php? You couldn’t just determine it with just the name “home” in Pages.
Forum: Themes and Templates
In reply to: How do you add a URL to a page?Found the problem. Permalinks was set to “default”.
Thanks for your help!
Forum: Themes and Templates
In reply to: How do you add a URL to a page?Thanks but when I’m in the “Edit Page” screen, I see the “autosave” info right underneath “Edit Page” – then the page title input – then the content window with the visual/html tabs for the page content – no permalinks displayed. Under that is “Custom Fields”
Forum: Themes and Templates
In reply to: How do you add a URL to a page?The page already exists – sorry I don’t see the permalink under the page names – where do I turn it on? In Settings it just has, “Default” “Day and Name” etc. No enable or disable option.
Also, why do I keep getting this when I go into the page I’ve created: “There is an autosave of this page that is more recent than the version below. View the autosave.” I haven’t changed anything.
Forum: Themes and Templates
In reply to: CSS does not show upThanks it was a simple refresh problem.
Forum: Themes and Templates
In reply to: Theme not appearing in Dashboard“Put the default theme back and see if it starts working..” that did it. Thanks!