ifelse
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Admin area styles/layoutsI’m currently using it now and I have to say, it looks fantastic!
Macmanx, do you still have the thread where Joe Kohlmann first announced it?Forum: Everything else WordPress
In reply to: Need the name of these official wordpress fontThe font is Dante by Ron Carpenter. Be aware that it is a commercial font and will need to be purchased.
Forum: Themes and Templates
In reply to: Blockquote not working in comments – wp 1.5“I would imagine that this is because blockquote is deprecated, and no longer part of HTML spec.”
That’s incorrect. Using blockquotes to ident text is deprecated in favour of stylesheets but the tag/element itself is not deprecated. It’s still in the XHTML specs and DTDs.With regards to the OP: Your blockquotes in the comments are “not working correctly” because you don’t have a styling defined for them in the style.css You do, however, have a style for
.post blockquote{...}Either remove the .post or add an appropriate style def.
Forum: Themes and Templates
In reply to: 1 post on front page onlyThe if/endifs and while loops haven’t been been properly closed. You’re probably after something like this (There’s been a quick attempt to fix your code made but no promises).
BTW, in future, for large code chunks, could you stick it in a text file and include a link or use this site. If you could edit your post to do this, it’ll be much appreciated by everyone here:-)
Forum: Themes and Templates
In reply to: 1 post on front page onlyNo problem. Glad I could help:-)
Forum: Themes and Templates
In reply to: 1 post on front page onlyCan you check that the post has some content? That particular post (the latest one) when viewed individually appears to be devoid of content.
Another randomly chosen post appears fine.
Forum: Themes and Templates
In reply to: 1 post on front page onlyDo you have a link?
Forum: Themes and Templates
In reply to: 1 post on front page onlyI’ve done everything your post says to do, but no joy yet.
That’s because the Benevolance theme uses the old WP1.2 method of retrieving posts i.e. instead of
if (have_posts()) : while (have_posts()) : the_post(); ?>
it uses
foreach($posts as $post) { start_wp();Hence, the_loop will need to be modified to the new WP1.5 way of doing things before you can use this technique.
Forum: Themes and Templates
In reply to: How do I do thisDo you have any tip of system to use for my static pages and sidebars?.
Static pages are a new functionality in WP 1.5 and are called “Pages”. These hold content which are time-independent yet can also be categorised.Likewise, the new theme system should allow you to segregate sidebar content and automatically pull back these pages.
Forum: Themes and Templates
In reply to: Rin Flavor“Or the kiss lips as a watermark effect to the upper left corner of the blockquote or the lower right corner – going with the “sealed with a kiss” kind of theme in the blockquote.”
Good idea! You can use a miniature version of the ones in your header logo and set that as a background for the blockquotes in your css.Forum: Themes and Templates
In reply to: How do I do thisGood post Lorelle. WP is a good system but I would always advocate choosing the right tool for the job. That said, depending on the scale of the site, it is possible to leverage the new Pages functionality to do what you have in mind. Simple write a page for each product.
However, I would suggest having a look for another system which would be a better fit for what you have in mind.
Forum: Themes and Templates
In reply to: 1 post on front page only“I’m using Version 1.5. Does that make a difference?”
Nope, what you have is fine. WP 1.5 is what’ll you’ll need:-) All you have to do is make the call to query_posts before you go into The_loop.Forum: Themes and Templates
In reply to: 1 post on front page only“I don’t have a header, footer or sidebar. I have made it all into one page. How do I alter ifelse’s code then? Leave out get_header()?”
Which version of WP are you using? 1.5 or 1.2?Forum: Themes and Templates
In reply to: 1 post on front page only“Please excuse my PHP-ignorance, but how do I tell WordPress that the front page is called “Home” and what the names of other pages are?”
No need to apologise:-) WP has a number of special files that it’ll look for in a theme.One of these is a home.php. If you have a file called home.php in your themes directory i.e. /YOUR_BLOG/wp-content/themes/THEME_NAME/home.php
then that’ll be used for the home page. If you don’t have one, you can copy the index.php and rename it to home.php. All you then have to do is call query_posts(‘posts_per_page=1’); as I’d shown on the post.
If you place a link to your blog or let us know what theme you’re using, it may be a bit easier for us to describe specifically what you need to do.
Forum: Themes and Templates
In reply to: Menu forced into content areaGood suggestion Root. All the elements are properly closed now according to the W3c validator.
BTW, Jinsan, I have to say that the design is looking really good.