shnzndl
Forum Replies Created
-
Hi @corylamleorg,
Thanks for all the help! I got it sorted out. I first changed permissions to 755 on both public_html as well as the installer file and archive file but the key I believe was trying to access installer.php from incognito mode.
I think I had been unable to force refresh /installer.php due to constant redirect. incognito mode solved that
Hi @corylamleorg,
Thanks for the input! That makes sense. I do have a sub-directory for each subdomain but yes this is for the root site. I’ll reach out to my host to loosen up the permissions.
What’s generally an acceptable level of permission to get the root directory set to?
Forum: Fixing WordPress
In reply to: Saving and retrieving data from wp_dropdown_pages metaboxI hadn’t checked there yet, thanks for the info!
For posterity reasons, in case anyone is wondering, I got it all figured out, I hadn’t to passed the correct ‘name’ of the $dropdown_args into the save function.
$dropdown_args = array( 'post_type' => 'page', 'name' => 'linked_page', 'sort_column' => 'menu_order, post_title', 'echo' => 1, );
if ( isset( $_POST[ 'linked_page' ] ) ) { $linked_page_id = $_POST[ 'linked_page' ][0]; update_post_meta( $post_id, 'carousel_tabs_url_id', $linked_page_id ); }
I got it to save no problem but a new issue cropped up where the linked page in wp_dropdown_pages dropdown needed to be reselected upon each update since the placeholder defaulted to the first item.
I ended up scrapping it as it was getting a little over engineered for my needs and was only increasing the chance for user error. Instead I used the same slug for the custom post type as the page it was linking to and using that for each link.