jwesseldyke
Forum Replies Created
-
Forum: Plugins
In reply to: link to archives in non-widget aware themeOK… To answer my own question and confirm my own solution…
Yes, that was the answer. Not quite sure why I didn’t think of it earlier.
Create a page, use archives.php as the template.
Forum: Plugins
In reply to: link to archives in non-widget aware themeI think maybe I wasn’t clear in my original post. Staring at code erodes my brain…
The theme I’m working with is not widget aware, so I’m creating static links to pages, and I’m using a static page (write->page) as my home page. If I were using the latest posts as my home page there would be “previous” links dynamically created.
I’m trying to figure out how to create a static link to a page that has a list of posts (or excerpts) and figured archives.php is the way to do that.
My confusion is that I don’t know what to link to…
I may have just answered my own problem…
Perhaps the solution is to make archives.php a template file with a different name and create a page using that template file?
J
Forum: Plugins
In reply to: static/dynamic page with 2.7 with query_posts & category_name=OK… I found the solution, in this case, anyway…
I changed:
<?php query_posts('category_name=faith-reformed-news&showposts=3'); ?>
to:
<?php query_posts('category_id=3&showposts=3'); ?>
Seems to have cleared up the issue…
Forum: Plugins
In reply to: static/dynamic page with 2.7 with query_posts & category_name=Thanks for the reply, Michael…
Looks like a similar issue to my non-expert eye, but it looks like he’s using a different method to query posts… He’s also using cat #’s… Whether or not it’s the same thing I can’t tell…And in either case, it looks like that issue is unresolved… ??
Forum: Fixing WordPress
In reply to: Error while pulling category post in static pageThanks for your response…
I added the definitions for .post p and p… So the initial thing was trying to figure that out… Thanks for explaining it…
So how does that impact my pulling the category post instead of, say, the text on a page (write -> page)?
Forum: Themes and Templates
In reply to: Hard return doesn’t put extra space between paragraphsOK… So I had to print out the php files in question to find the difference… I STILL don’t understand why it’s coded like this or why the code makes it work… But that’s irrelevant I guess… Here’s the snippet that made it work correctly…
<?php if (have_posts()) : ?> <?php $x = 0; ?> <?php while (have_posts()) : the_post(); ?> <?php if($x = 0){ ?> <?php $x++; ?> <?php }else{ ?>
Then the post information… Then…
`<?php } ?>
<?php endwhile; ?>`Maybe someone can splain it to me, maybe it’s just not important, but that was the solution…
Thanks again, Moshu for your help.
JForum: Themes and Templates
In reply to: Hard return doesn’t put extra space between paragraphsOK… I’m getting closer…
The index.php file seems OK… It’s the individual page and post pages that are causing problems… Back to the drawing board.
Forum: Themes and Templates
In reply to: Hard return doesn’t put extra space between paragraphsI read the link, thanks you… Very informative…
But, no, it uses the same div… right and post… Exactly the same as the posts… So I’m still playing detective…In fact, now I went back to look at the post pages to see if there was a difference that I missed beyond the obvious… And even the post pages are back to the same thing with no extra margin space between p’s…
Grr…
Forum: Themes and Templates
In reply to: How do i delete the standard ‘home’ tab in a theme?Oops… That’s what I get for trying to help even though I’m a noob…
lemme try again…
Find the following…<ul> <li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li> <?php wp_list_pages('depth=1&title_li='); ?> </ul>
Remove
<li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li>
Forum: Themes and Templates
In reply to: Hard return doesn’t put extra space between paragraphsThanks, sorry if it was a double post — to me it was different only because your solution worked in posts and not in pages…
I’m still not sure why it does in one scenario and not in the other…
Forum: Themes and Templates
In reply to: How do i delete the standard ‘home’ tab in a theme?Forum: Themes and Templates
In reply to: Hard return doesn’t put extra space between paragraphsWow… Thanks… The CSS file does seem much different than others I’ve played with…
I appreciate your help, and feel compelled to let you know that the site in question is not my site and that’s why it’s not listed in my profile… I’m just a volunteer helping out a church…
Anyway, thanks again for the help…
JForum: Themes and Templates
In reply to: Hard return doesn’t put extra space between paragraphsGood point…
here’s the link…sarah.asmallorange.com/~frmp
Thanks again for your help, look at your convenience
Forum: Themes and Templates
In reply to: Hard return doesn’t put extra space between paragraphsthat’s what I’m searching for… I’m sure it’s a margin issue, but I can’t find the correct margin value… I know p is what breaks the lines, just don’t see anything that says “p margin=0” or anything such…
changing ‘line-spacing’ spreads out all the lines of text but not between paragraphs… That was one of my incorrect guesses… ??
So it turns out the idiocy is inclusive of both the author and the guy editing the life out of the template… ??
Thanks for your help…
JForum: Fixing WordPress
In reply to: read more breaks themeThanks for the reply…
Here’s the “error” in action…
Without the third entry with more, the page displays correctly. As soon as I add the more tag to the 3rd entry it breaks…
J