devan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress Stats stopped working after 2.8.4Good advice, DJAllyn, but I’ve got <?php wp_footer(); ?> in there just before the </body> tag.
Incidentally, I’ve since installed a 2.8.3 version, just to see, and stats are still not working. So you’re onto something with it not being WP 2.8.4.
Forum: Fixing WordPress
In reply to: WordPress Stats stopped working after 2.8.4I’m having a similar problem. I didn’t use auto-update, though, and I haven’t got the 500 error.
Also, when I check my stats at WordPress.com, they report no hits since the upgrade. (The server logs report just as many as usual.)
Forum: Themes and Templates
In reply to: Make blog home page a single-post pageThanks very much everyone. After much review, I decided to go with my original option 2 (expanding the loop). I liked the idea of going with static content, but for two things: first, not everyone who will be updating this site is HTML-savvy (the two of us running it right now are fine, but we’re hoping for some guest posters somedaya€|), and, second, I want to allow for drastic reskins in the future, and database-driven content seems like the best way to do so.
Here’s the site:
https://www.oneblogtwoblog.com/
By way of context, some of the things that are different for each post are the motto at the top (currently “Bringing new lifea€|”), the header photo, the volume and issue information, and the color that you see throughout (the brown one on borders, buttons, links, etc.).
Thanks again.
DevanForum: Fixing WordPress
In reply to: Always show p=n in URLI’m interesting in something related to this, I think. I basically want my index page to be allowed to use some of the logic that you can use on single.php pages.
Put differently, my index page will always show exactly one post, and I want to be able to use single_post_title() and other similar features outside The Loop on that page.
I have information unique to individual posts scattered throughout the page (per-post stylesheets, per-post banner images, etc.) and I’m trying to figure out how to use some combination of custom fields and single-post queries to show it all.
I guess worst case I could just expand the loop to begin before my
<title>
tag and end after the last per-post element I have…is there a better way?Forum: Fixing WordPress
In reply to: Comments shown by default in 1.0?Thanks so much, GamerZ
Forum: Fixing WordPress
In reply to: Comments shown by default in 1.0?Anybody have any idea why this might be happening? Or even where I might look to fix it? Where in the WP code does it test (or should it be testing) for that “&c=1”?
Thanks,
DevanForum: Plugins
In reply to: Posts in order by categoryNot having any categories on my own site, I’m not really used to thinking about them…so I missed the VERY obvious solution here, which is just to use the Edit Timestamp feature to get all the posts to appear in the right order (having limited the number of posts on the main page to six, or one for each category).
DevanForum: Fixing WordPress
In reply to: Comments shown by default in 1.0?bump
Forum: Plugins
In reply to: All pages on one pageDavid,
Can’t thank you enough. Just had to add an echo ‘$totalwords words’ line at the very of the second function.
Best,
DevanForum: Plugins
In reply to: All pages on one pageHey,
Yeah, that’s what I think I’ll have to do (unless that guru you mentioned speaks up)…
I had the print stylesheet ready to go anyway, and I already call my article views to a separate PHP file (article.php, as it happens), which I could very easily duplicate and modify as needed.
It’s not as neat a solution as detecting the media type in PHP (which I’d love to do), but it’ll work.
Thanks for your help,
DevanForum: Plugins
In reply to: Word CountThere’s a related conversation that’s picked up over here…
Forum: Plugins
In reply to: All pages on one pageHey,
That sounds like it’s what Matt meant to me, and if it isn’t, well, that’s a question I want the answer to. For posts where I’ve used nextpage, is there any way to call all the pages at once?
See, I’ll have some longer posts (the one I’m working on now will be 3500 words, give or take), and for obvious reasons I have to break them up using nextpage.
On the other hand, much of my audience (should one exist) will not want to read 3500 words on the Web, no matter how it’s broken up.
So I’ve got a print stylesheet all ready, but the way I break up my pages for posting is dictated by logic, not by layout. In other words, I break my content up using nextpage based on the flow of the article, not how many pages a section will turn out to be in hard copy.
Any advice would be very helpful. I’m also trying to get southerngal’s WordCount hack to apply to the entire content of the post, instead of just the teaser that appears on the homepage (which is how my blog is set up, anyway).
Thanks,
DevanForum: Plugins
In reply to: Word CountI’d like to think so, too, but I beyond staring at it in b2template.functions.php I haven’t a clue where to start (as I don’t really know PHP)… Any suggestions?
Forum: Plugins
In reply to: Word CountYeah… What I get when I use it on my main blog page is the total number of words appearing on just that page.
So, for a 100-word post with 25 words before <!–more–>, I get a count of 25 words on my main blog page and either 75 or 100 on my single post page (depending on whether I’ve also used <!–noteaser–>).
That make any sense?
Thanks
Devan