WordPress.org

Ready to get started?Download WordPress

Forums

Spasalon
Description in pink header bar (3 posts)

  1. akiw
    Member
    Posted 9 months ago #

    I've been trying to change the description in the pink strip at the top of the page but its not letting me, I've successfully added all my pages and removed the blog aspects of the main page bt I cannot change the text in this header. I've been through all the help pages etc and done everything it says but t will not change this. How do I do it?

  2. Noone Here
    Member
    Posted 9 months ago #

    Hello!

    I have checked it on my test site for you, and it looks like it is a bug, it looks like the theme settings page does not save what you write into that textbox.

    Here is a solution, but it is not really elegant. But anyway, here it is:
    1. Create a child theme for Spasalon (more info here: codex.wordpress.org/Child_Themes)
    2. Copy the file pink-header.php from the spasalon folder to the child theme's folder.
    3. Open the pink-header.php file in the child theme's folder with a code editor, and find this:

    <div class="span6" style="margin-top:20px"><p><?php if($bd!=''){ echo $bd;}  else{
    	_e(" Banner Description  Curabitur sed lectus nulla.lobortis eget congue sed, rutrum sit amet mauris. Curabitur sed lectus nulla rutrum sit amet mauris ",'sis_spa');}?></p>
    </div>

    Here you can change the text to your needs, but this way if you would like to make any internationalization, it wont work. And obviously, if you want to change the text, you will have to do it this way.

    I hope it helps. If you have any additional questions,or you need any help in inplementing this, just let me know.

    Greetings,
    Balint

  3. a.ankit
    Member
    Posted 9 months ago #

    Hi Akiw,

    Every post and page has the pink strip and it is possible to customize the text on every page.

    The Pink strip text can be changed by editing the meta box below the post editor.

    Let me know is this makes sense.

    -Ankit

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.