• Hello ?? this code is very useful ?? for WordPress doning job of renaming title posts after updating page to same title but without dots (……..)

    I mean after submitting the post it removing dots from title automatically after refreshing the page

    My question is this code is full , can any developer check it please and till us if it completed or not and where we should post it in themes I used hit Mag pro theme

    Please help me

    <?php 
    $title = get_the_title();
    $last_title = str_replace( '.', ' ' , $title );
    
    $post_update = array(
        'ID'           => $post->ID,
        'post_title'   => $last_title,
    );
    wp_update_post( $post_update );
    ?>
    • This topic was modified 2 years, 7 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Since use a commercial theme and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    https://rigorousthemes.com/downloads/mag-pro/

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    Commercial products are not supported in these forums.

    Thread Starter ELGEEL3

    (@elgeel32020)

    I think u didn’t get me why ?
    This code works for any theme
    And it will be useful for all user’s there , that’s make me put the function code there but when I made update of the theme the code doesn’t work , so I asked for the help
    Note this commercial product was given to me as a reward and I didn’t have access to their channels

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Developing with WordPress topic.

    I think u didn’t get me why ?

    The moderator did tell you why: you need to seek support for that commercial product from the vendor you paid for that theme.

    Note this commercial product was given to me as a reward and I didn’t have access to their channels

    That changes nothing. For pro or commercial product support please contact the developer directly on their site. This includes any pre-sales topics as well.

    https://rigorousthemes.com/downloads/mag-pro/

    As the developer is aware, commercial products are not supported in these forums. I am sure they will have no problem supporting you there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code for removing….(dots from WP title)’ is closed to new replies.