kalico
Forum Replies Created
-
Forum: Plugins
In reply to: FAQ PluginYay! It’s gone now…thanks Vaam! 🙂
Forum: Plugins
In reply to: FAQ PluginSo glad I stumbled on this thread! The reason it sounds familiar, Vaam, is that I’ve reported it twice from your website. 🙂
I too have the 0.4j version, just grabbed it again from the rane site and it’s got the same problem. I don’t see it when I write a page, but I do see it when I write a post.
– var toolbar = document.getElementById(“ed_toolbar”);
Fatal error: Call to undefined function: rane_add_edit_button() in /var/www/public_html/userid/virtualhosts/myfolder/wordpress/wp-content/plugins/faq/faq.php on line 167I do hope this can be fixed. It’s a keen plugin, and something I’d really like to continue using.
Forum: Installing WordPress
In reply to: GoDaddy & WordPress – need to upgrade package?Hi everyone, this topic was very helpful; now I have a semi-related question. Sorry if this is a little OT, just trying to understand something for my own sake — DesignPastor was moderated and asked not to mention anything “for sale” but resiny was not. I would like to understand the difference in order to avoid offense. Thank you.
Forum: Plugins
In reply to: List posts by KeyThanks again Geoff! Warning indeed — in fact, I had to also escape the < in the closing “a” tag. And after I removed the “hr” tag, and replaced it with “p” tags, well that made a further mess, so that I didn’t have to escape the < after all….point being, watch for those escaping characters!! No wonder Younghusband’s code didnt’ work when I tried it earlier. That PLUS knowing it replaces the loop, made the whole thing work.
I think this has solved my problem. All the best to you, Geoff. Thanks for your help!
Forum: Plugins
In reply to: List posts by KeyWhen I do that, I get:
Parse error: parse error, unexpected ‘?’ in /var/www/public_html/kalico2/virtualhosts/timelessword/wordpress/wp-content/themes/tw/index.php on line 11
Line 11 is the “echo” line.
I appreciate your help with this. I’m stymied. 🙂
Forum: Plugins
In reply to: List posts by KeyThanks Geoff. Where exactly in my file do I put this? Inside the loop? What do I remove? Here is my present code:
<?php
$posts = query_posts($query_string . 'cat=2&orderby=title&order=asc&posts_per_page=-1');
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> by <?php foreach(get_post_custom_values('author') as $author) {
echo $author;
} ?>
</div>
<?php endwhile; else: ?>
Sorry, no posts matched your criteria.
<?php endif; ?>
No idea if it’s “good” code or not, but it works. When I try to add the new hunk of code, I get error messages. I’m sure I’m putting it in the wrong place.
Also, I do intend to use permalinks ultimately, I just haven’t set them up yet. Trying to get the bugs worked out before I add that, because it always causes grief with my server. But the code when using permalinks is certainly simpler. Maybe I should get that in place first.
Thanks again for your help. 🙂
Forum: Plugins
In reply to: List posts by KeyOk, I’m trying to figure out how this applies to what I’m trying to do, and right now I’m lost! I hope someone can help me sort through it.
I have one custom field on which I want to sort: author.
I want a list of post titles, sorted by the “author” field, and I want to display the post title, and the author’s name.
At present, I have them sorted by the post title, which is the name of the book. See http://www.timelessword.com/wordpress
I just want to sort by author (the meta_key), not post title. I’ve read http://codex.ww.wp.xz.cn/Displaying_Posts_Using_a_Custom_Select_Query but I’m lost….it says you have to have a meta_key of “tag” and a meta_value of “email” — I realize I could change those for my needs, but it doesn’t seem to accomplish a sorting function.
Any help would be most appreciated. I can tell from posts that this is something lots of people want to do, so I’m surprised that there isnt’ a simpler way to accomplish it.
Thanks in advance for any help you can provide!
Forum: Fixing WordPress
In reply to: turning off WYSIWYGThanks Doodlebee! That’s what I needed. 🙂
Forum: Fixing WordPress
In reply to: turning off WYSIWYGThanks, ttech, but that isn’t quite what I was looking for. I am using 2.2 and I have seen that, and it works….but I’m trying to get that same wysiwyg editor to show up in a plug-in. I need to know where to find the code for it, or what doodad to link to, in order to replace the old-style editor in a plug-in with the new wysiwyg editor.
I also would love to know how to create a new thread. I still can’t find it. 🙁
Forum: Fixing WordPress
In reply to: turning off WYSIWYGI have the exact opposite problem as Kalen — I want to figure out how to get the wysiwyg editor into another editting screen for a plugin I have. I would have started a new thread but I honestly can’t figure out how! I’ve done it before, and every time I hunt all over the place to find the link, and give up several times before I finally stumble on it, and manage to post. (Maybe it’s just as well — I usually find the answer somewhere before I get around to posting.) But if someone could please answer both questions, I’d really appreciate it!
To recap:
1. what code am I looking for — and in what file — to copy into a plugin so it will have the wysiwyg editor instead of the old editor. (I realize it’s probably not quite that simple, but I’m used to plenty of tweaking.)2. where does one start a new post?
Thanks in advance!!! You know, this is one of the few “friendly” forums on the web for noobs and geeks alike. Thanks for that too.
Forum: Plugins
In reply to: Category Limit PluginThe link above does not work. But I found the code on coppit’s site, here is the new URL http://www.coppit.org/code/
It’s great, works like a charm, and has been updated to include an admin interface — just go to your Manage tab, and youll see a new subtab that says Category Levels.
Thanks Coppit!
Forum: Fixing WordPress
In reply to: Link Manager main page: Can I do this?Wouldn’t you know, I figured it out right after I posted. Sorry.
class=”dropdown” goes in the SELECT tag, not the FORM tag.
Here is the corrected code:
$output .= '<form id="linkcatselect" method="post"><select name="linkcat" class="dropdown">';Everything else in previous post is correct, and it works just super!!
Forum: Fixing WordPress
In reply to: Link Manager main page: Can I do this?I love this! Perfect!!
Can anyone explain how to apply the CSS to the drop down box? I can’t seem to make it work. It is as wide as the widest item in the list, but when you choose that item, a few of the letters are cut off. Here is what I did:
1. Created a “Page” in WP containing ONLY the tag <!–linksdropdown–>
2. Edited the plugin itself, to include a class:
$output .= '<form id="linkcatselect" class="dropdown" method="post"><select name="linkcat">';3. Added the following to the stylesheet:
.dropdown { width:175px; }But I get no change in the width of the dropdown. What stupid thing am I doing wrong? BTW I also tried making the width 375px and still no change.
Here is the links page. You can see that if you select “Midwifery and Childbirth Links” it gets truncated.
http://www.ancientartmidwifery.com/appiesnet/wordpress/?page_id=30Any help would be greatly appreciated.
kalico
Forum: Fixing WordPress
In reply to: child pages with wp_list_pages… but for the current pageThis post seems to ALMOST answer my need. I hope someone can help me take it to the next step.
I want all the Child Pages of “About” to show on any Page in that group — any page whose parent is About, should show all the related child pages.
All other Pages should list only the parent pages.
Is this possible?
http://www.ancientartmidwifery.com/appiesnet/wordpress
is my in progress site. The treatment prescribed above is working nicely ONLY on the About page itself. It’s in a (ugly html) box, so you can see what it’s doing.Here is the code in sidebar.php
<table border=1><tr><td>
<?php wp_list_pages('child_of=' . $post->ID . '&depth=1&title_li='); ?>
</td></tr></table>
<ul><?php wp_list_pages('exclude=2&title_li= '); ?></ul>Thanks in advance for any advice.
Marci
Forum: Fixing WordPress
In reply to: Filter post contentPERFECT! Thanks for the link to Scott Riley’s plugin. It’s just what I needed for really simple post filtering. In fact, I even added a bit to it with an extra filter on the post title:
‘add_filter(‘the_title’, ‘c2c_text_replace’, 2);’
I’m sure the pirate filter would have worked great too, and maybe now that I have more of a clue how this works, I can still use it. Or just enjoy a pirate-y day every september. 🙂
Thanks again!!!