subjectego
Forum Replies Created
-
Forum: Plugins
In reply to: Use WP_Query to make nested list of posts (by date) in category (by name)That did the trick! Thank you for your time.
Forum: Themes and Templates
In reply to: Exclude children from category page.A little tweaking and it blends into my site perfectly. Thank you very much.
Forum: Fixing WordPress
In reply to: <embed> code being modified by editorI’ve discovered that the editor is very unreliable for (X)HTML tags, so I wrote a plugin to do the job for me. It’ll save me some time, and will serve as a base for solving future dilemmas.
Thank you all for your help.
Forum: Fixing WordPress
In reply to: <embed> code being modified by editorI’ve been using the code tab to input code.
Forum: Fixing WordPress
In reply to: <embed> code being modified by editorAnyone have any ideas?
…or perhaps a list of alternative editors to TinyMCE?Forum: Fixing WordPress
In reply to: <embed> code being modified by editorI tried it like that. Two things happen.
First, the editor changes it from this:
<object height="256" width="320" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="wp-content/uploads/2007/10/MovieClick.mov"></param> <param name="autoplay" value="true"></param> <param name="controller" value="false"></param> </object>…over to this:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320"></object> <param name="src" value="wp-content/uploads/2007/10/MovieClick.mov"></param> <param name="autoplay" value="true"></param> <param name="controller" value="false"></param>Second, that somehow messes up the formatting on my site. An entire section of the site has been bumped out of where it’s supposed to be.
Forum: Plugins
In reply to: Masking Categories in main page.First, when I load the page with :
$one_cat_post = $wpdb->get_results(‘select post_id from $wpdb->post2cat where category_id =\”the category number you want\”‘, ARRAY_N);
I get the error :
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘->post2cat where category_id = “3”‘ at line 1]
select post_id from $wpdb->post2cat where category_id = “3”…
Then, when I insert :
<?php if ( (isset($one_cat_post)) && (in_array($curr_ID,$one_cat_post)) ){
I get a Parse error, which points to the start of the next line of code.
…
I guarantee I am doing something wrong. I’d just like to know what it is.
Forum: Plugins
In reply to: Masking Categories in main page.Well, it’s a start. They both perform roughly the same function, but not without substantial bugs.
The “Category Visibility” plugin gives the most options for excluding categories from various areas of the site, but destroys the formatting in the sidebar.
The “Ultimate Category Excluder” plugin does not harm formatting in any obvious way, but it only allows a single category to be excluded.I’ve written to the authors with the issues, but am still left without a solution for the time being.
Forum: Plugins
In reply to: Masking Categories in main page.If anyone has a suggestions as to where I should be looking, or any third-party material I should look into, please let me know. This is somewhat of an immediate issue.