Using save_post to replace the post’s title
I am using custom posts, and in these, I don’t a need for the title.
I am using custom posts, and in these, I don’t a need for the title.
Each time I register I end up in the wp-login page (back-end):
I want to get a sidebar and save it in a Variable,
This is impossible with the get_sidebar function since it simply prints out
the sidebar, is there another function that I can use?
I have a lot of uploaded image files and image sizes. So it would be better to organize media files into folders based on post type. I have just read this tutorial, but as I can see it works with plugins. How to change this to use in a theme?
Thanks.
I am using WordPress as a petition site and hacking the comments system to work as the petition signup. I would like to find out how I can limit a user to post only one comment per post. So far I can limit each user to one comment on the whole WordPress site as shown in the code below, but that’s not what I am looking to accomplish.
How can I debug problems with WordPress Cron? I think it will trigger when users go to your site but any errors wont be shown to them, as the jobs are run “asynchronously”. So how might I debug errors?
I’m trying to create a function that would allow me to change the title of an established meta box (i.e, change Meta Box title ‘Authors’ to ‘Team’, etc.)
I’ve never used the Transients API before and was wondering if anyone has guidance on when to use it. The Codex article implies that as a theme developer I might want to set each new WP_Query() as a transient; I assume the same might be said for direct $wpdb queries and query_posts(). Is that overkill? And/Or are there other places I should default to using it?
I use the below code to delete custom posts with status ‘expired’ (thanks to Jamie Keefer). Posts are set as ‘expired’ by a 3rd party plugin. Users have only a frontend access to their posts (adverts).
and thanks in advance for your help.