jspicher
Forum Replies Created
-
Forum: Hacks
In reply to: get_posts() no older than X days with comments enabledThat did the trick, thanks mate.
Forum: Plugins
In reply to: Hooking into wp_head and/or get_header with wp_supercacheThanks Donncha, that really helps!
Forum: Plugins
In reply to: display plugin version # in admin panelGot it:
$plugin_data = get_plugin_data(/path/to/plugin.php);Forum: Plugins
In reply to: Where is "preprocess_comment" filter?anyone?
Forum: Hacks
In reply to: Updating "blogname" from a pluginDisregard, l figured it out. I needed to add:
register_setting( 'baw-settings-group', 'blogname' );
In my register_mysettings() function.Disregard, found it:
wp-admin -> settings -> reading -> Blog pages show at most.Thanks for a great plugin!
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] /gallery/ doesn’t exist? yes it does, and it’s 777!Changed the “path to gallery” setting in options from:
/xx_my_dir_xx/wp-content/gallery/
to wp-content/gallery/
and it works fine.However whenever l upload files l get similar erros:
aptopix-india-hindu-f_bray.jpg (Error : Exceed Memory limit. Require : 34.36 MByte)Even though the images uploaded just fine… any ideas?
Forum: Themes and Templates
In reply to: applying results form query_posts() to variablesMichaelH & t31os_,
I thank you for your help dudes!!! ??
Forum: Themes and Templates
In reply to: applying results form query_posts() to variablesMichaelH,
Thanks l’m fairly comfortable with PHP; but the WP framework in general is where l’m getting tripped up. I was talking about a doc regarding the nuances of the get_the_title()); and the_title()); title (and similar) functions.
Thanks again man!
Forum: Themes and Templates
In reply to: applying results form query_posts() to variablesHi MichealH,
Thank you so much for your help. I’m (obviously) pretty new to programming for WP; can you point me to some documentation that covers this type of thing?
Thanks again!
Forum: Installing WordPress
In reply to: Updated to 2.8.5 and having file upload troublesUPDATE:
Well since l haven’t had a response l did some digging and found a patch for this by modifying the following line in ../includes/functions.php
Find on line #2245:
<strong>'htm|html' => 'text/html',</strong>
Replace with:
<strong>'htm|html|php' => 'text/html',</strong>
Of course every time you update you’ll need to make this tweak, but l need to be able to upload PHP files to my media directory … period.
I have also added the following to my ../wp-content/uploads/ directory to prevent php files from being run as PHP files.I created an .htaccess file in the root of my ../wp-content/uploads directory and placed the following in it:
AddHandler text/plain .html .htm .php .php3