Forum Replies Created

Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
  • in reply to: change layout of homepage post articles #169098
     sheltonjb
    Participant

    Hi Radu,

    Thanks for the reply, i was after where the actual code for those blocks are, i’d like to make them more SEO friendly, and tidy it up a bit 🙂

    Thanks

    p.s. any thoughts on the search block?

    in reply to: change layout of homepage post articles #168638
     sheltonjb
    Participant

    i forgot to ask something else, is there an option to replace the search with google search?

    thanks

    in reply to: forgotten password link #158260
     sheltonjb
    Participant

    Hey again,

    no I spotted that part, was meaning the one in the right hand column, doesn’t have one with it, so can a link be added to it?

    thanks

    in reply to: ‘Featured’ tag #158258
     sheltonjb
    Participant

    Ah yeh, i see what you mean. i thoght they did something ‘out of the box’ and mine werent doing it.

    that makes sense, thanks again Laura

    in reply to: search results only shows 2 results #158255
     sheltonjb
    Participant

    That’s the one Laura, you little legend!

    wouldn’t have expected it to be in there

    thanks 😉

    in reply to: k-elements error #158165
     sheltonjb
    Participant

    thanks dude

    in reply to: k-elements error #158163
     sheltonjb
    Participant

    hi, i realise this isnt the right place to post, but i cant post a question! i never see any buttons to add a question, only reply boxes… is my account restricted?

    i have a few support questions to ask

    thanks

    in reply to: remove floating email icon #158157
     sheltonjb
    Participant

    it’s because the function that it references is removed from the header. (see attached)

    so is it safe to remove them from vc_column and vc_column_inner as mentioned above? how come we don’t need the widths in there anymore?

    Attachments:
    You must be logged in to view attached files.
    in reply to: remove floating email icon #158154
     sheltonjb
    Participant

    hi Radu,

    When i just replace the code you supplied, i get the errors attached.

    it complains in both vc_column.php and vc_column_inner.php

    looks like it’s failing because of this:$width = kleo_translateColumnWidth( $width ); when i remove that from both the files it works fine. the question is, does it require those? or will it crash something?

    thanks

    Attachments:
    You must be logged in to view attached files.
    in reply to: remove floating email icon #157737
     sheltonjb
    Participant

    Hi, i’m not a php dev. I’m a frontend dev. So not fully understanding where its broken.

    I did this and it complains about a function looking for the vc column stuff so i had ro put it back in. Or do you recommend i remove the function thats asking for it?

    Cheers

    in reply to: remove floating email icon #157598
     sheltonjb
    Participant

    So how do i fix it? The updated code for vc broke everyrhing. It was asking after things that werent there thats why i had to add it back in

    in reply to: remove floating email icon #157597
     sheltonjb
    Participant

    Custom modification? Where?

    I did what you said and it broke everything!

    in reply to: remove floating email icon #157365
     sheltonjb
    Participant

    it was asking for this:

    /**
    * Translate column proportions to classes
    *
    * @param string $width
    *
    * @return string
    */
    function kleo_translateColumnWidth( $width ) {
    if ( preg_match( ‘/^(\d{1,2})\/12$/’, $width, $match ) ) {
    $w = ‘vc_col-sm-‘ . $match[1];
    } else {
    $w = ‘vc_col-sm-‘;
    switch ( $width ) {
    case “1/6” :
    $w .= ‘2’;
    break;
    case “1/4” :
    $w .= ‘3’;
    break;
    case “1/3” :
    $w .= ‘4’;
    break;
    case “1/2” :
    $w .= ‘6’;
    break;
    case “2/3” :
    $w .= ‘8’;
    break;
    case “3/4” :
    $w .= ‘9’;
    break;
    case “5/6” :
    $w .= ’10’;
    break;
    case “1/1” :
    $w .= ’12’;
    break;
    /* custom 5 columns */
    case “1/5” :
    $w = ‘col-sm-1-5’;
    break;

    default :
    $w = $width;
    }
    }

    return $w;
    }

    so i’ve put it back in, until you can update me. or should i just remove the reference to it in vc_column.php ??

    in reply to: remove floating email icon #157364
     sheltonjb
    Participant

    ah maybe not.

    i now have:

    Fatal error: Call to undefined function kleo_translateColumnWidth() in /home/*/*/wp-content/themes/kleo/vc_templates/vc_column.php on line 27

    on my homepage

    in reply to: remove floating email icon #157363
     sheltonjb
    Participant

    I figured it out Radu, it was the ‘&&’ it was only doing one & then the ascii code for the second one

    so they should be &&, right?

    OK that’s all working now, so as it’s in ‘kleo-child’ that means it wont get touched by updates is that right?

    in reply to: remove floating email icon #157362
     sheltonjb
    Participant

    hmm, it’s stripped some of the code out.

    looks like it doesn’t like the hash tags, seems to be commenting everything out after it. What are they for? is it for character symbols?

    in reply to: remove floating email icon #157361
     sheltonjb
    Participant

    infact it’s complaining about 3 areas:

    line 58
    if (!$show_breadcrumb && $extra == ”) {
    $class .= ‘ title-single’;
    }

    line 63
    $title_layout = sq_option(‘title_layout’, ‘normal’);
    if (is_singular() && get_cfield(‘title_layout’) && get_cfield(‘title_layout’) != ”) {
    $title_layout = get_cfield(‘title_layout’);
    }

    and line 80, which is just an ending curly bracket
    }

    in reply to: remove floating email icon #157360
     sheltonjb
    Participant

    Thanks Radu, but you’ve killed my site, i now have an error on line 58 within child fucntions.php

    while you’re here, what is ‘featured’ tag supposed to do? i don’t notice that it does anything….?

    thanks

    in reply to: remove floating email icon #156808
     sheltonjb
    Participant

    i meant: “backend development IS beyond me!”

    duh

    in reply to: remove floating email icon #156807
     sheltonjb
    Participant

    Yeh I can see it’s php 🙂 i’m a senior frontend developer at a large company, but backend development isnt beyond me! i found it in theme-functions, i wanted to wrap the h1 and breadcrumb in a div and then run an ad alongside them in the grey space rather than the provided space above. got it now, cookin on gas 🙂

    thanks

    in reply to: remove floating email icon #156636
     sheltonjb
    Participant

    i found that thanks Laura, though can you tell me where the h1 and breadcrumb html is please? i want to wrap them in a div and do something with them..

    thanks

    in reply to: remove floating email icon #156096
     sheltonjb
    Participant

    Laura you legend! i found it, so simple but there’s soooo much stuff i can never find anything!

    OK i got the video thing pulling through (so it shows a thumbnail at the top of the pinterest style post on homepage) but i noticed another issue, when you click the post and go through to the page it displays 2 of the embedded videos!? know anything about that?

    Videos are my main focus so need to get it right

    thanks again

    Shelton

    Attachments:
    You must be logged in to view attached files.
    in reply to: remove floating email icon #155984
     sheltonjb
    Participant

    hi laura, i’m trying to find where to submit questions, it’s hard to find a way to get support. i have no idea how i manged to ask this one previously!

    I wanted to ask about how videos are displayed on the homepage, i cant seem to make them appear like the images do (within the top of the individual post containers)

    also is there a way to remove the portoflio stuff as it’s not needed..

    thanks

    SHelton

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

Log in with your credentials

Forgot your details?