Sparkle Options Not Saving – "Error"

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 13 replies, has 4 voices, and was last updated by  Jacob 1 year, 7 months ago.

  • Author
    Posts
  • #8215

    cta
    Member
    Post count: 11

    Keep receiving “Error” whenever I try to save any of the Sparkle theme options. Everything outside of the Sparkle Options menu saves fine.

  • #8228

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #8933

    shalomanov
    Member
    Post count: 47

    Maxxi,
    after I added to custom-functions.php
    add_filter( 'yt_site_dynamically_external_stylesheet', '__return_false' );
    the logo became centered.
    see this http://prntscr.com/6zluil

    How to make return it to left side?

  • #8941

    shalomanov
    Member
    Post count: 47

    Question 2

    I use Little Sparkle

    Then I toggle “Plain Text Logo” to text, word “Sparkle” appeared no matter what is in Site Title.

    How to use Site Title from General Settings?

  • #8986

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #8995

    shalomanov
    Member
    Post count: 47

    Maxxi,

    theme version 1.0.4.9 – Apr 25 2015

    Settings -> General -> Site title: MyBlog

    Little Sparkle -> General Settings -> Plain Text Logo: text

    Result: text Sparkle

    And if I enable image logo I,ve got Sparkle in title and alt
    Sparkle

    Of course I can replace yt_get_options(‘plain_logo_text’) in site-branding.php, but that is not as planned. Right?

    • This reply was modified 1 year, 7 months ago by  shalomanov.
    • This reply was modified 1 year, 7 months ago by  shalomanov.
  • #8997

    shalomanov
    Member
    Post count: 47

    Maxxi,

    the theme doesn’t have a function to change option ‘plain_logo_text’.

    yt_get_options(‘plain_logo_text’) just takes its value “Sparkle” from database, and there is no way to change it.

  • #8998

    shalomanov
    Member
    Post count: 47

    and there are a lot of unnecessary options in DB
    for example
    “banner_background_pattern”;”http://192.168.1.15/framework/wp-content/themes/yeahthemes-rita/images/bg/bg.png”

  • #9028

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #9032

    shalomanov
    Member
    Post count: 47

    Hello
    2 more questions:

    What is the sense to make $heading = ‘h3’ after conditional statement?

    
    $heading = is_home() ? 'h1' : 'h3';
    $heading = 'h3';
    

    Do you know that this doesn’t work if front page displays a static page?

    
    $site_title = is_home() ? sprintf( '<h1 class="hidden">%s</h1>', get_bloginfo( 'name', 'display' ) ) : '';
    

    You better use

    
    $site_title = (is_home() || is_front_page()) ?...
    
    • This reply was modified 1 year, 7 months ago by  shalomanov.
    • This reply was modified 1 year, 7 months ago by  shalomanov.
  • #9034

    shalomanov
    Member
    Post count: 47

    sorry, $site_title = is_front_page() ?... is enough

  • #9052

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #9054

    shalomanov
    Member
    Post count: 47

    Jacob, is_front_page() works both custom home page and default blog style. So plz change it in future theme releases. And remove $heading = is_home() ? 'h1' : 'h3'. It’s useless.

  • #9116

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!