This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Slogan Text not Displaying

  • Creator
    Topic
  • #1812
    mattvd
    Member

    Hi there, in the layout builder I have inserted a slogan with text in it between two of my sliders here: http://ugly.thirstyagent.com but it only shows the divider line, and no text.

    How can I fix this?
    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #1823
    Jason Bobich
    Keymaster

    From what I can tell it simply appears that you have no text saved to your slogan element.

    http://picturestack.com/730/742/pinScreenShotJVe.png

    Maybe sort of an obvious question, but are you sure you’ve actually saved text into your slogan element? Is it possible you’re getting layouts mixed up? Is it possible you’re trying to put HTML that isn’t allowed into the slogan text that’s getting stripped out and thus nothing is saved there?

    I’d do a little more troubleshooting with what you’re actually doing in the Layout Builder. I’m not able to see what you’re doing other than the fact that your slogan has no text in it. 😉

    #1835
    mattvd
    Member

    Hi thanks for the response.

    I may be missing some save feature, but here is what I do:
    http://picturestack.com/731/940/0t7Untitled1Vfj.jpg

    I type in the text in the slogan box, then click update layout. However, when I go back to the layout builder, it shows that theres no text. I must not be saving something right. I clicked the button box to see if it would show the button after I clicked update layout, and it did. I’m not too sure what I’m doing wrong. And for some reason your screenshot link is not working on my browser.

    Thanks for your help.

    #1841
    Jason Bobich
    Keymaster

    I’m honestly not sure off the top of my head. Put the text in the box and click “Update” — Should be as easy as that, right?

    Shoot me a login to your WordPress Admin and I’ll check it out for you tomorrow. You can send the info to me through the My Account page here on the support website.

    #1845
    mattvd
    Member

    Thanks, just sent the info.

    #1849
    Jason Bobich
    Keymaster

    Ok, the reason is because of this in your functions.php:

    remove_all_filters( 'of_sanitize_textarea' );

    When I told you could do that I forgot that the builder checks for there to be a sanitization filter in order to allow you to save anything at all. So, instead I changed it to this for you:

    function my_sanitize_textarea( $text ){
    	return $text;
    }
    remove_all_filters( 'of_sanitize_textarea' );
    add_filter( 'of_sanitize_textarea', 'my_sanitize_textarea' );

    But this should really be in a Child theme and not directly in the theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.