Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • if this is only for presentation purposes how about resizing it through javascript? have you looked into that? or is this constant image dimensions a requirement for some other function and php cropping it is the only way?

    First, the Chameleon theme you are referring to is the “ElegantThemes Chameleon” correct? – https://www.elegantthemes.com/gallery/chameleon/

    What you mentioned above is the styles for the slider which is only used for display. What you would want to do is to include the “featured.php” found in “TEMPLATE_DIRECTORY/includes/featured.php”.. If you want it to show on your post loop, single post, and pages, go open index.php, page.php, and single.php and include this code:

    <?php include(TEMPLATEPATH . ‘/includes/featured.php’); ?>

    between the line that gets the header and includes the “breadcrumbs.php” (somewhere in line 2 to line 8)..

    <?php get_header(); ?>

    <?php include(TEMPLATEPATH . ‘/includes/featured.php’); ?> //to include

    <?php include(TEMPLATEPATH . ‘/includes/breadcrumbs.php’); ?>

    This will call the featured slider and display it on your post loop, single post, and pages..

    -Raby

Viewing 2 replies - 16 through 17 (of 17 total)