andymatic
Forum Replies Created
-
Forum: Plugins
In reply to: Notating Guest BloggersHoly crap it worked! Thanks!
Added to wiki:
Forum: Plugins
In reply to: Notating Guest BloggersAlright – now I get to learn about output buffering – thank you for the link and help… gonna go try out the code now – be back in a few minutes to report back.
Forum: Plugins
In reply to: Notating Guest BloggersSame result:
Posted by <?php the_author(); ?>
<?php
$author_name = the_author();
if ($author_name != "My Name") echo ", Guest Blogger";
?>
Still produced My Name My Name for me and then Author Name Author Name, Guest Blogger for the non-me bloggers.
Any other ideas?
Forum: Plugins
In reply to: Notating Guest BloggersI had tried
<?php the_author() ?>
<?php if (the_author() != "My Name") { echo ", Guest Blogger";) ?>
And instead of using the_author() as a variable in the comparison – it outputs the_author() – showing it twice.
Forum: Installing WordPress
In reply to: Persistent ‘Not Found’ – Only for certain usersNope. I haven’t banned any IPs at all.
Forum: Fixing WordPress
In reply to: making an RSS feedThe feed is generated automatically by WordPress in RSS, RSS 2.0 and Atom formats.
If you’re using redirects you’ll find your feeds at
RSS .92 – https://www.yourdomain.com/feeds/rss/
RSS 2.0 – https://www.yourdomain.com/feeds/rss2/
Atom – https://www.yourdomain.com/feeds/atom/
Or without redirects
RSS .92 – https://www.yourdomain.com/wp-rss.php
RSS 2.0 – https://www.yourdomain.com/wp-rss2.php
Atom – https://www.yourdomain.com/wp-atom.phpForum: Fixing WordPress
In reply to: Trackbacks for Future Published Posts?Sorry to be a pain – but when I click the Publish button even if the post is for the future. But then, if someone clicks on the Trackback link back to my site then they will get a post not found error right? (Because the post isn’t public yet?)
Forum: Themes and Templates
In reply to: Show comments on front pageBeen digging around in the variables of index.php. Seems like one way to tell that I’m showing the index/frontpage is to see if [REQUEST_URI] is equal to [SCRIPT_NAME] – does that make sense?
Forum: Themes and Templates
In reply to: Show comments on front pageI’m thinking of creating a second comments routine called wp-comments-no-form.php to output comments but without the form. But how do I only show this on the front index page?
How does WordPress know what kind of page it is showing? (front page, individual post, category, date-based archive… etc.)Forum: Themes and Templates
In reply to: Show comments on front pageThanks! So far I figured out that adding $withcomments=”1″ at the top of index.php does it – though not sure how that’s going to affect other views of the blog (category, individual, etc) – plus, I have to figure out how to not show the comments form.
Forum: Themes and Templates
In reply to: Show comments on front pageOkay I believe part of it involves using the <?php include(“wp-comments.php”) ?> to put the comments on the page – and I know that in the url if c=1 then it shows comments. How do I tell it to make c=1 when viewing the frontpage of the blog?
Forum: Fixing WordPress
In reply to: Permalinks and stuffI just have to say that this just blew my mind! It just *worked* – got WP on WinXP running PHPDev… tinkering – trying to break the MT habit.