Inserting custom fields into new-post.php without using the Custom Fields Template plugin?
This article will get you there: http://andrewferguson.net/2008/09/26/using-add_meta_box/
This article will get you there: http://andrewferguson.net/2008/09/26/using-add_meta_box/
You should have a look at AtomPub. AtomPub allows you to connect to your blog with an AtomPub-enabled client and publish, update and delete posts and media files remotely, without needing to log in to the administration section directly.
Maybe your PHP is running per CGI or FastCGI in a separate process that shuts down after a while of inactivity. Does it change if you register at an uptime monitoring service? A cache plugin like W3 Total Cache may help too.
As commented above, you don’t have to use TimThumb at all to get additional image sizes for your uploaded images. WordPress ships with the add_image_size() function. // functions.php add_action(‘init’, ‘wpse26655_add_additional_image_sizes’); function wpse26655_add_additional_image_sizes() { add_image_size(‘thumb200x120’, 200, 120, true); } In your template files, you could than query your thumbnail with your desired image size. E.g. <?php … Read more
I’m afraid you cannot alter the output of this function unless you directly modify the plugin code. The plugin author hasn’t given you any filter to use. So what can you do about it? Continue to alter the plugin file and update each time the plugin updates. Ask the plugin author nicely to add a … Read more
See codex page for category conditional tags – http://codex.wordpress.org/Conditional_Tags#A_Category_Page You can use them like so: <title> <?php if ( is_category( ‘1’ ) ) echo ‘This is the news category’; ?> </title>
The problem was due to a secondary loop in the page—before this loop, the page knows it’s a page; but after the loop (and in the footer, where the Admin Bar and my code would be rendered), the page thought it was the last post of the secondary loop. Neither wp_reset_query() nor wp_reset_postdata() worked; I … Read more
Solved it! I replaced $ww_book_id = $post->ID; with $ww_book_id = get_the_ID(); I’m not sure why $post->ID; was referencing all the posts in the widgetized version of this code. If anyone can tell me, I’d be very curious.
First off, you should consider using using the building WordPress functionality rather than linking straight to a PHP file. Anyone could game that very easily and artificially vote up posts. To use the wordpress ajax functionality, send your ajax request to yoursite.com/wp-admin/admin-ajax.php, and use standard plugin hooks system. Tollmanz’s response is right on: your update … Read more
since the site has a white background, a quick workaround could be to save the pngs as jpeg with white background? this thread mentions a possible solution: wordpress dot org/support/topic/plugin-nextgen-gallery-problems-with-png-transparency-thumbnails?replies=9 this has an unpdated solution: wordpress dot org/support/topic/plugin-nextgen-gallery-png-thumbnails-with-transparancy-problem-1?replies=5 and this thread suggests saving as 24bit png’s rather than 8bit wordpress dot org/support/topic/nextgen-gallery-transparent-images-showing-black-background-with-resize?replies=8#post-1921440 ps cant post … Read more