Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • 2 – How to create an FEU view

    – Next, we need to instruct the plugin to use the new “view” template. Add the following code to the functions.php file of your current theme:

    add_filter(‘feu_settings’, ‘set_custom_feu_views_directory’);
    function set_custom_feu_views_directory($settings) {
    //$settings[‘views_directory’] = get_theme_root().’/’.get_template().’/views/’;
    $settings[‘views_directory’] = ‘/home/public_html/your-website/wp-content/themes/your-current-theme/views/’;
    return $settings;
    }

    – For some reason, the third line of the above code didn’t work for me so I commented it out (the two forward slashes) and replaced it with the fourth line.

    thank you for the great plugin.

    TEMPLATEPATH just works fine.
    $settings[‘views_directory’] = TEMPLATEPATH.’/views/’;

    you should check single quote and double quote in (google it)

    return '<li><a href="#"><img src="<?php bloginfo('template_directory'); ?>thumb/thumb.php?src='+slide.src+'&h=50&w=50&zc=1" /></a></li>';

    '<li><a href="#"><img src="<?php bloginfo(' => mean close this string

Viewing 2 replies - 1 through 2 (of 2 total)