Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • in reply to: STEPS TO UPDATE KLEO THEME AND PLUGINS #46477
     morethanthesky
    Participant

    I found what it was. Had themes as a symbolic link to another WP site’s themes folder on the same server. Theoretically, it should have seen it as if it was the same directory, but when I made it a real directory, it worked. ln -s /path/to/other/wordpress/themes ./themes is what I had.

    The themes activated like normal, but were buggy.

    in reply to: STEPS TO UPDATE KLEO THEME AND PLUGINS #45922
     morethanthesky
    Participant

    I’m getting the warnings:

    Settings have changed, you should save them!
    error(s) were found!
    warning(s) were found!

    I don’t see a warning next to any of the options and the Theme section is not tabbed and the on/off switches aren’t buttons. I’d installed this theme into another site and it worked perfectly. When I installed it into a second site, this is when I have issues. The public facing side of the site looks fine, it’s just the theme options admin side that’s messed up.

    in reply to: Breadcrumbs -> add root site before 'home' #43665
     morethanthesky
    Participant

    Ok I figured it out. Was passing ‘true’ instead of true. Took away the quotes and it worked. Knew it would be something small.

    Thank you again for your help today!

    in reply to: Breadcrumbs -> add root site before 'home' #43663
     morethanthesky
    Participant

    Per this page, it should work as is, no? But it doesn’t work on my site, so I’m clearly missing something

    http://codex.wordpress.org/Function_Reference/wp_parse_args

    in reply to: Breadcrumbs -> add root site before 'home' #43662
     morethanthesky
    Participant

    Oh my gosh I love you, you’re awesome.

    I do have a question though. The syntax has changed a little since that page you’ve referred me to. It’s now this:

    $this->args = apply_filters(‘breadcrumb_trail_args’, wp_parse_args($args, $defaults));

    How would I edit this in my functions.php to reflect the new syntax?

    function wpse_104094_breadcrumb_trail_args( $args ) {
    $args[‘network’] = ‘true’;
    return $args;
    }

    add_filter( ‘breadcrumb_trail_args’, ‘wpse_104094_breadcrumb_trail_args’ );

    in reply to: Breadcrumbs -> add root site before 'home' #43649
     morethanthesky
    Participant

    So I’ve found in kleo-framework/lib/function-breadcrumb.php the $defaults array in which there is a ‘network’ switch, which is what I was looking for. It’s set to ‘false’ by default, but when I set it to ‘true’, it adds the network home, but I don’t see in the front end where I can set this flag? Don’t want to edit the core files since an upgrade will wipe the changes, but I don’t see in the admin options where to tell the breadcrumbs to be for a network.

    Thanks!

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

Log in with your credentials

Forgot your details?