Manually delete post from database
For whatever reason, I have a post and a page with the same slug name and it causes the db to hang. I can’t alter the slug on either so I need to go manually delete the posts from the database and start over.
For whatever reason, I have a post and a page with the same slug name and it causes the db to hang. I can’t alter the slug on either so I need to go manually delete the posts from the database and start over.
I’ve been trying to get the TinyMCE editor working in the comments field but I’ve been unable to do so. Another suggestion I found was http://nicedit.com, the editor is working but the comments are not saved in rich text.
function my_add_rewrite_rules() { add_rewrite_rule('testing/([^/]+)?$', 'index.php?pagename=testing&event_slug=$matches[1]', 'top' ); } add_action( 'init', 'my_add_rewrite_rules' ); function add_query_vars( $query_vars ) { $query_vars[] = 'event_slug'; return $query_vars; } add_filter( 'query_vars', 'add_query_vars' ); /testing/foo – Works, shows foo If I have testing set to no parent, the rewrite works and everything is good to go. If I set testing to a … Read more
I want to build a plugin that grabs certain url params from the query string to build a new query string for the same page. I’m following the excellent the Professional WordPress Plugin Development book, but I’m not sure which hook to use for this action. Here is my action function:
For a project I needed to heavily modify the behavior of WP_Query. So what I did was extending WP_Query basically like this:
Is there a place from where I can get a list of all existing WordPress plugins located in http://wordpress.org/extend/plugins/
I have the permalink structure http://domain.com/%postname%/, which is what I want to keep for most of my posts, however there is one category of posts that I would like to move from http://domain.com/%postname%/ to http://domain.com/articles/%postname%/.
It is broadly accepted that developers should test updates through a staging site before releasing them to the live server, however once the development updates require modifications in WordPress DB, things get complicated, as users in the live site will update the DB too.
Can I customize and edit the subject field in the “Password Reset” notification mails sent from our multisite blogs? I have tried some plugins like My brand login and white label CMS etc. But I can’t edit this in password reset notifications .
I’ve been playing around with code snippets which add meta data to admin searches.