#42405 Portfolie slug

Landing Forums JupiterX WordPress Theme Portfolie slug

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Ole H.Lyth

    Hi,

    I want to change the Portfolio slug to smil.

    I have put this in to the child function.php

    add_filter( 'register_post_type_args', 'wpse247328_register_post_type_args', 10, 2 );
    function wpse247328_register_post_type_args( $args, $post_type ) {
    
    	if ( 'portfolio' === $post_type ) {
    		$args['rewrite']['slug'] = 'smil';
    	}
    
    	return $args;
    }
    
    But I can't get It to work.
    
    Regards 
    Ole
    Alexander Hutsol

    Hello Ole,

    Have you re-saved the permalinks in WP Dashboard > Settings > Permalinks after you added the code in the child functions.php file? If the issue still remains then provide us with wp-admin and FTP (FTP host, FTP user, FTP password, FTP port) login details to your site in a private reply https://prnt.sc/qq4xkn to check the issue.

    Thank you.

     

    Regards.

    Private
    Ole H.Lyth
    This reply has been marked as private.
    Tatyana Hutsol

    Hello,

     

    There is authentication code required to the wp-admin panel https://take.ms/KlIC0 .

    Please disable this authentication so we can log in.

     

    Also you missed the FTP password. Please share it as well.

     

    Thank you.

    Private
    Ole H.Lyth
    This reply has been marked as private.
    Private
    Alexander Hutsol
    This reply has been marked as private.
    Private
    Ole H.Lyth
    This reply has been marked as private.
    Amir Rather

    You’re most welcome 🙂

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