Sparkle Options Not Saving – "Error"

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

Status: not resolved
  • This topic has 13 replies, 4 voices, and was last updated 5 y, 6 mo by  Jacob.
Viewing 13 reply threads
  • Author
    Posts
    • #8215

      cta
      Member

      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

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

      Login | Register | Forgot Password?

    • #8933

      shalomanov
      Member

      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

      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

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

      Login | Register | Forgot Password?

    • #8995

      shalomanov
      Member

      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 5 y, 6 mo by  shalomanov.
      • This reply was modified 5 y, 6 mo by  shalomanov.
    • #8997

      shalomanov
      Member

      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

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

    • #9028

      Jacob
      Staff

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

      Login | Register | Forgot Password?

    • #9032

      shalomanov
      Member

      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 5 y, 6 mo by  shalomanov.
      • This reply was modified 5 y, 6 mo by  shalomanov.
    • #9034

      shalomanov
      Member

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

    • #9052

      Jacob
      Staff

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

      Login | Register | Forgot Password?

    • #9054

      shalomanov
      Member

      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

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

      Login | Register | Forgot Password?

Viewing 13 reply threads
  • You must be logged in to reply to this topic.

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

© Copyright 2020 by wpthms.com. All Rights Reserved.