Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #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
    -Dan

    #883788

    Hey acscreativenew,

    Login details are not working, could you check and verify please?

    Best regards,
    Rikard

    #883945

    I just updated the password, it should work now.

    #884134

    Hi,

    Sorry but I still can’t login, are you sure that there are blank spaces in the password?

    Best regards,
    Rikard

    #885648

    That password does work, no spaces i know I have a space after the : but thats not part of the password

    #886609

    Hi,

    I checked the site it seems your CPT code is wrong
    How have you integrate it?

    Best regards,
    Basilis

    #886621

    its in the child-theme functions.php file.

    #887148

    Hi,

    The code is not properly, please consider to make it properly and it will fix your issues.

    Best regards,
    Basilis

    #887553

    Any way you could tell me what is not right, I cant seem to find an issue with it?

    Thanks
    -Dan

    #888099

    I 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.

    #888125

    Hi,

    From what I can see, you do not have a save option at the CPT.
    How are you building those, try the following plugin

    Best regards,
    Basilis

    #888137

    so 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' );
    #891713

    Hi,

    If you change theme – does it save?

    Best regards,
    Basilis

    #893265

    I 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.

    #895089

    Hi,

    The site is running on a very old version of the theme, 3.8.4. Please upgrade to version 4.2.1 then reconfigure the theme options, particularly the main menu and header settings.

    Best regards,
    Ismael

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.