Frumph
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Former Web Designer May Have Changed My Password404 means page not found, which means doesn’t exist .. sooo maybe .. yeah, .. but you’re talking about a disgruntled employee at the moment; who knows what they might be up to, especially depends on how you two broke off the working arrangement.
Forum: Fixing WordPress
In reply to: Former Web Designer May Have Changed My Passwordheh, if you have FTP access I suggest getting in there and getting your theme before it gets deleted.
Forum: Fixing WordPress
In reply to: Single post in CPT being erasedit could very well be because your add_action isn’t in the action for admin_init for all I can remember at the moment ;/
Forum: Fixing WordPress
In reply to: Single post in CPT being erasedthis is how I do the admin post meta stuff for custom post types:
https://github.com/Frumph/comic-easel/blob/master/functions/admin-meta.php
if you want to use as a reference
Forum: Fixing WordPress
In reply to: How to re-index the images.the image button thats right above the post editor textarea box .. it opens up and in wp 3.5 if you have a gallery set there’s an option for it on the left
Forum: Fixing WordPress
In reply to: Former Web Designer May Have Changed My Password.. case sensitivity of logins and someone changing it are the only things I can think of.
Forum: Fixing WordPress
In reply to: How to re-index the images.Ah well they’re the ones that will be able to tell you how to do the ‘sort order’ you are requesting. .. I still believe it’s the same way as I described though if they’re attached images to the post.
Forum: Fixing WordPress
In reply to: Former Web Designer May Have Changed My PasswordYour hosting control panel is different then your WordPress control panel, the hosting one is cpanel (more hten likely) and is provided by your server’s host, the company who is hosting your site.
And yes.. yes you can.
Forum: Fixing WordPress
In reply to: How to re-index the images.… is this using the [gallery] functionality of WordPress ?
If so you can open up the media library gallery section for that post edited post and just drag the media up and down and set it to use that order.
.. if they’re just inserted into the post, then just cut and paste them around the way you want.
Forum: Fixing WordPress
In reply to: Change home pageYou can create any ‘page’ you want to be used ‘as the home page’ with the settings -> reading setting. So create a page that you want to use for it with any name you want to use and then set it.
Forum: Fixing WordPress
In reply to: Former Web Designer May Have Changed My PasswordDo you have access to phpmyadmin in your hostings control panel? if so you can use that to edit the wp_users table, here’s a guide for various ways of doing it:
http://codex.wordpress.org/Resetting_Your_Password
Can also change your email address at that time for that account as well.
Forum: Fixing WordPress
In reply to: Single post in CPT being erasedYeah, use dashs instead of underscore on those names
Forum: Fixing WordPress
In reply to: Single post in CPT being erasedThen verify the exact spelling of the featured_img and featured_title in your other part of the code, some people put featured-img and featured-title accidently switching the underscore and dash; I believe you’re actually supposed to use dash instead of underscore ;/
Forum: Fixing WordPress
In reply to: Single post in CPT being erasedk, try this instead
function save_details($post_id, $post) { global $post; if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { return $post->ID; } /* Get the post type object. */ $post_type = get_post_type_object( $post->post_type ); /* Check if the current user has permission to edit the post. */ if ( !current_user_can( $post_type->cap->edit_post, $post_id ) ) return $post_id; $meta_array = array( 'featured_title', 'featured_img' ); foreach ($meta_array as $meta_key) { $new_meta_value = ( isset( $_POST[$meta_key] ) ? esc_textarea( $_POST[$meta_key] ) : '' ); $meta_value = get_post_meta( $post_id, $meta_key, true ); if ( $new_meta_value && '' == $meta_value ) add_post_meta( $post_id, $meta_key, $new_meta_value, true ); elseif ( $new_meta_value && $new_meta_value != $meta_value ) update_post_meta( $post_id, $meta_key, $new_meta_value ); elseif ( '' == $new_meta_value && $meta_value ) delete_post_meta( $post_id, $meta_key, $meta_value ); } }One of the things I did notice is you’re not passing the $post_id, or $post inside the function call, so it was dependent on the global – with all of your other meta fields that you didn’t show you can add those to the $meta_array each on a new string
Forum: Fixing WordPress
In reply to: Changing post-type names and don't kill SEOJust an tidbit of information, the WordPress forums do not support paid-for themes so in the future you would have to contact themeforest’s support.
However, yeah you do have access to those register_post_type’s, they’re in there someplace.