Is codex right on deleting post?

The relationship between the term and the post is deleted, not the term itself. On front-end the query for a term with no associated posts will result in a 404 tough. But if you go to the term list in back-end you still can see term with a post count of 0. Always keep in … Read more

retrieve the oldest post id

I do not see any problem in your query (except some poor query writing styles). You did not explain ‘does not work’. what you get in return? do you get any errors? Probably you do not have any published job_listing! However, here is how you can improve your given code: $oldest_post_id = $wpdb->get_row(“SELECT `id` FROM … Read more

Add Blog to WP homepage Manually

It looks like the theme is widgetized, and it actually has listed as a feature “Blog integration” – see here. Are you sure in the theme settings there are not options related to showing blog posts in one of the widget areas? The other place to look is “Appearance » Widgets”. There may be a … Read more

Divs appearing everywhere in post content

You first should find out where the divs are coming from, since that’s not normal behavior. Could be from a plugin or – as Damien said – copy-pasting a text from Word. To remove the divs you can do a simple str_replace(array(‘<div>’, ‘</div>’), ”, $content) either before storing the text in the database (by hooking … Read more

Fast publishing in wordpress

I get what you want, it will require some coding skills though. What I did was create myself a plugin that registers a new menu page, and then I use wp_insert_post() function to create a post with given parameters. You can check out my plugin here: http://www.mediafire.com/?499tk848njaz7hq It’s for fast image posting, but I believe … Read more