I have a front end form that let users submit a post. This is how i store the data when a post is submitted : if ( isset( $_POST['submitted']...
I have a custom post type “projects” with a custom taxonomy “project_type.” If I select a project type taxonomy within the post editor screen and hit update, the taxonomy...
I ran into a strange Problem today developing a new Plugin. I set it up as usual, creating the f711-roomprice folder in the Plugindirectory, and creating the f711-roomprice.php as...
I’s following Rachel Carden’s tutorial on creating Quick Edit and Bulk Edit, and grabbed her full work from her github repo. I managed doing everything fine and I made...
my plugin has a save_post hook used to save the custom fields. now I add a publish_slider hook used to change a checkbox’s status(slider is a custom post type)....
I have a multi-author blog, on which there are two schedule cron functions. The first function moves all public posts in the pending status after 365 days: if( !...
Hi I want to get the post ID from the post selected in the insert/edit link button. I would normally do: <a data-id="<?php echo $post->ID; ?>" href="https://wordpress.stackexchange.com/questions/256062/<?php the_permalink();?>"> Sample...
I created a new wordpress page and added this into the Text tab (NOT the visual tab. The visual tab is disabled): <div></div> When I click Publish, the code...
I am trying to use the save_post hook, but it is not working as intended: I want to save the Taxonomy (Region) with the ID 75 when the radio...
I recently read this tutorial about custom fields in WordPress and wrote a simple plug-in to provide a metabox with a set of input fields. I do not use...