webdawg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Comments on PagesI am trying to create a Page-specific comments template. Meaning, I want the Main template to call on the default comments and the Page template to call on a custom comments template. For example:
Main template:
<?php comments_template(); ?>
Page template:<?php include (TEMPLATEPATH . '/comments-for-pages.php'); ?>The “Leave a Comment” portion appears on the Page (from the custom comments template) but not the comments themselves. Even if I do a straight copy’n’paste from the default comment template to my custom comment template, this oddity occurs.
Any ideas how I can get both the Leave a Comment box and the comments to appear together when calling upon a custom comments template?
Forum: Fixing WordPress
In reply to: Change Default CategoryFWIW, I edited the database toremove the automatic default category selection because I want users to be prompted to select categories. IOW, remind them that the default category does not apply to every post.
the SQL:
UPDATEwp_optionsSEToption_value= ‘666’, WHEREoption_id=25 ANDblog_id=0 AND CONVERT(option_nameUSING utf8 ) = ‘default_category’ LIMIT 1 ;Forum: Installing WordPress
In reply to: problems with dashboard because of dev blog feedhttp://wordpress.org/support/topic/36092 is closed.
Forum: Installing WordPress
In reply to: who uses the WYSIWYG WordPress editor? can’t work on mine!Read why your Quicktags are gone.
Darn it, I was hoping mudbomb’s WYSIWYG replaced the WP WYSIWYG. I need my quicktags.
Forum: Fixing WordPress
In reply to: 1.5 quirks: days of posts and default author selectionIs there a workaround for this? Or a way to show only posts from the first day of the calendar week (as defined in /wp-admin/options-general.php > Date and Time > Weeks in the calendar should start on: [option list])?
Forum: Fixing WordPress
In reply to: Last n days bug?I use a workaround:
<?php else : ?><h2 class="post-body">Sorry, no (more) posts
match your criteria.</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<h3 class="post-body">Categories</h3>-
<?php list_cats(FALSE, '', 'name',
'asc', '', TRUE, FALSE,
FALSE, FALSE, TRUE,
TRUE, FALSE, '', FALSE,
'', '', '14',
TRUE); ?><p /><h3 class="post-body">Archives</h3>
<?php smartArchives() ?><?php endif; ?>
Forum: Themes and Templates
In reply to: Trouble with previous/nextSigh. The above code doesn’t work for Opera 8, where the minimum font size is defaultedto 6 pixels and does not allow a zero sized font. Argh.
Forum: Fixing WordPress
In reply to: Multiple posts on the same page (example provided)<?php the_content(‘Read on…’); ?> displays the content of the post and uses “Read on…” for the more link text when the <!–more–> Quicktag is used.
Forum: Everything else WordPress
In reply to: Mail List for THIS forumWas there a “notify me by email” option that was removed in favor of the per thread RSS feeds? If so, why? I’d like to see the e-mail option reinstated. It’s nice to have choices.
Forum: Plugins
In reply to: Recent phpbb posts on WP?http://www.phpbb.com/phpBB/catdb.php?cat=56
Use phpbb Fetch All.
Forum: Fixing WordPress
In reply to: Can get_links display name, image & desc?Or get_linksbyname? For an example, see http://webdev.transcendentalfloss.com, a work-in-progress, and look at The Incredibles listing in the right sidebar under Floss Aid.
The first listing is manual HTML. This is very close to what I want. Both the image and name (or at least one or the other) should be part of the link. And then the description follows.
The second listing is get_linksbyname showing image and desc. with manual parameter settings.
The third listing is get_linksbyname showing name and desc. with automatic parameter settings as set in wp-admin > link/category management.
Forum: Fixing WordPress
In reply to: protect whole blog?I’d install phpbb and take a look at how it handles “you must be registered/logged in first” since it accesses its members table in its database (and cookies) for login purposes. Then you’d probably be able to strip/copy the phpbb code and apply it to WP to do the same. Although, it would probably be a lot of work. You’d either need to know your php fairly well and/or be able to sort through a lot of phpbb files. Or I’d pick up a MySQL/PHP book. I recall reading a passage on login stuff. Looked pretty easy. Yeah, not the answer you were looking for… 🙂
Forum: Themes and Templates
In reply to: Trouble with previous/nextGot it!
CSS
.hidden {
color:#fff;
height:0px;
font-size:0px;
line-height:0px;
}PHP/XHTML
<div class="navigation">
<div class="previous"><?php previous_post('<span class="hidden">%</span>', '<img src="/wp-content/themes/beatrice/images/previous.gif" />', 'yes'); ?></div>
<div class="next"><?php next_post('<span class="hidden">%</span>', '<img src="/wp-content/themes/beatrice/images/next.gif" />', 'yes'); ?></div>
</div>Forum: Fixing WordPress
In reply to: WordPress Codex and what wikis do for meThe WP Codex runs on MediaWiki, not on Word Press CMS or any plugin.
Merging MediaWiki and WP into one all-encompassing application would be pretty frikkin’ cool, though.
Forum: Themes and Templates
In reply to: Trouble with previous/nextLorelle, that’s what I want to do! I can figure out how to insert a graphic, but eliminating the post title is another matter. If I remove ‘%’ from the code below, then nothing appears.
<div class="navigation">
<div class="previous"><?php previous_post('%', '<img src="/wp-content/themes/beatrice/images/previous.gif" />', 'yes'); ?></div>
<div class="next"><?php next_post('%', '<img src="/wp-content/themes/beatrice/images/next.gif" />', 'yes'); ?></div>
</div>Anybody know to how remove the text portion, leaving only graphic next and previous links?