Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Grab the code from line 1-28, and paste it in the functions.php inside your active theme folder.

    Copy the code from the usage section,and also place it in the functions.php. Replace ‘my_textinput’ with ‘terms’.

    Just below the terms code add this code to make the description text show up in the template as well.

    $listing_template .= "\t\t\t" . '<% if ( description ) { %>' . "\r\n";
    $listing_template .= "\t\t\t" . '<%= description %>' . "\r\n";
    $listing_template .= "\t\t\t" . '<% } %>' . "\r\n";

    Flush the transient cache on the WPSL settings page ( tools section ).

    Also add this code to the functions.php to make sure the description text is included.

    add_filter( 'wpsl_include_post_content', '__return_true' );
    Thread Starter angeladesign

    (@angeladesign)

    Perfect Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display Catagories in store listings'’ is closed to new replies.