New Landing How can we help? Cardinal Portfolio "Related Projects" thumbnails ratio

Viewing 10 posts - 16 through 25 (of 25 total)
  • Posted in: Cardinal
  • #321295
    WineDesignNL
    Member
    Post count: 204

    Hi David,

    All of the three images are 1000px – 1000px. So should be sufficient?

    Cheers – Wouter

    #321580
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Wouter,

    Using your FTP details, I can see you have not added the above code to your child theme functions.php file.

    This is the path I am looking in:

    #321584
    WineDesignNL
    Member
    Post count: 204

    Hi David,

    It isn’t there (anymore), because it does this to my site 😮

    Cheers – Wouter

    Attachments:
    You must be logged in to view attached files.
    #321591
    David Martin – Support
    Moderator
    Post count: 20834

    That means you have not copied into the file correctly. Please include details like this in your initial post.

    Are you copying from the Raw code?

    #321592
    WineDesignNL
    Member
    Post count: 204

    Hi David,

    I added this:

    DM Edit: code removed, correct code below:

    The link to pastie.org doens’t work anymore…

    #321869
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Apologies for the delay. The above code is not correct. I’ll remove that to avoid confusion.

    Here is the correct code for you: https://gist.github.com/webadelic/24ddb630d2fb003c275673f0aadd2f3a

    #321873
    WineDesignNL
    Member
    Post count: 204

    Hi David,

    No problem, always happy with your support, it happens… And this happens when I paste your code.

    Parse error: syntax error, unexpected ‘}’ in /home/wouterkabouter/public_html/wp-content/themes/cardinal-child/functions.php on line 189

    #321875
    David Martin – Support
    Moderator
    Post count: 20834

    I have copied it in for you and it works, I’d suspect you had copied the PHP function between another, hence the error.

    #321876
    WineDesignNL
    Member
    Post count: 204

    Magic fingers as always! Thanks David.

    Cheers – Wouter

    #321882
    David Martin – Support
    Moderator
    Post count: 20834

    Very glad to help you!

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in to reply to this topic.