pifpafpuf
Forum Replies Created
-
Forum: Installing WordPress
In reply to: How to use Static Front Page Plugin???Write a page with title home and it will show this page as your home page. Try to use the url “?cat=-0” to make a link to your “normal” blog.
Forum: Plugins
In reply to: pageHome — plugin to make one WordPress page the front pageAnd which WordPress PAGE appears when you navigate to your blog without any query in the URL?
The point is that home.php should have identical design to either index.php or page.php. If I have a WordPress PAGE to be shown by default, than the design should be identical to page.php, but different from index.php. This is what won’t work.
Forum: Fixing WordPress
In reply to: site review, please?Nice design, the colours go well together. Only the white text on the dark background is a bit hard to read, so you should better not have really long articles.
I have this habit of running my browser with a width of 800 or less pixels. Consequently I am always happy if a website tries its best to accomodate. Yours needs more than 950 pixels width for the horizontal scrollbar to disappear.
Nothing to worry. If the artistic effect is important to you, there is no way to shrink things. If however you prioritize usability, you may want to think about the width.
Forum: Plugins
In reply to: pageHome — plugin to make one WordPress page the front pageIf you have a special page.php to show pages (as opposed to posts), you want this template of course also be called for the front (home, default) page. You could copy the code to home.php or just soft-link home.php to page.php, but then you cannot easily have the list of posts, i.e. the usual (normal) blog, displayed with a different template, because home.php is picked up before index.php according to http://codex.wordpress.org/Template_Hierarchy.
Forum: Themes and Templates
In reply to: How do I create a new template file?When you look into wp-includes/template-functions-general.php you find a function called get_sidebar(). You will not, however, find a function get_navigation(), so your approach will not work.
I am no completely sure about the benefits of the implementation of get_sidebar(). To get your navigation going, you either copy that implementation or you simply do an include(“navigation.php”).
There is als something like require(“…”) or include_once(“…”) (or the like). Check the php manual at http://uk2.php.net/manual/en/function.include.php for the details.
Forum: Fixing WordPress
In reply to: Front page content display understanding – need clearupAFAIK, when you delete it its gone. The categories are only a different way to get to a certain post. Another way is by date. Don’t think of a category as a bag or box that contains things, rather think of labels that can be attached to posts.
The front page only shows a couple of posts, then links appear that lead to earlier posts.
Harald.
Forum: Fixing WordPress
In reply to: Created home.php, but no effect is seenI might be misunderstanding your question, but: if you completely empty home.php and then only put
blarg
will you then see blarg in your browser when navigating to your site?
Forum: Plugins
In reply to: pageHome — plugin to make one WordPress page the front pageUuuumpf, just after posting I decided to rearrange the nesting level of my pages. Sorry for that. I need to get around to understand what the best permalinks are. Now we try again:
Forum: Everything else WordPress
In reply to: auto zipping and delivering the theme as currently usedNo Windows, but this is not the point. I want a URL within WordPress that runs code to pack and deliver the theme directory when clicked. I think I could find the PHP code to use zlib, pack the stuff and dump it to the output, but this would result in garbled web-pages. I think what I need is to change the mime-type from text/html to something like application/zip. But where would I do this with PHP in WordPress?