asechrest
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Too many pages?Pretty neat solution. Thanks for sharing. May I ask why you use a separate template for all 1450+ pages (now posts)? Just for curiosity’s sake, I’m wondering how you utilize that many templates.
Forum: Fixing WordPress
In reply to: WP 2.7 Dashboard Config for all UsersYou can give Adminimize and CMS-Post Control a try to see if this will get you the desired functionality.
Depending on what you need/want to do, you may need both plugins.
Let us know how that works out for you.
Forum: Themes and Templates
In reply to: xhtml css to wordpressForum: Themes and Templates
In reply to: Is There a Glitch Going On?A description of the errors or a link to your site would help us help you.
Forum: Fixing WordPress
In reply to: Comments not workingYou might try repairing your database just for good measure.
Forum: Fixing WordPress
In reply to: proff reading users with limited rightsGlad it worked out for you.
Forum: Themes and Templates
In reply to: How do I create ‘content blocks’?Good solution DavidBorrink.
@ loxley – It’s going to require a bit of CSS and PHP coding to get this to work pretty much any way you slice it. But it’s nothing you couldn’t do after some study of the codex pages. Actually, the CSS might be the hardest part. 😉
Forum: Fixing WordPress
In reply to: Automatically adding text to comment after comment is submittedAlright, I had some time to mess around tonight and I came up with this. Be aware, I’ve done only minutes of testing and this appeared to work on two test comments, and also appends the text to an edited comment. I’m by no means a coder, so consider it an “alpha” version. Let me know how it works, and h/t to greenshady for the original filter (and WordPress for the awesome hooks).
Add the following to
functions.php.add_filter( 'comment_text', 'my_comment_text' ); function my_comment_text( $mytext ) { global $comment; $mytext = get_comment_text( $comment ) . 'Test comment text!'; return $mytext; }You can style it a bit with XHTML if you so desire. For example you can add a couple of <br’s> before the ‘T’ in ‘Test’ if you want the added text to be down a few lines from the main content.
Let me know if this works for you, and if not, in what situations it doesn’t.
[EDIT] – FYI this is a site-wide change. This will be appended to all comments. It also appears to break the formatting of the WP-Syntax plugin. I’ll have to do some more research to figure out if I can do it per-comment instead of site-wide.
Forum: Fixing WordPress
In reply to: post title & post content in one lineI believe the_content() automatically wraps the post content in
<p>tags and that’s why you couldn’t get it to work. But I’m not sure.Forum: Fixing WordPress
In reply to: Automatically adding text to comment after comment is submittedI can try to write the filter but it won’t be until next week. And no promises that I can get it to work. 😉
Forum: Fixing WordPress
In reply to: Automatically adding text to comment after comment is submittedHere’s the comment_text hook.
Forum: Themes and Templates
In reply to: How do I create ‘content blocks’?If I’m understanding you correctly, you want both columns to be editable through the WordPress back-end? Meaning you want to edit content in the left column and populate the right column with blog posts — all through the WordPress edit page function?
The only idea I’d have is to look at some of the plugins that’ll split a page into two columns (search the repository for “column”), but I don’t know if you can then use the Blog Summary plugin only for the right column.
If there’s no way to do that, the only thing I know to do is construct the page using standard CSS methods. A div for the right and left, the content on the left can be edited through the WordPress edit page function, then you can populate the right div using a query posts function, I think.
Forum: Fixing WordPress
In reply to: Getting some interested code at the top.That’s where it should be. Right at the top. Very first line.
Forum: Fixing WordPress
In reply to: Getting some interested code at the top.In header.php, change this:
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">to this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">Forum: Fixing WordPress
In reply to: proff reading users with limited rightsWell, Role Scoper is extremely complex. Role Manager is much more straight forward. Both can address different issues with a fair amount of functionality overlap.
To be honest, off the top of my head I’m not sure if either will solve your problem. I just know that these are the two most in-depth plugins for role and capability adjustment.
Role Scoper is complex enough that you may want to visit the plugin author’s message board and just simply ask if his plugin will suit your needs.