• Resolved justravis

    (@justravis)


    WPSL 2.2.6

    1. What a great plugin!!!

    2. If I entered a description in the store’s text editor, how do I add it to the store listing?
    Would you recommend an action or filter to hook into?

    THANKS!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Also interesting in the solution to this one.

    Thread Starter justravis

    (@justravis)

    Tijmen was nice enough to help me through email.

    This is how you display description text that does NOT include shortcodes:

    There are two ways to make it show up.

    1 ) Enable the “Show a more info link” on the settings page. If you also have set a phone or email for the location, then the description text will show up in the more info box.

    2) Add this code to the functions.php

    add_filter( ‘wpsl_include_post_content’, ‘__return_true’ );

    Then use this filter to add the content to the template. If you copy the code from the usage section and replace ‘my_textinput’ with ‘description’, then it should show up.

    Do make sure to flush the WPSL transient cache on the WPSL settings page ( tools section ).

    • This reply was modified 8 years, 2 months ago by justravis.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Contents Of Text Editor To Store Listings?’ is closed to new replies.