child theme check

Homepage Forums Pro Support Forum Wortex Pro Wortex Pro Support child theme check

child theme check

This topic contains 2 replies, has 2 voices, and was last updated by  Koen 8 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20377
    child theme check

    Koen
    Participant

    Dear Mathieu,

    Can you please check a child theme I made earlier for Wortex?
    When I use it on a demo site the screen goes blank and nothing works. Must have done something very wrong. Main reason I want to use this child is to have the buttons etc translated in dutch. I attach it zipped.

    Hope you’re fine,

    best regards from Amsterdam,
    Koen

    Attachments:
    You must be logged in to view attached files.
    #20379
    Reply to: child theme check

    iceable
    Keymaster
    Support
    Happy with my help?
    Buy me a beer!

    Hi Koen,

    It looks like a simple encoding issue in the second function of your functions.php file. Quote symbols have somehow been converted to HTML entities ( &#039 ; instead of ‘ )
    It looks like this right now:

    function wortex_change_portfolio_thumbnails(){
    	add_image_size( 'portfolio-thumb', 400, 566, true );
    }
    add_action('after_setup_theme', 'wortex_change_portfolio_thumbnails');

    I’m also not 100% sure this function will work correctly by the way. Since the ‘portfolio-thumb’ image size is already defined I’m not sure you can just override it this way.
    It may not be necessary, but I would remove it first just to be sure, like so:

    function wortex_change_portfolio_thumbnails(){
    	remove_image_size( 'portfolio-thumb' );
    	add_image_size( 'portfolio-thumb', 400, 566, true );
    }
    add_action('after_setup_theme', 'wortex_change_portfolio_thumbnails');

    Also there is one extra closing curly bracket ( } ) at the end of this file, which needs to be removed.

    #20380
    Reply to: child theme check

    Koen
    Participant

    OK that’s better. I really have to get into the coding.
    Have a nice day!

    best regards, Koen

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

The topic ‘child theme check’ is closed to new replies.


PayPal Verified
Secured by PayPal
Secure Credit Card payments powered by Stripe
SiteLock