SHORTCODE DOESN'T WORK

Forums › Forums › Search & Filter Pro › SHORTCODE DOESN'T WORK

Viewing 10 posts – 1 through 10 (of 12 total)
  • Anonymous
    #35640

    Hi – I just downloaded the Pro version. I built three new taxonomies using the WCK plugin, then created a Search&Filter Pro search form and pasted the form’s shortcode [searchandfilter id=”182″] into a post, but nothing appears in the preview. I also selected the form as a widget in the sidebar for posts. Again, nothing appeared (except the title). Any idea what I’m doing wrong? TIA.

    Ross Moderator
    #35647

    Hmmm not sure it should show up.

    Can you enable WP_DEBUG and tell me if there are any errors?

    Thanks

    Anonymous
    #35703

    It’s OK, I think I fixed it. Thanks.

    Anonymous
    #35705

    One other thing. The sidebar content is appearing half way down the page, not at the top. Are there any controls over positioning that don’t require getting into the code?

    Ross Moderator
    #35709

    Hi David

    What was the issue? I’ve had another user report an issue like this so that info might help.

    RE layout, not sure, do you have link?

    Thanks

    Anonymous
    #35738

    Here’s the link showing the search menu appearing half way down the sidebar:

    http://www.relational-analytics.com/case-study-search/

    You asked about the invisible search – turns out I’d not actually created the search form because I hadn’t dragged the right sections into place on the form builder. Duh.

    Ross Moderator
    #35739

    Ah ok!

    I just had a look.

    The positioning thing cannot be altered by S&F.

    The heading “SELECT”, is part of the widget area of your theme, something completely out of control of S&F.

    Therefor you need to modify your theme to get this to display differently.

    I’m guessing any widget you place there, with a heading, will also appear half way down the page.

    Thanks

    Anonymous
    #35805

    I’m trying to get the shortcode to work in a column. I notice other people have had similar issues with other shortcode, and one diagnosis is shown below. Is there an easy way to fix or workaround this? TIA

    Column shortcode doesn’t seem to process the content through the do_shortcode function after processing it with its own changes. I added a single line to the plugin file, and it worked.

    Look for this in columns.php:

    $content = str_replace( ‘class=”column column-number-‘ . $count, ‘class=”column column-number-‘ . $count . ‘ last’, $content );

    and add the following directly after:

    $content = do_shortcode( $content );

    Anonymous
    #35880

    OK, this one has floored me completely.

    I created a S&F form, set it to shortcode, created a results page, and it all worked fine. The form could be loaded in the page edits and used on the front end.

    Then I had to change the form, so I created a new one and deleted the old one (and emptied the bin) and deployed the new form to the S&R widget, replacing the previous one.

    The new form shows up fine on the front end of the page – all the categories are there and the submit button returns a search. But when I try to edit a page that previously had the old form on, or create a new page, the old form is still there. So I can’t fill the new form with values.

    I’ve tried opening everything in a different browser, so it’s not a caching issue.

    Any idea what’s going on, and how I can fix it?

    Ross Moderator
    #36026

    So what you are saying is, a search form that has been completely deleted is still loading somehow?

    Sounds very odd indeed, in fact, impossible :/

Viewing 10 posts – 1 through 10 (of 12 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.