Laura Kohan

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Theme Options lost when creating a child theme #5286
    Laura KohanLaura Kohan
    Member
    • Topics: 2
    • Replies: 5
    • Total: 7
    Member since: December 28, 2014

    Hi, it wasn’t a problem, per se, is the way things are saved into the database.

    When I am one Pro is activated, two rows are created in the options table: optionsframework_iamonepro (all theme cstomizations like logo, favicon, I am one Pro sections) and theme_mods_iamonepro (menus already asigned, widgets etc).

    All the settings for the theme go there.

    When creating a child theme and activating it, wordpress creates two new row for the theme which are clean optionsframework_childthemename and theme_mods_childthemename.

    What I did was to activate the child theme so that these two rows were created, then disabled the child theme again (wasn’t sure if I would modify them while it was active), copied the values from the rows for I am one pro and used them to do an update on my child theme option rows, then I reactivated the Child Theme and everything that had already been set up on the parent them was there on my child theme 🙂

    Apparently there  is another way, you can customize the name of those two variables in functions.php so that the child theme uses the same options name as the parent theme instead of creating new ones, that way if you switch between the parent and child theme all the options are retains because it is really using the same options. But I went the other way and it worked.

    Hope this helps

     

     

     

    in reply to: Theme Options lost when creating a child theme #5272
    Laura KohanLaura Kohan
    Member
    • Topics: 2
    • Replies: 5
    • Total: 7
    Member since: December 28, 2014

    It’s already fixed.

    in reply to: Increase width sidebar #4648
    Laura KohanLaura Kohan
    Member
    • Topics: 2
    • Replies: 5
    • Total: 7
    Member since: December 28, 2014

    Thanks for your tip. I was looking in the wrong place (just because my wordpress is in spanish and ir’s writen different).  It worked! 🙂  It’s a shame is not possible to remove the blanks spaces in each side (to have more space). Thanks again!

    in reply to: Increase width sidebar #4575
    Laura KohanLaura Kohan
    Member
    • Topics: 2
    • Replies: 5
    • Total: 7
    Member since: December 28, 2014

    Sorry there is not such an option either in THEME OPTIONS nor in style.css…

    Cannot find anywhere the value: width

    Regards,

    Laura

    in reply to: Icons #3143
    Laura KohanLaura Kohan
    Member
    • Topics: 2
    • Replies: 5
    • Total: 7
    Member since: December 28, 2014

    Hello!

    I want to change the icons in “welcome-box” but the links Im pasting are not working. What is the correct format I have to use? Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)