-
AuthorPosts
-
November 29, 2017 at 6:16 pm #883129
Hi,
I have created a CTP via the functions file for my website.
https://www.infanttoddler.com/provider/shaista-l/ <— this is a page using my CTP of “provider”
In WP Admin I can not update any of the pages. If I go into the page in the backend and the first thing I do is click update sometimes it works, but if I change anything on the page and try and click update it does not work.
Any help would be great.
Thanks
-DanDecember 1, 2017 at 9:54 am #883788Hey acscreativenew,
Login details are not working, could you check and verify please?
Best regards,
RikardDecember 1, 2017 at 4:58 pm #883945I just updated the password, it should work now.
December 2, 2017 at 3:20 pm #884134Hi,
Sorry but I still can’t login, are you sure that there are blank spaces in the password?
Best regards,
RikardDecember 6, 2017 at 4:34 pm #885648That password does work, no spaces i know I have a space after the : but thats not part of the password
December 8, 2017 at 9:04 pm #886609Hi,
I checked the site it seems your CPT code is wrong
How have you integrate it?Best regards,
BasilisDecember 8, 2017 at 9:23 pm #886621its in the child-theme functions.php file.
December 10, 2017 at 10:30 pm #887148Hi,
The code is not properly, please consider to make it properly and it will fix your issues.
Best regards,
BasilisDecember 11, 2017 at 8:06 pm #887553Any way you could tell me what is not right, I cant seem to find an issue with it?
Thanks
-DanDecember 12, 2017 at 11:28 pm #888099I think it might be more than that. I tried to use a different code for the CPT and im still getting the same results, not able to update anything of the pages in that CPT.
December 13, 2017 at 12:22 am #888125Hi,
From what I can see, you do not have a save option at the CPT.
How are you building those, try the following pluginBest regards,
BasilisDecember 13, 2017 at 12:35 am #888137so even when i load the plugin you told me to and use that code that the plugin spits out i still not can save?
here is the code i tested.
function cptui_register_my_cpts_provider() { /** * Post Type: Providers. */ $labels = array( "name" => __( "Providers", "" ), "singular_name" => __( "Provider", "" ), "menu_name" => __( "Providers", "" ), "all_items" => __( "All Providers", "" ), "add_new" => __( "New Provider", "" ), ); $args = array( "label" => __( "Providers", "" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => false, "show_ui" => true, "show_in_rest" => false, "rest_base" => "", "has_archive" => "provider", "show_in_menu" => true, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => false, "rewrite" => array( "slug" => "provider", "with_front" => true ), "query_var" => true, "menu_position" => 5, "supports" => array( "title", "editor", "excerpt", "comments", "revisions", "author", "page-attributes", "post-formats" ), "taxonomies" => array( "category" ), ); register_post_type( "provider", $args ); } add_action( 'init', 'cptui_register_my_cpts_provider' );
December 22, 2017 at 8:32 pm #891713Hi,
If you change theme – does it save?
Best regards,
BasilisJanuary 4, 2018 at 3:59 pm #893265I changed the theme and moved over my CTP to the new functions file. This does seem to be working now as I can update it. I have changed the theme back now.
I can go in and update once, but after that it will not let me update anymore.
January 9, 2018 at 5:39 am #895089 -
AuthorPosts
- You must be logged in to reply to this topic.