• Hi. I’m using the Jkreativ Lite theme which I really like, however I’m having an issue with the ‘featured image’. I’ve been looking through the support forum and have found that many other ppl have had the same problem and that adding something to the php will fix it. However, I’m a php novice and haven’t a clue where to add it in in the context of the code! Can someone please let me know?

    This is the suggested fix:

    I’ve found that adding the following line to the functions.php helps:
    add_theme_support( ‘post-thumbnails’ );
    This enables a post thumbnail option when you’re writing a new post.

    This is the code in the Jkreativ Lite: Theme Functions (functions.php) doc:

    <?php

    /**
    * Load
    */

    require_once locate_template(‘/lib/init.php’); // initialize
    require_once locate_template(‘/lib/themes-functionality.php’); // additional themes functionality
    require_once locate_template(‘/lib/init-menu.php’); // initialize menu
    require_once locate_template(‘/lib/newadmin.php’); // new admin
    require_once locate_template(‘/lib/scriptstyle.php’); // loading style & script

    /*
    * EOF
    */

    At what point do I add the fix in?? Urgh, need a dummie’s guide, I’m afraid!!
    B

Viewing 1 replies (of 1 total)
  • Thread Starter BBakes

    (@bbakes)

    Fixed it!

    Apperance > Editor > Theme functions (functions.php) > add add_theme_support( ‘post-thumbnails’ ); to the code as I have below > Update code > Refresh.

    It’ll add the featured image ability into your next post!

    <?php

    /**
    * Load
    */

    require_once locate_template(‘/lib/init.php’); // initialize
    require_once locate_template(‘/lib/themes-functionality.php’); // additional themes functionality
    require_once locate_template(‘/lib/init-menu.php’); // initialize menu
    require_once locate_template(‘/lib/newadmin.php’); // new admin
    require_once locate_template(‘/lib/scriptstyle.php’); // loading style & script
    add_theme_support( ‘post-thumbnails’ );
    /*
    * EOF
    */

Viewing 1 replies (of 1 total)
  • The topic ‘Jkreativ Lite: Featured image –functions.php– Please help’ is closed to new replies.