jaywalker
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Show favicons AND link description in BlogrollHi everyone. I fixed the problem with the help of a friend and posted a workaround here. I hope it will help some of you to fix the problem.
Greets
JayForum: Themes and Templates
In reply to: Show favicons AND link description in BlogrollHey Otto, thank you for giving me idea with this function wp_list_bookmarks(). Now I can display the image and the description at the same time. That’s 90% of what i want. There is no link for the description but i can live with that.
Thank you very much!
JayForum: Themes and Templates
In reply to: 1 post on front page onlyHallo Unveiled! I’m sorry for my delayed answer. I didn’t think anyone would still answer to my post.
However: Yes, your post helps!! I have just changed the code to your suggestion and now it works!!!
So it was ‘cat’ instead of ‘category’. Oh my…Thanks a lot, Unveiled!
JayForum: Themes and Templates
In reply to: 1 post on front page onlyAn update and new problem to this case: It works fine now to only display the one latest post on the front page with
<?php query_posts(‘posts_per_page=1’); //returns only the front page ?>
added in the home.php page right before the loop. However, I would like to display the latest post of ONE category only. Suppose I’ve got 5 categories and only want the latest post of category 1 to appear on the front page. How do I do that?
Changing the code to<?php query_posts(‘category=1&posts_per_page=1’); //returns only the front page ?>
did not help. Neither did ‘category=categoryname’. Does anybody know the solution?
Jay
Forum: Themes and Templates
In reply to: 1 post on front page onlyYou are 100% right. That was exactly the problem. It works now. Thanks so much, ifelse, for your great help today!
Forum: Themes and Templates
In reply to: 1 post on front page onlyhttps://www.leidartikel.de/wordpress/
When you click on the column title “Leidartikel” the page that appears contains 1 article, the way it should be. But the front page doesn’t…
Forum: Themes and Templates
In reply to: 1 post on front page onlyifelse, after including the query_posts there is no more post on the front page at all. What to do?
Forum: Themes and Templates
In reply to: 1 post on front page onlyHold on. There is a mistake. The content on the front page is missing after I’ve put in the query_posts command. How come?
Forum: Themes and Templates
In reply to: 1 post on front page onlyHey, that seems to work!
Thanks a lot ifelse for your great help!Forum: Themes and Templates
In reply to: 1 post on front page only<i>No need to apologise:-) WP has a number of special files that it’ll look for in a theme.</i>
Aaaah!! Finally there is this page I’ve been looking for so long. Thanks ifelse! I was blind but now I can see. ??
I’m using Version 1.5. Does that make a difference?
Forum: Themes and Templates
In reply to: 1 post on front page onlyI 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()”?
Forum: Themes and Templates
In reply to: 1 post on front page onlyThank you for your great reply, guys!
@ Jinsan: You suggested correctly. The link you’ve posted dealt with the very same problem as I had. Still, as I am a PHP-idiot, I didn’t quite understand the answer…
@ ifelse & Kafkaesqui: Very nice of you to write a post just for my case. Thanks a lot!
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? Sorry, I’m a bit confused…Forum: Themes and Templates
In reply to: 1 post on front page onlyVery sorry i accidentally double-posted this forum topic. I had deleted the old one if I could…