Title: Latest post &#8211; editing title
Last modified: August 22, 2016

---

# Latest post – editing title

 *  Resolved [gajekpl](https://wordpress.org/support/users/gajekpl/)
 * (@gajekpl)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/latest-post-editing-title/)
 * Hi! Can I ask for help, where I can edit Latest Post title in header?
    I was 
   searching few hours I am noob at php.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/latest-post-editing-title/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/latest-post-editing-title/page/2/?output_format=md)

 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5726810)
 * Hey there gajekpl,
 * Hope you’re well today!
 * What are you trying to do? If you want to change CSS of it please add the the
   following CSS code to Appearance >> Theme Options >> Tools >> Custom CSS:
 *     ```
       .ticker-title {
       add properties here
       }
       ```
   
 * Add what ever styling you want. If you’re unsure on how to do that please explain
   what you’re trying to change so I can help 🙂
 * Cheers,
    Bojan
 *  Thread Starter [gajekpl](https://wordpress.org/support/users/gajekpl/)
 * (@gajekpl)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5726825)
 * Hi Bojan! Thank you for reply, I am trying to translate this text to my language
   so I am searching for some command or code to do it, is this hint helpful somehow?
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5726907)
 * Hey there gajekpl,
 * Since that text is not translatable you’ll have to make changes in the code.
   
   The string is located in custom.js file which is located in /wp-content/themes/
   profitmag/js/custom.js in line 7 which looks like this:
 * `titleText: 'LATEST POST',`
 * I strongly suggest not editing theme core files but rather make changes in your
   [child theme](http://codex.wordpress.org/Child_Themes) so the changes are not
   lost once you update the theme. Once you have child theme what you should do 
   is create customchild.js file and copy everything from custom.js and make change
   to the text there.
 * After that create empty function.php file in your child theme and enqueue script
   there. All you have to do is add this to your child theme functions.php:
 *     ```
       <?php
       function custom_scripts() {
       	wp_enqueue_script( 'customchild', get_stylesheet_directory_uri() . '/customchild.js', array(), '1.0.0', true );
       }
   
       add_action( 'wp_enqueue_scripts', 'custom_scripts' );
       ?>
       ```
   
 * Refresh the page and the text should be changed.
 * Hope this helps 🙂
 * Best regards,
    Bojan
 *  Thread Starter [gajekpl](https://wordpress.org/support/users/gajekpl/)
 * (@gajekpl)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5726916)
 * Bojan thank you so much for help! It works brilliant!
    Nice hint with childtheme,
   now I am back on track 🙂 Cheers!
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5726945)
 * Glad I could help 🙂 Have a great weekend!
 * Cheers,
    Bojan
 *  Thread Starter [gajekpl](https://wordpress.org/support/users/gajekpl/)
 * (@gajekpl)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5726976)
 * Thanks again Bojan I am marking this topic as resolved.
 *  [Rey Daniel](https://wordpress.org/support/users/rey-daniel/)
 * (@rey-daniel)
 * [11 years ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727037)
 * Genial, me funciono perfecto! muchas gracias
 *  [naphtaly](https://wordpress.org/support/users/naphtaly/)
 * (@naphtaly)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727042)
 * Hello Bojan
 * How to create a create customchild.js file and copy everything from custom.js…?
   
   Thanks you for you help
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727043)
 * Hey there naphtaly,
 * You can should be able to copy the file from your parent theme to your child 
   theme and simply rename the file.
 * Hope this helps 🙂
 * Cheers,
    Bojan
 *  [naphtaly](https://wordpress.org/support/users/naphtaly/)
 * (@naphtaly)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727044)
 * Hello Bojan.
    I’ve removed the white Band with your help in the other post..Thanks
   again. Now I want to Edit it, so that it appear like on parent theme with “LATEST
   POST” translate to “FLASH INFOS”. The problem is that, i d’ont know how to create
   a customchilds.js, und I can’t see custom.js when I go to appearence -> Editor
   on the parent theme..! Thanks for your help..I try first time to create my own
   website.. Forgive me also when i don’t catch the simple things..! Have a nice
   day…!
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727045)
 * Hey again naphtaly,
 * Using Appearance -> Editor is not something I’d suggest since I had quite a few
   problems with it in the past.
 * To edit theme / child theme files you should use text editor for example [Notepad++](https://notepad-plus-plus.org/)(
   personally I’m using Sublime).
 * With that being said you can’t see all theme files there, you’ll have to access
   them via cPanel/FTP. Once you access your site files you can navigate to /wp-
   content/themes/profitmag/js/custom.js to find the file. I believe everything 
   is explained above.
 * Alternatively if the above is too complicated, you can try changing those words
   with plugin such as this one here [https://wordpress.org/plugins/real-time-find-and-replace/](https://wordpress.org/plugins/real-time-find-and-replace/)
   which allows you to replace specific text. The only problem you can have here
   is that it will change all “Latest Posts” text with what ever you want so if 
   you have it in multiple places you’ll have to use option one.
 * Hope this helps 🙂
 * Cheers,
    Bojan
 *  [naphtaly](https://wordpress.org/support/users/naphtaly/)
 * (@naphtaly)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727046)
 * Hi Bojan
    Thanks a lot for your help…Excuse me that I take a lot of your time…!
   Now I get the file customs.js. I had to download before Filezilla… But I cannot
   see the contain of the file… When I try to open an edit i get this message: Sript:
   C:\Users……..\custom.js Line: 15 Carct: 6 Erreur: Marker, chaine, wait number 
   Code: 800A0404 Source: Microsoft JScript error compilation Is it that normal?
   What have I done wrong?
 * Thanks again
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727047)
 * Hey again naphtaly,
 * What are you using to open that file? Are you using text editor as instructed
   in my previous post?
 * > To edit theme / child theme files you should use text editor for example Notepad
   > ++ (personally I’m using Sublime).
 * Best regards,
    Bojan
 *  [naphtaly](https://wordpress.org/support/users/naphtaly/)
 * (@naphtaly)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727048)
 * HELLO Bojan
    Now I’ve found how to opene the file custom.js with Notpad++… And
   Ich create a customchildtheme.js and a function.php in my child theme. In the
   coutomchildthem.js I’ve pasted the change I’ve made in custom.js and in function.
   php I’ve pasted the code pho you have given. I refresh the page but nothing appear
   on the header.. I don’t know if it is because of zhis code css you gave me before:.
   top-header-block.clearfix { display: none; } Thanks a lot for your help..!
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/#post-5727049)
 * Hey again naphtaly,
 * I’ve checked the theme to make sure and yes you’re right, the CSS removes that
   part from your site so this is definitely the reason you’re not seeing any changes
   there.
 * Please try removing it or respond in the thread where that was suggested since
   I can’t remember what was the request there.
 * Best regards,
    Bojan

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/latest-post-editing-title/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/latest-post-editing-title/page/2/?output_format=md)

The topic ‘Latest post – editing title’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/profitmag/3.0.2/screenshot.png)
 * ProfitMag
 * [Support Threads](https://wordpress.org/support/theme/profitmag/)
 * [Active Topics](https://wordpress.org/support/theme/profitmag/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/profitmag/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/profitmag/reviews/)

 * 25 replies
 * 4 participants
 * Last reply from: [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/latest-post-editing-title/page/2/#post-5727059)
 * Status: resolved